Lanham EDI 855 – Error No Item segments found

  • Lanham EDI 855 – Error No Item segments found

    Posted by Lewis Rosenberg on July 19, 2017 at 6:29 pm
    • Lewis Rosenberg

      Member

      July 19, 2017 at 6:29 PM

      Hello,

      I feel like I am close to figuring out how to process an EDI855 using Lanham EDI (version SE0.60?) on NAV2013R2.Ā 

      When I run Send & Advance PO Acknowledgement (Report 14050321) from the Advanced PO Acknowledgment Card (P14002414), I get an error (in CodeUnit 14002400 – E.D.I. Sales Order Status Send).Ā  The error is “No Item Segments Found.”

      When I look at the code, it seems like it is looking for an HL ITEM BEGIN segment in the map,Ā  but the EDI855 doesn’t include any HL segments.


      Has anyone seen this before?

      ——————————
      Lewis Rosenberg
      IT Manager
      Mars Fishcare
      Chalfont PA

      NAVUG Board of Advisors, Programming
      NAVUG Programming Committee
      NAVUG Membership Committee
      ——————————

    • Steve Branin

      Member

      July 20, 2017 at 10:03 AM

      ?Lewis,
      For the Advanced PO Ack, you need an HL ITEM BEGIN and HL END Commands in the map.Ā  See attached sample map.

      There is also standard PO Ack that uses LINE BEGIN and LINE END Commands.Ā  The code you are running is for the Advanced though.

      ——————————
      Steve Branin
      Lanham Associates/Lanham Services
      ——————————
      ——————————————-

    • Dave Cintron

      Member

      July 20, 2017 at 11:47 AM

      Hi Lewis,

      I don’t understand why this is either, but there are 2 solutions.

      1. Use the HL commands, but don’t put any HL segments in the map.

      2. Modify the codeunit to add LINE BEGIN/END as an option.

      UNTIL (EDISegment.NEXT = 0) OR (EDISegment.Segment IN [‘HL ITEM BEGIN’,’LINE BEGIN’]);
      IF (EDISegment2.NEXT = 0) OR (EDISegment2.Segment IN [‘HL END’,’LINE END’]) THEN BEGIN

      ——————————
      Dave Cintron
      Dynamics West
      Ventura CA
      ——————————
      ——————————————-

    • Lewis Rosenberg

      Member

      July 20, 2017 at 11:53 AM

      ?Thank you so much, Steve!Ā 

      I was usingĀ  a LINE BEGIN and LINE END instead of the HL ITEM BEGIN and HL END.

      ——————————
      Lewis Rosenberg
      IT Manager
      Mars Fishcare
      Chalfont PA

      NAVUG Board of Advisors, Programming
      NAVUG Programming Committee
      NAVUG Membership Committee
      ——————————
      ——————————————-

    • Ruthie Moshos

      Member

      July 20, 2017 at 12:57 PM

      ?Hi, Lewis- The map should use HL Item Begin and HL End commands, but I have also seen this error if you don’t have anything set in the Qty To Ship field. If Qty to Ship is 0 it won’t find the line.

      ——————————
      Ruthie Moshos
      EDI Specialist
      Western Computer
      Canyon Country CA
      ——————————
      ——————————————-

    Lewis Rosenberg replied 8 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Lanham EDI 855 – Error No Item segments found’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!