Help Needed with Creating SalesOrder in LN via BOD

Youn Joung Bae
Youn Joung Bae Member, Infor Partner Posts: 4
edited November 1 in ION

Hello, I’m a new consultant, and I’ve been with the company for only a month. I’ve been assigned by my supervisor to create a SalesOrder in LN using BODs. I've been going through the developer documentation and tutorials, such as "Importing CSV Files via EC" (omitted), and have tried to implement it. However, despite not receiving any error messages, I can’t see any SalesOrder data created in LN. Could you please help?

Here are the steps I followed:

  1. Created a schema for the CustomBOD object from the CSV using FileTemplate.
  2. Used Document Flow to read the CSV file from the shared folder and generate Sync.CustomBOD.
  3. Mapped to the OriginalBOD using the Graphic Mapper.
  4. Connected Document Flow to LN Application.

I suspect the mapping might be the issue, but I’m unsure where to start in fixing it.

Please help me; I just want to go home.







Thank you so much for any guidance you can provide.

Answers

  • Kevin Heiman
    Kevin Heiman Member, Staff Posts: 15

    Youn, I assume the reference to OriginalBOD and CustomBOD are the same. So the flow is: .csv → MyCSVSalesOrder (Original.Custom BOD ), Mapper to SalesOrder, deliver to Ln.

    Where is the flow failing? This is found in Oneview.

    What have you observed ? is the csv File reader picking up the file? does a BOD get output from that? You can see this in oneview and other methods.

    If you take the output of the first step and put it in the mapper to test , what do you observe?

    If the SalesOrder is being sent to LN, are there any Error BODs returned? An acknowledge returned? What do you see in Ln for the incoming message?

  • Kevin Heiman
    Kevin Heiman Member, Staff Posts: 15

    I see at the bottom, an image of Oneview showing the end to end seems to be creating messages.

    If you look at the final Process.SalesOrder, does it look correct? Does it meat the Ln inbound SalesOrder requirements?

    Are there any Acknowledge responses or Error BODS?

    If you look at LN lBOD register, do you see the message and its status?

  • Youn Joung Bae
    Youn Joung Bae Member, Infor Partner Posts: 4

    Hello, Kevin. Thank you for your response.

    have looked at the inbound documents in LN, but I do not understand them. I have tried to follow along as best as I can, but I keep failing.

    There is no problem reading files through the EC. However, I am not sure how to map the Custom BOD to the Original BOD. The Original BOD has so many elements, and the data I want to add is very small and fragile.

    I am encountering various errors. The Acknowledge BOD is returning, and it's complaining about a missing handler. Additionally, it is causing issues by stating that the location and Accounting Entity are missing.


    1. What exactly is the ActionCode? Is it automatically assigned, or does the developer need to specify it in the mapper?

    2. Are there any essential components that must be included in the mapper?

    3. Do I need to connect all the data using the graphical mapper? For repeating elements, is it sufficient to process only one instance?

    4. What is an Accounting Entity? And what does Location refer to? Where can I find this information?

    5. The message indicates that a handler is missing. Does this mean I need to assign the ActionCode?

    6. Could you please provide an example of a successful mapper?

     

    7. In the Inbound BOD document, it appears that multiple mappings are associated with a single element. Should multiple mappings be applied, or should we select just one of them?
    Attached is a screenshot of an Excel file I prepared based on the document for your reference.


    8. Are there any other essential things I should know? I feel so ignorant that I don’t even know what I don’t know.

  • Youn Joung Bae
    Youn Joung Bae Member, Infor Partner Posts: 4
    edited November 4

    Thank you, Kevin.

    Could you please provide a response based on the comments above?

  • Kevin Heiman
    Kevin Heiman Member, Staff Posts: 15
    edited November 4

    Hi Youn.

    regarding what is action Code.. see https://docs.infor.com/inforos/2024.x/en-us/useradminlib_cloud/default.html?helpcontent=ioncedg_cloud_osm/isc1444643899868.html

    regarding essential mapper, Mapper is a XSLT tool for XML objects, an industry standard. As to what is essential, that seems to relate to your remaining questions. You should start off with the Ln Inbound BOD Mapping guide. It will document the required and optional parts.

    A common technique is to turn on Ln Sales Order BOD publishing, and catch an Order from Ln. You could use that as a guide to the Inbound Sales Order would be very much the same content and format.

    I am not knowledgeable in Ln to offer much deep advice there.

    BOD Mapping and examples of other integration mappings can be found in doc.infor https://docs.infor.com/ln/latest/en-us/lnclintegrationsolh/default.html?helpcontent=ln_cross_bod_mappings/knt1623679000856.html

  • Youn Joung Bae
    Youn Joung Bae Member, Infor Partner Posts: 4

    We haven’t solved the issue yet, but your advice has been helpful.

    thank you , kevin

  • Steven Branigan
    Steven Branigan Member, Infor Partner Posts: 2

    Hi Youn,

    In ION Desk, the Data Flow and its related connection point "LN-0052". Have they been configured to "Receive in Application" for the related BOD?

    My apologies but you didn't share a screenshot of that. In the Documents tab of the LN-0052 conneciton point being used to need to make sure that the Process.SalesOrder BOD has been declared and has "Receive in Application" ticked.

    Hope that helps, if you've not already completed that step.

    Steve