Business Scenario:
To make the payment terms field in invoice screen as non editable. We have done that and it is working fine. But this is working only for Standard invoices and not for other invoice types as CM , DM , PO , Prepayment , Expense Report etc.
Solution:
Under Condition tab
Trigger Event-> WHEN-NEW-ITEM-INSTANCE
Trigger Object-> INV_SUM_FOLDER.TERMS_NAME
Under Actions tab
Property Name-> ENABLED (APPLICATIONS COVER)
Value->FALSE
If you want to make only for CM(credit Memo)DM(,Debit Memo)
Insert the following code in the Condition:
:INV_SUM_FOLDER.INVOICE_TYPE not in ('Debit Memo', 'Credit Memo')