pruthirajpahi
20th September 2008, 11:14
Hi All,

I am trying to create an AFS session tdsls4101m000 sales order lines in ERP LN .
There is an inventory shortages for the item. When I do this manually there is a pop-up menu and I want to select “No Action” .how to do this. I used this code “ stpapi.handle.subproc("tdsls4101m000", "mtdsls00009045", "10") .
But this is not working. At the time of insert my session hangs.

Pls help me out of this error ?

mark_h
20th September 2008, 15:47
Always search first - see the post by dstroud (http://www.baanboard.com/baanboard/showthread.php?t=5833&highlight=api+tdsls4102&page=2) in this thread.

sachu69
23rd September 2008, 12:21
Dear

we can not handle tht pop up through AFS Code
But u can do one thing
1.in order management - sales - sales master data -
sales org. in user Profiles tick use automatic stock storage option
for tht user prfile for tht u r running AFS
2. And in sales order types choose no action option for all four fields in
Stock Storage Manu option for all sales order types tht used in AFS.

Regards,
Sachin

pruthirajpahi
25th September 2008, 10:56
Thanks sachin
My problem solved as u told.