sensoft99
26th April 2002, 10:35
I am working on "Maintain Receipts" using stpapi calls.
Am on BaaNIVc4. Supply Chain Extension.

The sequence of sessions I need to open are tdpur4120m000, tdpsc0191s000, tdilc4114s000, Maintain Lots, in the sequence mentioned.

When I manually run tdpur4120m000, and then tdpsc0191s000 starts, the PPID of tdpsc0191s000 is same as PID of tdpur4120m000 and also the PPID of tdilc4114s000 is also same as PID of tdpur4120m000, which has to be the case... BUT, the problem is...
when i use stpapi calls to do the launch of sessions in the said sequence, the PPID of tdpsc0191s000 is same as PID of tdpur4120m000, but the PPID of tdilc4114s000 is DIFFERENT from tdpur4120m000, which is a cause of concern.
As a result, I get an error message "Command Cancelled", when i try to call tdilc4114s000.

Kindly post help, in case u have faced with same kind of problem.

Thanks

ekrishna
30th April 2002, 03:58
I have no idea about those sessions but did u try using "stpapi.handle.subproc" AFS call with 'add' option.