SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > EEI Formula: Add messages to MSGQ

EEI Formula: Add messages to MSGQ

28th May 2012

There are times when when certain error messages/notifications need to be captured; Creating a new table is not an option and using the inbound/outbound data logs is not an option . Using EXTOL EDI formulas allow us to add messages to the EXTOL EDI Connection MSGQ.

In our example we will use an inbound EXTOL map to apply logic to use EXTOL’s Command ADDMSGTXT. test

V:= C || D,
if a = b then [ADDMSGTXT MSG(‘Missing Item: TP:&F STORE ID:&G PO#:&H
MSG ID:&I MSGREF:&J ITEM LINE #:&K ITEM NUMBER:&L’ ) TOMSGQ(&V)]
ELSE a
ENDIF

CLICK HERE to review the the parameter set-up for applying the formula



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 ' '; ?>