CDSSG14700 - CDS Declaration Error Messages: Cross-field Validation Errors

This type of error occurs when a Data Element requires completion of a second Data Element to be valid, and one of the Data Elements has been omitted or incorrectly completed.

Cross field validation errors will return at least two responses, one for each data element that causes the conflict.

The two messages have to be read together to fully understand the error.

For example:

•ValidationCode: CDS12100;CodeDescription: Relation error: Combination of Trade terms (D.E. 4/1) and Addition/Deduction code (D.E .4/9) is not allowed;PointerNames: Declaration->GoodsShipment->TradeTerms->ConditionCode;FriendlyName: Delivery Terms

•ValidationCode: CDS12100;CodeDescription: Relation error: Combination of Trade terms (D.E. 4/1) and Addition/Deduction code (D.E .4/9) is not allowed;PointerNames: Declaration->GoodsShipment->CustomsValuation->ChargeDeduction->ChargesTypeCode;FriendlyName: Header Addition/Deduction Code

In this example the delivery terms declared in DE 4/1 do not agree with the additions and deductions declared in DE 4/9

One error message is for DE 4/1:

TradeTerms->ConditionCode;FriendlyName: Delivery Terms

the second is for 4/9:

>CustomsValuation->ChargeDeduction->ChargesTypeCode;FriendlyName: Header Addition/Deduction Code

To resolve cross field validation errors, refer to the declaration completion instructions for each Data Element highlighted.

This will instruct you on how to complete the declaration correctly. Cross reference your declaration with the data element completion instructions to establish a fix.