I do have 2 fields Order value and Amount received. If Order Value is 5000 and Amount Received 5000, then i need to update 'type' as Full Settlement. This type is Enum field. But this formula is not effecting. How can i achieve this?
ifThenElse(
orderValue == amountReceived,
entity\setAttribute('type', 'Full Settlement'),
entity\setAttribute('type', 'advance')
);
ifThenElse(
orderValue == amountReceived,
entity\setAttribute('type', 'Full Settlement'),
entity\setAttribute('type', 'advance')
);
Comment