我在 NetSuite 中创建了一个保存的搜索,其中显示了两个单独的案例语句。
1- {transaction.type} = 'Item Receipt' and {transaction.account} = '5505 Cost of Goods Sold : Product Cost' 或 {transaction.type} = 'Item Fulfillment' and {transaction.account} = ' 5505 已售商品成本:产品成本'然后 {transaction.amount} else null end
2- 当 {transaction.type} = 'Invoice' 或 {transaction.type} = 'Cash Sale' 或 {transaction.type} = 'Cash Refund' 或 {transaction.type} = 'Credit Memo' 然后 {transaction.金额}否则为空结束
现在我需要添加第三列,在其中我可以通过在 case case 语句 1 和 2 之间划分结果值来显示 %。任何建议这怎么可能?谢谢!