ORder management extensions to compare order payment terms with customer site payment terms
By default order management uses the sites payment terms when creating an order in the UI, however if the order was created before a change hapens in the sites payment terms the order doesnt update the status. We need to create a validation between the order payment terms and the customer site payment terms. We are able to easily identify the order payment terms (String orderpayment = header.getAttribute("PaymentTerm");) but we dont know how to pull the account site payment terms.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):