Sapna20
2nd July 2014, 13:19
Hi Experts,

I used the "tdpur.dll4109.approve.purchase.order.with.commit" dll for approving the purchase order in my script.
Now when I run my session with all the conditions then the purchase order get approved but the activity of releasing to warehouse is not performed though this activity is auto.
If I manually approved the purchase order from the header of purchase order then this activity is functioning properly.

I could not find the reason for this.
Please help me in this context.

bhushanchanda
2nd July 2014, 14:11
Hi,

How are you calling the DLL?

Use show.dal.messages(MSG.ALL) right after the call.

benito
3rd July 2014, 20:48
you MIGHT have to use a separate DLL to release to warehousing, just a guess. i would look at the wh package for the DLL. the fact that you can check/uncheck the activity to be manual or auto almost tells me that these are separate functions.

benito
3rd July 2014, 21:20
maybe you can try tdpur.dll4108.release.orderline.to.warehousing.

bhushanchanda
4th July 2014, 11:28
Also note, there are a lot of DLL's which require some table read before executing else they will never work.

This is unfortunately very tough to find if you don't have the sources. In your case, I guess you will need to read whinh200, whinh210 for the Purchase Order and some parameter tables for the release to warehouse activity.

Also, there are some DLL which are dependent on some other DLL to work. Again, difficult to track.

This is the reason why you should not use DLL if you dont have source code as he problem is with the implementation of these standard DLL's and yes none of these kind of information is documented in ttstpbaandoc (General Library Documentation).