TRADACOMS Outbound Trade Link Document Add, Change, Delete (Tag: TRCOBTLDocsAddChangeDelete)
Use this tag to add, change, or delete a Document on an existing TRADACOMS Outbound Trade Link. Tag must be nested within TRCOBLinkChange. To add a Document, set the AddFlag to Y. To delete, set the DeleteFlag to Y. The tag and field descriptions are:
Field Label | FieldName/Tag | Req'd | Max. Len. | Validation | Notes |
---|---|---|---|---|---|
Document Type | DocType | Yes | 10 | 1 | |
From Application Partner SDT/CDT | From_SDT_CDT | No | 1 | S or C | 2 |
To Application Partner SDT/CDT | To_SDT_CDT | No | 1 | S or C | 3 |
RSG Expected | RSGExpected | No | 1 | N, P, or C | 4 |
RSG Version | RSGVersion | No | 1 | 1-9 | 4 |
Get Mail Post Office Nickname | GetMailPO | No | 3 | valid Get PO | |
Test (check box) | TestIndicator | No | 1 | T (True) or F (false) or R (remove) |
5 |
Test Post Office Nickname | TestPutPO | Yes, if TestIndicator=T | 3 | valid Put Post Office | 5 |
Production (check box ) | ProdIndicator | No | 1 | T (True) or F (false). | 5 |
Production Post Office Nickname | ProdPutPO | Yes, if ProdIndicator=T | 3 | valid Put Post Office | 5 |
Generate VAT Report | GenerateVATReport | No | 1 | T (True) or F (false) | 6 |
Reset (Control #) | ResetDoc_Ind | No | 1 | T or F | 7 |
Document Control Number | DocControlNoValue | Yes, only if ResetDoc_Ind is T | 14 | must be a positive whole number | 8 |
N/A | AddFlag | No | 1 | Y/N | |
N/A | DeleteFlag | No | 1 | Y/N |
Notes:
- Document includes the version appended, for example: INVOIC9. This value must exist as a valid Document Type in the table TRCDocTypes, maintainable in Standards Maintenance in Partner Manager.
- From_SDT_CDT is used only if the From Partner is an Application Partner; it is not used when that Partner is a Trading Partner. It indicates that the From Partner appears in either the SDT Segment (set to S) or the CDT segment (set to C). This field defaults to S and must be the opposite value of the next field, To_SDT_CDT.
- To_SDT_CDT is used only if the To Partner is an Application Partner; it is not used when that Partner is a Trading Partner. It indicates that the To Partner appears in either the SDT Segment (set to S) or the CDT segment (set to C). This field defaults to C and must be the opposite value of the previous field, From_SDT_CDT.
- RSG Expected valid values are: N=None; P=Present; C=Create. If set to C (Create) the next field, RSGVersion, can be set to an integer from 1 to 9. The RSVersion will default to 2 if not specified and RSG Expected is C.
- After all changes are applied, at least one of the Test/Prod Post Offices must be set (both cannot be blank). If you want to remove an existing Test or Production Post Office, set test Test/Production Indicator 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.
- GenerateVATReport can only be set if the Document Type is CREDIT, INVOIC, or UTLBIL.
- True/False; reset Document-Level Control #. Default: F
- Only set this value if the Reset is set to T (True). Setting this field to any value when the Reset is F (False) will reject this link.