EDIFACT Inbound Applications Trade Links Add, Change, Delete (Tag: EDFInboundGroupsAddChangeDelete)
Use this tag to add Documents to an existing Inbound EDIFACT Trade Link, or to change existing Documents. This tag must be nested within EDFIBTradeLinkChange tag, or if required, the EDFIBAPLinkChange tag. To add a Document, set the AddFlag to Y. To delete, set the DeleteFlag to Y. Note when adding or changing a Document so that it requires an acknowledgement, the outbound acknowledgement trade link (CONTRL) record must already exist. 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 | Func_MsgType | Yes | 6 | fk to EDF_FuncID along with the above fields | 1 |
| Test Indicator | TestIndicator | No | 1 | T=True, F=False, R=Remove | 2 |
| Production Indicator | ProdIndicator | No | 1 | T=True, F=False, R=Remove | 2 |
| Validate By | ValidateByInd | No | 1 | "M"= Message; "F"=Functional Group/Interchange | 3 |
| Test PO Nickname | TestPutPO | Yes if TestIndicator is T | 3 | Nickname of Valid Put PO | 4 |
| nProd PO Nickname | ProdPutPO | Yes if ProdIndicator is T | 3 | Nickname of Valid Put PO | 5 |
| AckLevel | AckLevel | No | 1 | See Note | 6 |
| N/A | AddFlag | No | 1 | ||
| N/A | DeleteFlag | No | 1 | 7 | |
| Routing: Route Only | RouteOnly | No | 1 | Y/N Default: N |
Notes:
- The combinations of these five fields define the Application and must be unique within one Trade Link. For example, do not duplicate the Application in a EDFIBAPLink as well as within an EDFIBTradeLink, even if the MandatoryUNG is O (Optional).
- At least one of (TestIndicator or ProdIndicator) must be True after completion of any database change. 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 group 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 group.
- Note the field labels within Partner Manager change for this field depending on MandatoryUNG in EDFIBTradeLink. When MandatoryUNG is set to N (None), Validate By can be Message or Interchange. When MandatoryUNG is set to M (Mandatory) or O (Optional), Validate By can be Message or Functional Group. For the purposes of this XML input, set to M or F where F can mean either Functional Group or Interchange and M denotes Message.
- Must be exactly 3 characters if present. Ignored if TestIndicator is False, required otherwise. Nickname must points to a valid Put Post Office.
- Must be exactly 3 characters if present. Ignored if ProdIndicator is False, required otherwise. Nickname must points to a valid Put Post Office.
- Specify the optional Acknowledgement Level. If not specified, this value will be zero, No Acknowledgement. Valid values are 0, 1, 2, 3, 4, or 5. These values are: 0 = No Acknowledgement, 1 = Interchange Level, 2 = Functional Group Level, 3 = Message Level, 4 = Segment Level, 5 = Data Element Level. Value 2 (Functional Group Level) can only be specified if Mandatory UNG is in use (Application Partners in tag EDFIBAPLink are defined for this link).
- Set to Y if you wish to remove an Inbound Group from a Trade Link. Specify only the first four fields and this flag when deleting a group; all other fields will be ignored. If you want to completely delete a Group with Optional UNG, you must delete both records that exist in this case: one with the Application Partners (use the tag EDFIBAPLinkChange), and the one without Application Partners (do not use the tag EDFIBAPLinkChange).