Luis
05/07/2023, 7:04 AMMarc
05/07/2023, 9:43 AMMarc
05/07/2023, 9:53 AMLuis
05/07/2023, 10:31 AMscottvonduhn
05/08/2023, 1:41 PM{type}
• {fxamount}
• {fxamountremaining}
• CASE WHEN {type} = 'Invoice' THEN {fxamount} ELSE {fxamountremaining} END
• CASE WHEN {type} = 'Sales Order' THEN MAX({custbody_test}/{exchangerate})-SUM(NVL(CASE WHEN {applyingtransaction.type} = 'Customer Deposit' THEN {applyingtransaction.fxamount} ELSE 0 END,0)) ELSE 99999999 END