Standard Rule Tab - update Function

The update function enables you to update a specific field in a document record, envelope segment, interchange, group, current partner, or document (for maps, if the format type is EDI), with the contents of the element, field, or TFD.

Important: This function updates the internal Sterling Gentran:Server® database tables. We recommend that you use this function only if you want to update the internal database tables. Typically, you use this function only if you want to update the document name and reference in the document table.

You can select the table (group) to update and then select the column (field). The fields that are available depend on the table selected.

The following are the tables you can select to update with the contents of the current field/element/TFD:

Table Description
Document record (use to update the document name and reference)

This table can only be accessed from the following map types; Transaction Break/Build, Import, Export, Print, Screen, Group Build, and Interchange Build.

The information that is accessed will be the information of the last document that was processed at the table level accessed by the rules. This must be taken into consideration when using rules that access these tables.

Generic envelope segment (advanced use only)

This sub-table can only be accessed from the following map types: Interchange Break or Build, Group Break, Transaction Break, and Export.

The information that is accessed will be the information of the last interchange that was processed at the table level accessed by the rules. This must be taken into consideration when using rules that access these tables.

Interchange  
Group

Can only be accessed from the following map types: Group Break or Build, Transaction Break, Export, and Interchange Build.

The information that is accessed will be the information of the last group that was processed at the table level accessed by the rules. This must be taken into consideration when using rules that access these tables.

Partner (advanced use only)  
Document (advanced use only - if the format type of this side of the map is EDI)