Named Method |
"RefreshParent", "INVOKE", "LS Pharma Sample Transactions", "RefreshBusComp" |
Refresh parent business component. |
On Field Update Set |
"Requested Quantity", "Quanitiy", "IIF([Txn Type] = LookupValue('SAMPLE_TXN_TYPE','Disbursement') OR [Txn Type] = LookupValue('SAMPLE_TXN_TYPE','Return') OR [Txn Type] = LookupValue('SAMPLE_TXN_TYPE','Transfer Out') OR [Txn Type] = LookupValue('SAMPLE_TXN_TYPE','Loss'), [Requested Quantity] * -1,[Requested Quantity] )" |
Correct quantity value according to the transaction type. |