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

Report purchase price from Sales order to delivery.

Please, is there anyone knows a solution for a resumption of the purchase price was register in a libne of sales order when we created by the DI API corresponding delivery ?

Edited by: Rui Pereira on Dec 23, 2008 3:08 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2008 at 03:19 AM

    Dear PATRICK HALLOUIN,

    How do you register purchase price in a line of sales order?

    If it is by UDF, then you could use code like

    oDelivery.UserFields.Fields ("U_test") = oOrder.UserFields.Fields ("U_test")

    Best Regards

    Jane Jing

    SAP Business One Forums team

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2008 at 06:46 AM

    Hi Jane,

    Thank for your answer.

    In my sales order, the purchase price is the field GrossBuyPr.

    But when I create a new delivery from this sales order the price is take from Item.

    I used DI_API, because in my sales order, delivery's quantity is an user field. I generates the delivery with an addon.

    Best regards.

    Patrick

    Edited by: Rui Pereira on Dec 23, 2008 2:58 PM

    Add a comment
    10|10000 characters needed characters exceeded

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.