We can use the below personalization to make the Payment Terms field as mandatory.
Please use the following steps in TEST before production:
Responsibility: Receivables, Vision Operations (USA)
Navigation: Transactions > Transactions
Go To: Help > Diagnostics > Custom Code > Personalize
1. Create a function with the following values:
Seq: 1
Description: Payment Term Name Mandatory
Level: Function
a. Under 'Condition' Tab
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: TGW_HEADER.CT_REFERENCE_MIR
Condition: Processing Mode = Not in Enter Query Mode
b. Under 'Actions' Tab add the following sequences:
Seq: 1
Type: Property
Object Type: Item
Target Object: TGW_HEADER.RAT_TERM_NAME_MIR
Property Value: REQUIRED
Value: TRUE
2. Create another function with the following values:
Seq: 2
Description: Payment Term Name Mandatory 1
Level: Function
a. Under 'Condition' Tab
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
Condition: Processing Mode = Not in Enter Query Mode
b. Under 'Actions' Tab add the following sequences:
Seq: 1
Type: Property
Object Type: Item
Target Object: TGW_HEADER.RAT_TERM_NAME_MIR
Property Value: REQUIRED
Value: TRUE
3. Save the changes.
4. Close all the forms.
5. Open Transactions > Transactions
6. Test the scenario.
7. Perform in other environments with business need.
Please use the following steps in TEST before production:
Responsibility: Receivables, Vision Operations (USA)
Navigation: Transactions > Transactions
Go To: Help > Diagnostics > Custom Code > Personalize
1. Create a function with the following values:
Seq: 1
Description: Payment Term Name Mandatory
Level: Function
a. Under 'Condition' Tab
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: TGW_HEADER.CT_REFERENCE_MIR
Condition: Processing Mode = Not in Enter Query Mode
b. Under 'Actions' Tab add the following sequences:
Seq: 1
Type: Property
Object Type: Item
Target Object: TGW_HEADER.RAT_TERM_NAME_MIR
Property Value: REQUIRED
Value: TRUE
2. Create another function with the following values:
Seq: 2
Description: Payment Term Name Mandatory 1
Level: Function
a. Under 'Condition' Tab
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
Condition: Processing Mode = Not in Enter Query Mode
b. Under 'Actions' Tab add the following sequences:
Seq: 1
Type: Property
Object Type: Item
Target Object: TGW_HEADER.RAT_TERM_NAME_MIR
Property Value: REQUIRED
Value: TRUE
3. Save the changes.
4. Close all the forms.
5. Open Transactions > Transactions
6. Test the scenario.
7. Perform in other environments with business need.
No comments:
Post a Comment