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

Get DocEntry or DocNum of Purchase Order created by MRP Recommendation Rep.

Hi all,

Does anyone know how to get the DocEntry or DocNum of Purchase Orders created by MRP Recommendation Report?

We need to change the freight on every Purchase Order generated!

On the Recommendation Report we don´t have any colums refering freight, so we have to know each Purchase Order number to change the data refering to freight!

Thanks in advance...

Regards

Júlio Pinho

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 Jun 16, 2008 at 10:38 AM

    Hi David,

    Thanks for your feedback...

    I guess your solution should work... but how do I know that those Purchase Orders were created by the specific MRP Recommendation Report I'm running?

    Regards,

    Júlio Pinho

    Add a comment
    10|10000 characters needed characters exceeded

    • Julio,

      that's the tricky part.

      didn't use the MRP Recommendation Report yet.

      maybe you can change the "Serie" or you create a UDF "AutoCreate" at header which

      the user/addon sets when you create the document manually.

      default value: YES (for the MRP Report)

      when the user creates it in business one your addon set it to NO before adding.

      lg David

  • Posted on Jun 16, 2008 at 10:05 AM

    Hi Julio,

    maybe you should try to use the

    [DI Event Service Tool|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/703d2c29-9c87-2910-6db5-c5ce5d754708]

    with this service you can catch DIEvents like created Documents.

    lg David

    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.