Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to determine what codes to enter for the Vendor EDI Attributes?

    • Article Type: Q&A
    • Product: Cross-Product

    Question

    How to determine what codes to enter for the Vendor EDI Attributes?

    Answer

    The information is contained in either the UNB line or a combination of the UNB and NAD lines. Parsing these lines depends on whether the file is for an order or for an invoice.

    Example 1 - Invoice:
    UNB+UNOC:3+EBSCO:92+ALM0001:91+141209:0912+186'
    UNH+186-1+INVOIC:D:96A:UN:EAN008'
    BGM+380:::JINV+0052170+43'
    DTM+137:20141113:102'
    NAD+BY+SC0318311::91'
    NAD+SR+EBSCO::92'

    Vendor EDI Attributes
    EDI Code EBSCO
    EDI Type 092
    Per Organization Unit EDI
    EDI Code SC0318311
    EDI Type 091
    EAN per Account Code
    EAN Code ALM0001

    Example 2 - Invoice:
    UNB+UNOC:3+2667261:91+4726745:91+150317:0319+1592'
    UNG+INVOIC+2667261:91+4726745:91+150317:0319+561+UN+D:96A:UN'
    UNH+956+INVOIC:D:96A:UN:EAN008'
    BGM++2030390614+9+380'
    DTM+137:20150316:102'
    RFF+ON:PO-39207'
    NAD+DP+4726745 0006::91'
    NAD+BY+4726745 0006::91'
    NAD+SU+1692100::91'

    Vendor EDI Attributes
    EDI Code 2667261
    EDI Type 091
    Per Organization Unit EDI
    EDI Code 4726745 0006
    EDI Type 091
    EAN per Account Code
    EAN Code 4726745

    Example 3 - Order:
    UNB+UNOC:3+4726745:91+2667261:91+130903:1600+2171'
    UNH+PO-18203+ORDERS:D:96A:UN:EAN008'
    BGM+220+PO-18203+9'
    DTM+137:20130903:102'
    NAD+BY+4726745 0006::91'
    NAD+SU+2667261::91'

    Vendor EDI Attributes
    EDI Code 2667261
    EDI Type 091
    Per Organization Unit EDI
    EDI Code 4726745 0006
    EDI Type 091
    EAN per Account Code
    EAN Code 4726745

    Additional Information

    Note that the purchaser and vendor codes flip positions in the UNB line between an invoice and an order
    Example 2 - Invoice: UNB+UNOC:3+2667261:91+4726745:91
    Example 3 - Order : UNB+UNOC:3+4726745:91+2667261:91
    but the EDI Information definiton didn't change.


    • Was this article helpful?
    //Feedback