Skip to Content
author's profile photo Former Member
Former Member

Adding Imported Draft Delivery

Hi all,

SBO & SDK Ver: 6.5 SP1 P17

I have successfully imported a draft delivery based on an existing order line in the system using the DI API. If I try and change the line quantity on the draft I get the following status bar error message "Order no.1 cannot be copied partially". Partial Delivery is ticked on the Logistics tab of the order. I can add the draft without any problems if I don't try to change the line quantity. Has anyone come across this before?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 26, 2005 at 10:06 AM

    Hi Andrew,

    I did not come across this before unfortunately.

    I could do it in SAP Business One 2004 (185.07) - without any problem.

    I suppose that you unfortunately found a bug that you should report on SAP Service Marketplace - unless there are some preconditions I forgot...



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Frank,

      Thanks for the reply. Luckily it's not a bug. I needed to specify an additional property for the draft lines object:

      oDraft.Lines.BackOrder = tYES

      It seems the default value is tNO. I can now change the line quantity as needed.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.