How to Build Outbound 856 Ruleset's HL levels

How to Build Outbound 856 Ruleset's HL levels

In our example we are going to show how to set-up the outbound 856 HL levels for Shipment, Order, Tare, Item.

The first level, Shipment, will start off with:

  • Create a Composite Rule to “Create a new Segment Group: HL”
  • Create another Composite Rule “Define a HL: Hierarchical Level”
  • Rule: Move: “S” ==> HL03
  • Rule: Add: “rls.var.HL_Counter_Var” + “1” ==>”rls.var.HL_Counter_var
  • Rule: Move: “rls.var.HL_Counter_Var” ==> HL01
  • Rule: Move: “rls.var.HL_Counter_var” ==> rls.var.HL_S

The second level, Order:

  • Create a Composite Rule to “Create a new Segment Group: HL”
  • Create another Composite Rule “Define a HL: Hierarchical Level”
  • Rule: Move: “O” ==> HL03
  • Rule: Add: “rls.var.HL_Counter_Var” + “1” ==>”rls.var.HL_Counter_var
  • Rule: Move: “rls.var.HL_Counter_Var” ==> HL01
  • Rule: Move: “rls.var.HL_S” ==> HL02
  • Rule: Move: “rls.var.HL_Counter_var” ==> rls.var.HL_O

The third level, Tare:

  • Create a Composite Rule to “Create a new Segment Group: HL”
  • Create another Composite Rule “Define a HL: Hierarchical Level”
  • Rule: Move: “T” ==> HL03
  • Rule: Add: “rls.var.HL_Counter_Var” + “1” ==>”rls.var.HL_Counter_var
  • Rule: Move: “rls.var.HL_Counter_Var” ==> HL01
  • Rule: Move: “rls.var.HL_O” ==> HL02
  • Rule: Move: “rls.var.HL_Counter_var” ==> rls.var.HL_T

The fourth level, Item:

  • Create a Composite Rule to “Create a new Segment Group: HL”
  • Create another Composite Rule “Define a HL: Hierarchical Level”
  • Rule: Move: “I” ==> HL03
  • Rule: Add: “rls.var.HL_Counter_Var” + “1” ==>”rls.var.HL_Counter_var
  • Rule: Move: “rls.var.HL_Counter_Var” ==> HL01
  • Rule: Move: “rls.var.HL_T” ==> HL02
  • Rule: Move: “rls.var.HL_Counter_var” ==> rls.var.HL_I

By: on
load('http://www.extol.com/extolnews.rss'); $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) { $item = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 4; echo ' A free web counter provided by GoStats.