Order origin code

Order origin codes are used to identify the origin of a sales order. These user-defined codes are set up in SA Table Code Value Setup. Order origin codes are assigned to orders automatically if they are created by one of these processes:

  • A background process, such as these:
    • An SX.api call
    • EDI
    • Storefront
    • Configure-Price-Quote
    • Storeroom
    • Excel import
    • Fulfillment order
  • When a Counter Sale (CS) order is created
  • When a Receive On Account transaction is created

If Require Order Origin Code is selected in SA Administrator Options-Documents-Sales Orders, an origin code is required for all sales orders. If you manually create a sales order, you can specify the origin code. If Yes is selected in the Allow Change of the Order Origin Code field on your operator record, you can override the default origin code value on a sales order.

You must use the Personalize feature to add the Origin Code field to the Initiate view in Sales Order Entry. When you enter a counter sale order manually, the default origin code does not automatically display in the field. The code is applied to the order later in the workflow.

If you maintain a sales order with an origin code, you can search for orders by Origin Code in the Sales Order Entry search function. The Sort Priority defined in SA Table Code Value Setup-Origin Code is honored when you click the Origin Code lookup.

You can also view order origin codes in Sales Order Inquiry.