阅读背景:

如果记录存在相似的唯一键,则显示Sum else Show Record值

来源:互联网 

I have a table of Invoice with different Invoices. Each Invoice has a unique Invoice Number and an amount value. Invoices are of two type. One is of Invoice Type, and the other is of Settled type. If there's a invoice created, the entry in the table will be of invoice type, the amount will be in positive. If the user paid that invoice, another entry with the same invoice number will be entered in the table but with the negative amount because the user has paid that amount.I have a table of Invoice with different Invoic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: