Document Extraction (Update Standard Rule)

The Update standard rule document extraction function is used to load values into the Sender ID, Application Sender ID, Receiver ID, Application Receiver ID, and Accepter Lookup Alias field values in the Document Extraction table, so that the Document Extraction service can put these values in process data, along with an associated output document. The Document Extraction service is used to split individual documents out of a batch file to make each one a separate document. This service relies on:

  • One or more translation maps to perform the extraction of each separate document, using:
    • Extended rule string comparisons
    • The readblock and writeblock extended rules

      to find the start of a single document and write out the blocks of data as the separate document until the end of the document is found)

  • An Update standard rule to set Sender ID, Application Sender ID, Receiver ID, Application Receiver ID, and Accepter Lookup Alias values from that document.
    Note: An option is available in the Document Extraction service to batch together similar documents during the extraction process. If this option is specified, all the extracted documents that have the same Sender ID, Receiver ID, and Accepter Lookup Alias are batched into a single document.

The first step in using the Document Extraction service is creating a translation map to define how a single document looks and where the translator will find the Sender ID, Application Sender ID, Receiver ID, Application Receiver ID, and Accepter Lookup Alias values. Defining how a document looks is defining where a document starts and ends, or where the next document begins; you define how a document looks with readblock and writeblock extended rules. See readblock and writeblock for more information about these extended rules.

Then, if you are using an EDI or Positional map format, you can use the Update standard rule Document Extraction function to set the Sender ID, Application Sender ID, Receiver ID, Application Receiver ID, Accepter Lookup Alias, Receiver ID Qualifier (which supports qualifier lookups for EDI), and Sender ID Qualifier (which also supports qualifier lookups for EDI) values for each document. The Update standard rule updates the Document Extraction table with this information. You can also use the Document Extraction function to set the EDI Standard value (expected values are X12, EDIFACT, TRADACOMS, and CII).

The following list describes the fields on the Standard Rule tab with the Update standard rule selected and Document Extraction selected from the Table (or group) list:

Field
Description
Table (or group)
Specifies the Document Extraction function.
Column (or field)
Column (or field) that Sterling B2B Integratorupdates with the contents of the current field. Valid values are SenderID, ReceiverID, AccepterLookupAlias, EDIStandard, ReceiverIdQualifier, SenderIdQualifier, AppSenderID, and AppReceiverID.
Note: The AccepterLookupAlias value will not permit these special characters in the field: ! @ # % ^ * ( ) + ? , < > { } [ ] | ; " '