Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This section assists you in tracking context variables within B2B logs. Using this section, you can define:

  • The list of context variable you want to track
  • The column of View Data window where you want to view these variables’ value

Perform the following steps to track context variables:

  1. Go to the path .../<Adeptia_Install_Folder>/AdeptiaServer/ServerKernel/Solutions/EDI/EdiTransactionXMLs.
  2. Create the EDI transaction set xml file using the name given in the below format:

    EDI_TS_" + <transaction type> + ".xml.

    where,

    <transaction type> is the type of EDI file. For example, EDI_TS_810.xml.
    The structure of the xml file must be same as shown below in the sample xml File. Alternatively, you can make a copy of the existing file and start making changes in that file.


     

  3. Specify the name of the column in the name tag and the value of the column in the contextVariableName tag.

    Tag NameDescription
    editype

    Type of EDI. For example, 810.

    <transactioninfo editype=”810”>
    order

    Order of the newly created column to be displayed in the table.  Value of this tag ranges from 12 to 32 only.

    <fieldinfo order=”11”> 
    columnnameThe value of this tag ranges from field1 to field 20.
    nameName of the EDI type.
    contextVariableNameColumn to track.

    You can also track EDI elements using xpath.

    Xpath: To view the data elements of EDI, add the xpath tag to the xml file.

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tracker>
    <transactioninfo editype="810">
    <fieldinfo order="12" columnname="field1">
       <name>
          <![CDATA[Invoice Number]]>
       </name>
       <xpath>
          <![CDATA[BIG/BIG02]]>
       </xpath>
    </fieldinfo>

Viewing Context Variables

  1. On the Monitor tab, go to History > B2B logs.
  2. Select the log and click View Data.



  3. The EDI Transaction Log screen appears in a separate window.


For more information, refer to Viewing Transaction Log.

  • No labels