PO EDI template: ULS works with lineitem ID in usual place collab/berick/acq-order-edi-template
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:24:51 +0000 (17:24 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:28:38 +0000 (17:28 -0500)
A misunderstanding had us using a simple ordinal number in the RFF+LI
line when sending to ULS.  ULS confirms they don't need that after all.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index ffcaf9a..47e09d9 100644 (file)
@@ -8088,7 +8088,7 @@ $$
         "items":[
         [%- FOR li IN target.lineitems %]
         {
-            "line_index":"[% VENDOR_ULS ? loop.count : li.id %]",
+            "line_index":"[% li.id %]",
             "identifiers":[   [%-# li.isbns = helpers.get_li_isbns(li.attributes) %]
             [% FOR isbn IN helpers.get_li_isbns(li.attributes) -%]
                 [% IF isbn.length == 13 -%]