EDIFACT Outbound Applications Trade Links Add, Change, Delete (Tag: EDFOBMsgLinkAddChangeDelete)

This tag is used to add, change, or delete an Application (Message or Group) in an existing EDIFACT Outbound Trade Link. Must be nested within EDFOBTradeLinkChange tag, or if required, the EDFOBAPLinkChange tag. To add an Application, set the AddFlag to Y. To delete, set the DeleteFlag to Y.

This tag is similar to the EDFOBMsgLink tag used when adding a new Trade Link, with the following significant differences:

  • You can remove a Test or Production Post Office by setting the Test/Production Indicators to R. See Note 2 for more information on this feature.
  • To add a new Message to an existing link, set AddFlag to Y.
  • To remove an existing Message, set the DeleteFlag to Y.

The tag and field descriptions are described in the following table:

Field Label FieldName/Tag Req'd Max. Len. Validation Notes
Message Version Number MessageVersionNo Yes 3 fk to EDFMsgVerNo 1
Message Release Number MessageRelNo Yes 3 fk to EDFMsgRelNo 1
Controlling Agency ControllingAgency Yes 2 fk to EDFControlAgency 1
Association Assign Code AssocAssignCd No 6 fk to EDFAssocAssignCd 1
Functional ID/Message Type MessageType Yes 6 fk to EDF_FuncID along with the above fields 1
Get Post Office GetMailPO No 3 Nickname of valid Get PO  
Test Indicator TestIndicator No 1 T=True, F=False, R=Remove 2
Production Indicator ProdIndicator No 1 T=True, F=False, R=Remove 2
Test PO Nickname TestPutPO Yes if TestIndicator is T 3 Nickname of valid Put PO 3
Prod PO Nickname ProdPutPO Yes if ProdIndicator is T 3 Nickname of Valid Put PO 4
Control No LastMsgRefNo No 14   5
N/A AddFlag No 1 Y/N  
N/A DeleteFlag No 1 Y/N 6
Routing: Route Only RouteOnly No 1 Y/N

Default: N

 

Notes:

  1. The combination of these five fields define the Application and must be unique within one Trade Link. For example, do not duplicate the Application within a EDFOBAPLinkChange as well as within a EDFOBTPLinkChange, even if the MandatoryUNG is O (Optional).
  2. After all changes are applied, at least one of (TestIndicator or ProdIndicator) must be True. If you want to remove an existing Test or Production Post Office, set this field to "R". For example, this is available in the event you want to change an existing message from Test only to Production Only: set the TestIndicator to "R", which will remove the Test Post Office, and set the ProductionIndicator to T and specify the new Production Post Office in ProdPutPO. When setting this field to R, you must specify the other (test/production) Post Office if one does not already exist on the message
  3. Must be exactly 3 characters if present. Ignored if TestIndicator is False, required otherwise. Nickname must point to a valid Put Post Office.
  4. Must be exactly 3 characters if present. Ignored if ProdIndicator is False, required otherwise. Nickname must point to a valid Put Post Office.
  5. If the Control Numbering Scheme of this Trade Link is Message (see EDFOBTPLinkChange field UNBControlNoScheme) then you may over-ride the control number by placing a value here. If specified, this value must be a positive integer no longer than 14 characters in length.
  6. Set the DeleteFlag to Y if you wish to remove an existing message from a Trade Link. Specify only the first five fields and this flag when deleting a group; all other fields will be ignored. If you want to complete delete a Group with Optional UNG, you must delete both records that exist in this case: one with the Application Partners (use the tag EDFOBAPLinkChange), and the one without Application Partners (do not use the tag EDFOBAPLinkChange).