Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XYZ Manufacturing company, currently utilizes a manual process for managing purchase order changes from their trading partners. This process is labor-intensive, prone to errors, and often results in delays that affect our supply chain efficiency and customer satisfaction. To streamline operations, they aim to implement an automated system for handling inbound EDI X12 860 (Purchase Order Change Request - Buyer Initiated) transactions.

Objective

The goal is to develop and implement a robust solution that facilitates the automated processing of inbound EDI X12 860 transactions. This solution should seamlessly integrate with their existing ERP system, ensure data accuracy, and enhance operational efficiency.

...

  • Design a Transaction using an EDI Inbound Pre-built template.

  • Create Source Schema- EDI860

  • Create Target Schema - Advance positional

  • Create a File Event activity

  • Create Target folder Location (LAN)

  • Create Mapping activity

  • EDI Configuration

 

Pre-requisites:

  1. a. Create a Network for which you are creating a transaction.

  2. b. Create a Partner for the data exchange.

Solution:

Design : Create transaction in Adeptia Connect to convert data

...

  1. To Create a Inbound Transition Click Transactions Templates.

  2. On the Templates screen, navigate to the EDI Inbound Template

  3. To Define Transaction Provide the name and description of the Transaction.

...

  1. Select and configure the EDI Standard X12, EDI Standard Version 004010, transition Set Code to 860 

...

 2, Define Source:

  1. Select The the Source type as FTP and click next to configure File Event

...

Define the File Event

...

Set Destination

...

Create Mapping

...

Create Data Mapping

Load > Name >Trigger Type (On file Created)

...

Specify the file base location path, user ID, and password. Then choose the event start date as well as the expiry date and time.

...

Select Trigger Simple and polling frequency as per the requirement.

...

3. Set Destination

Define the Destination application account.

...

Click on Next to create a FTP Account Information

...

4. Create Mapping

...

Create Data Mapping >>Load Source and Target Schema

...

Create/Add Variables

Global VariableLet's create a variable using the following name:varPricingqty

Condition Applied

WHEN CONDITION{$Input_X12_004010_860/EDIRoot/TS_860/BCH/BCH01='01' } VALUE=['Y' ] OTHERWISE VALUE=['' ]

...

We apply Implement a For Each loop at the Root root level at on the Destination enddestination side.

$Input_X12_004010_860/EDIRoot/TS_860

...

Let's establish a name for the variable. :varST_LOC

./Loop5_N1/N1[N101='ST']/N104

...

Local Variable 2:

...

Let's proceed by creating a variable named 'name'.: varS_ST_EDI_LOC_CODE

WHEN CONDITION{$varST_LOC='H050' or $varST_LOC='1300'} VALUE=['EAVN1824' ]
WHEN CONDITION{$varST_LOC='H464' or $varST_LOC ='H204' } VALUE=['EAVN1823' ]
WHEN CONDITION{$varST_LOC='1303'} VALUE=['EAVN43685']
WHEN CONDITION{$varST_LOC='1373'} VALUE=['EAVN52820']
OTHERWISE VALUE=[$varST_LOC ]

...

Let's proceed by creating a variable name.: varX

IF CONDITION{ $Input_X12_004010_860/EDIRoot/TS_860/BCH/BCH01='01'} VALUE=[ 'Y']

...

Local Variable 4:

...

Let's proceed by defining a variable name.: varTP_CODE

'AVNET'

...

Let's proceed by creating a variable name.: varCONTROL_NUM

normalize-space( $Input_X12_004010_860/EDIRoot/TS_860/ST/ST02)

...

Check for the data input.

...

After you have Saved and Exit the Transaction page. You will be asked to Turn on the transaction

 Viewing execution details

...