cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Nussi
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Nussi
Active Contributor
0 Kudos

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