Use the Identify CSOS purchase orders page to configure how Axway CSOS identifies and handles EDI X12 850 documents or XML purchase order documents.
application/x-csos-signed-order
is included in inbound message headers. This triggers Activator to validate and unpack the inbound messages as CSOS documents, and using the Order sources tab is unnecessary. On the other hand, if you send CSOS orders, you can use the Order sources tab to specify a particular integration exchange for picking up documents identified on the Order identification tab.If you send or receive CSOS orders, you must configure EDI X12 850 documents or XML purchase order documents as valid CSOS documents.
Note | Performing this configuration requires some familiarity with XML Path Language (XPath). Before you begin, ensure you have a sample 850 document in your file system that is structurally identical to the actual documents to be processed. Review the sample for the data to parse so that you are prepared to enter this information. You can either enter the XPath segments directly, or use a wizard to temporarily transform your sample EDI document to XML and select each segment. The wizard cannot verify whether a document is an 850 or another transaction type, so be sure to use a properly formatted 850. |
/envelope/functionalgroup/transactionset[@code='855']/table/loop[@code='N1']/segment[@code='N1' and element[@code='98' and value='ST']]/element[@code='67']/value
/envelope/functionalgroup/transactionset[@code='855']/table/loop[@code='N1']/segment[@code='N1' and element[@code='98' and value='ST']]/element[@code='67']/value
/envelope/functionalgroup/transactionset[@code="855"]/table/segment[@code="REF"]/element[@code="127"]/value
Note | Performing this configuration requires some familiarity with XML Path Language (XPath). Before you begin, ensure you have a sample XML document in your file system that is structurally identical to the actual documents to be processed. Review the sample for the data to parse so that you are prepared to enter this information. You can either enter the XPath segments directly, or use a wizard to select each segment. |
The Order sources tab
Whether you should use the Order sources tab depends on your situation. For instance, if you receive CSOS orders via certain message protocols — AS1, AS2, Secure file, Secure e‑mail, ebXML — a content MIME type of application/x-csos-signed-order is included in inbound message headers. This triggers Activator to validate and unpack the inbound messages as CSOS documents, and using the Order sources tab is unnecessary. On the other hand, if you send CSOS orders, you can use the Order sources tab to specify a particular application pickup for picking up documents identified on the Order identification tab. For instance, you may want to specify one application pickup for CSOS EDI 850 documents if your company also sends non-CSOS EDI 850 documents.
To add an order source:
Purchase orders picked up from |
sent from |
sent to |
file system integration |
Your community |
Partner A |
file system integration |
Your community |
Any partner |
Trading transport for receiving messages from partners |
Partner A |
Your community |
Trading transport for receiving messages from partners |
Any partner |
Your community |
By default, Activator is configured to retain documents identified as CSOS orders for two years. This tab lets you identify documents such as invoices and shipment notices that must be retained along with the related CSOS orders. One use for this tab is to associate 855 purchase order acknowledgements. See Link EDI 855 PO Acknowledgement to 850 PO for more information.
This tab is similar to the Order identification tab. An important difference is that when you click Add an EDI document identifier, you can type an EDI document type number in the Identity XPath/Document number field rather than specify an XPath. This tells Activator that all EDI documents of that type are CSOS related.
When identifying related documents, specifying XPaths for a DEA Number and Order Number are optional. But doing so helps to link CSOS orders and related documents in Message Tracker.
The age of messages and database records to purge normally is set on a global purge configuration page in the user interface. CSOS orders and related documents have a minimum expiration of two years, regardless whether the global purge age is less than two years. If the global purge age is set to more than two years, CSOS orders and related documents are retained for the longer period.
For information about global purge configuration, see Data storage, backups, and purging.
If your community only sends signed orders but does not receive any, duplicate checking is not applicable and you can ignore this tab.
The target documents are the EDI or XML documents defined on the Order identification tab.
By default, the radio button for rejecting duplicate purchase orders is selected on the CSOS duplicate orders tab. When selected, Activator checks whether an order duplicates a previously received order in the following ways:
If all of these values are the same as those in a previously received order, the document is given a failed status. You can search for failed documents in Message Tracker.
If you also have configured Activator to check for duplicate EDI documents, checking for duplicate CSOS orders is performed in addition to the duplicate EDI checking.
Aside from choosing whether a community can allow or reject duplicates, you can set up exceptions to the selected behavior on a per-partner basis. Whether you choose to reject or allow duplicate orders, the choice applies to all orders received for the community, unless you define partner-specific exceptions.
Note that the CSOS duplicate order tabs can be found on two pages in the user interface. One location is the identify CSOS purchase orders page at CSOS > Configure CSOS. The other is the message validation rules page, which is opened by clicking Message validation on the navigation graphic at the top of a community summary page. To configure CSOS duplicate checking, you only need to use one of these pages.
To add a partner-specific exception to the selected behavior, click Add an exception for a partner. A wizard displays to help you locate and select the partner or partners you want to add. You can add multiple partners to the exception list at one time using the wizard. Activator applies the opposite of the selected behavior to any partners that display in the exception list.