How to determine PO line Destination Type on the Receive Expected Shipments page?
On the Receive Expected Shipments overview page, we need to determine the PO line Destination Type (Inventory/ Expense/ Manufacturing). This is required to enable a page customization based on these values.
We want to make the Country of Origin field on the receiving screen mandatory for PO Destination Type = Inventory and optional for Expense and Manufacturing.
The 'Enable Country of Origin tracking for inventory' flag is disabled on the Item Organization parameters.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
We are using the below code to make the Country of Origin field conditionally mandatory on the Receive Expected Shipments (Overview) page . This condition is applied on Required attribute in page customization.