SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > EXTOL EDI Integrator (EEI) - Types of Formulas

EXTOL EDI Integrator (EEI) - Types of Formulas

11th January 2014

EXTOL EDI Integrator allows users to create different types of formulas

  • Arithmetic equation - Users can perform concatenation, arithmetic, substringing and etc
  • Executable command - Users are able to call iSeries commands with parameters
  • Logical condition - Users are able to structure a formula to test values and return a binary value (0/1)

Below are examples of each of the 3 types of formulas

Arithmetic/Value - Utilized when we need to perform if/then/else logic, arithmetic, concatenation and etc. Formula can also be used to force a transformation error.

EXTOL EDI Integrator Formula Arithmetic

Logical Condition  - Ideal when trying to determine if we need to return a binary value: 1/0 or True/False. Normally applied to a segment or format.

image

Executable - Users can call executable programs, located in the library list, with parameters.

EXTOL EDI Integrator Formula Executable


Copyright 2014 @ 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 ' '; ?>