SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > EXTOL EDI Integrator - Setting up Duplicate Value Checking (Multiple Values)

EXTOL EDI Integrator - Setting up Duplicate Value Checking (Multiple Values)

22nd June 2012

In a earlier post we discussed how we can check for duplicate values in the EXTOL EDI map. In this post we will discuss how to set-up our EXTOL map to check for multiple, duplicate values.

A perfect scenario would be for inbound purchase orders. A purchase order contains a PO #. However the 850 also includes the BEG01 which describes the purchase order. We might receive two purchase orders with the same PO # but they might not be duplicates the 1st PO is the original PO and the 2nd PO might be the cancellation.

Unless we use EXTOL multiple duplicate checking, we would consider the 2nd PO a duplicate.

In our EXTOL 850 map, we will use the special code ‘DM’, instead of using the special code 'DA’. In the 850 we will apply 'DM’ to the BEG01 and BEG03 elements. In both instances, we will use the same 'Dup name’ value.



Copyright 2012 @ www.seanhoppe.com


By: on
load('http://www.seanhoppe.com/EXTOL-Blog-Feed2/'); $feed2 = array(); foreach ($rss2->getElementsByTagName('item') as $node2) { $item2 = array ( 'title' => $node2->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node2->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node2->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node2->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed2, $item2); } $limit2 = 5; $rss3 = new DOMDocument(); $rss3->load('http://www.ebithree.com/EBIThree-RSS/'); $feed3 = array(); foreach ($rss3->getElementsByTagName('item') as $node3) { $item3 = array ( 'title' => $node3->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node3->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed3, $item3); } $limit3 = 5; $rss4 = new DOMDocument(); //$rss4->load('http://www.ebithree.com/EBIThree-RSS/'); $rss4->load('http://www.ebiworld.com/EBI-Feed/'); $feed4 = array(); foreach ($rss4->getElementsByTagName('item') as $node4) { $item4 = array ( 'title' => $node4->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node4->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed4, $item4); } $limit4 = 5; echo ' '; ?>