Existing Sales Orders Warehouse Shipment problem...........

Madhavi_PandeyMadhavi_Pandey Member Posts: 124
edited 2012-05-02 in Navision Financials
Hi Experts,



I am facing a problem,after data importation from Excel(through csv files) to Navision,warehouse shipment process doesn't working properly.Actually i had ported existing Sales Orders data in Sales header & line table in this database and we are using warehouse setups also now when i want to create a warehouse shipment line after releasing the document system throws a message - There are no warehouse shipment lines created.
Plz suggest me the solution.............
And find the attachment.
Madhavi Pandey.

Comments

  • ara3nara3n Member Posts: 9,256
    Did you populate the field "Status" to release through the dataport? Or did you run the release sales CU?

    Create the sales order manually and compare the lines.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Madhavi_PandeyMadhavi_Pandey Member Posts: 124
    ara3n wrote:
    Did you populate the field "Status" to release through the dataport? Or did you run the release sales CU?

    Create the sales order manually and compare the lines.






    Run the release sales CU? Plz explain this line.
    Madhavi Pandey.
  • ara3nara3n Member Posts: 9,256
    you need to run the following code;

    Codeunit.run(Codeunit::"Release Sales Document",Salesheader);

    also you never explained if you are populating the status field.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Madhavi_PandeyMadhavi_Pandey Member Posts: 124
    ara3n wrote:
    you need to run the following code;

    Codeunit.run(Codeunit::"Release Sales Document",Salesheader);

    also you never explained if you are populating the status field.



    Plz write the Codeunit ID.
    Madhavi Pandey.
  • ara3nara3n Member Posts: 9,256
    414
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Madhavi_PandeyMadhavi_Pandey Member Posts: 124
    Plz find the attachment,whenever i am running this codeunit system, throws this error message.
    Madhavi Pandey.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    ara3n wrote:
    also you never explained if you are populating the status field.

    :?:
  • ChinmoyChinmoy Member Posts: 359
    You cannot run the CU from the object designer. You have to call the CU through the as explained by ara3n after you have imported the records:

    Codeunit.run(Codeunit::"Release Sales Document",Salesheader);

    Here Salesheader is the name of the record variable of the Sales Header table.

    Hope this helps!

    Chn
Sign In or Register to comment.