Message numbering for CODECO95B

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Message numbering for CODECO95B

John
Hi,

great blog, found useful info!

Wondering how the message and interchange numbers are generated.

Like the following from your blog's examples,
(http://myedinotes.blogspot.com.ar/2011/01/codeco-general-infos.html)
separated by spaces from the rest of the segments:
UNB+UNOA:2+SENDER-ID+RECEIVER-ID+110117:1401+     1292528559464'
UNH+   1292528559355    +CODECO:D:95B:UN:ITG14'
BGM+34:::TRANSPORT EQUIPMENT GATE IN REPORT+      07470574000001      +9'

Are they something like sequential counters with a previously agreed
upon numbering scheme between interchange partners?

Tks, John
Reply | Threaded
Open this post in threaded view
|

Re: Message numbering for CODECO95B

gekseppe
Administrator
Hello John;

These values are used in order to uniquely identify:
1. The interchange number (UNB segment);
2. The message number (UNH segment);
3. The document number (BGM segment).

Trading partners do not have to agreed them since, based on the UN/EDIFACT principles, they must respect only the following rules:
1. In the UNB segmnent: alphanumeric values with a variable size, up to 14 chars; the reference must be transmitted also in the UNZ segment.
2. In UNH segment: alphanumeric values with a variable size, up to 14 chars; the reference must be transmitted also in the UNT segment.
3. In the BGM segment: alphanumeric values with a variable size, up to 35 chars.

About the way they are generated it depends from the application which generates/translates the EDI messages; for instance the number in the UNB segment, which uniquely identifies the full interchange sent, could be the ID number into the DataBase which gathers information about all the interchanges sent.

Hope that this help you.

Regards,
Gekseppe
My EDI Notes admin

http://myedinotes.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: Message numbering for CODECO95B

John
Gekseppe,

thanks a lot for your fast and accurate reply.
Hopefully i'll be able to use the information
that you did kindly provide.

All the best,
John