Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

X12 Validation error in Commerce Manager 2

Status
Not open for further replies.

traderjoe

Programmer
Apr 25, 2006
4
US
I am a novice so I appreciate if someone can point me in the right direction to troubleshoot this.
I am testing 856 maps that were created and tested locally in Commerce Manager and keep getting X12 validatiion errors. The 856 was created with the error but not for transmitting. This data looks good. When the map is run locally the output looks OK when checked against specs.
I added trace to the maps and found a series of errors, whether I ran Commerce Manager or locally.
Errors like....Data at offset 364 ('P1|2|1||50000|LB...') does not match INITIATOR 'T1'
of TYPE X'0047' (T1 Segments Data).

COMPONENT number 1 of TYPE X'0046' (Pallet Loops Data)
is required, but does not exist.

Data at offset 364 ('P1|2|1||50000|LB...') failed COMPONENT RULE test
for component number 2, TYPE X'003E' (Order Loops Data).

I'm not sure if these errors are related to the validation failure but it seems as though they should not be in the map. Can someone help point me in the right direction to troubleshoot this. Thanks!
 
Code:
Data at offset 364 ('P1|2|1||50000|LB...') failed COMPONENT RULE test
   for component number 2, TYPE X'003E' (Order Loops Data).

This tells you that the data is failing a rule in the type tree.

Code:
COMPONENT number 1 of TYPE X'0046' (Pallet Loops Data)
  is required, but does not exist

This says that Pallet Loops Data is mandatory but doesnt exist in the input
 
Did you run the wizard? You can take a copy of the tree and the data and create a simple validation map to see what is wrong with the data. This looks like bad data.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Thanks for your assistance. I will create a map to validate the input against the x12mail.mtt tree.
I get it now....I won't check the stars in the future for these "beginning" questions.
 
BTW, what version of DS TX and Commerce Manager are you using?



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
6.7. We need to upgrade.
When you mention the wizard, do you mean to create the x12mail.mtt?
 
I created the validation map for the EDI in question. My results contain only the header and footer EDI segments. My trace file says "INPUT 1 was valid, but it contained invalid objects." but shows no other error. I assume this can be a problem in the tree or a problem with the data.
Any way to narrow down?
 
Yes, with all the info for the trading partner.
Your results indicate the x12 type was not defined.


BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top