earizmendi
18th August 2007, 02:38
Hi everybody:
I have a problem working with my Suppliers Reconciliation AFS.
This process use the next sessions:
tfgld0110m000
tfgld1101s000
tfcmg2100s000
tfcmg2102s000
and ...
tfcmg2103s000
Everything works perfect, but when the execution comes to the open tfcmg2103s000 session only opens the session but i can“t do anything with his fields (The porpouse of this session is change document payment status), when i look into shell windows the process indicates that i have a tfcmg2103s000 process running, after all i close the session without problems.
Here's the code, if anybody can give an advice, i really appreciate...
Thks!!!
if retval then
retval = stpapi.mark("tfcmg2102s000",error.msg)
if retval then
stpapi.handle.subproc("tfcmg2102s000","tfcmg2103s000","add")
stpapi.continue.process("tfcmg2102s000",error.msg)
stpapi.get.field("tfcmg2103s000","tfcmg110.bank",rel)
stpapi.get.field("tfcmg2103s000","tfcmg110.tdoc",typo)
stpapi.get.field("tfcmg2103s000","tfcmg110.pdoc",pdoc)
| stpapi.get.field("tfcmg2103s000","bank.stpd",stpd)
stpapi.put.field("tfcmg2103s000","bank.stpd",str$(etol(tfcmg.stpd.complete)))
stpapi.put.field("tfcmg2103s000","bank.ramt","999")
stpapi.get.field("tfcmg2103s000","tfcmg110.pdoc",bnk.ramt)
stpapi.continue.process("tfcmg2103s000",error.msg)
stpapi.end.session("tfcmg2103s000")
endif
endif
I have a problem working with my Suppliers Reconciliation AFS.
This process use the next sessions:
tfgld0110m000
tfgld1101s000
tfcmg2100s000
tfcmg2102s000
and ...
tfcmg2103s000
Everything works perfect, but when the execution comes to the open tfcmg2103s000 session only opens the session but i can“t do anything with his fields (The porpouse of this session is change document payment status), when i look into shell windows the process indicates that i have a tfcmg2103s000 process running, after all i close the session without problems.
Here's the code, if anybody can give an advice, i really appreciate...
Thks!!!
if retval then
retval = stpapi.mark("tfcmg2102s000",error.msg)
if retval then
stpapi.handle.subproc("tfcmg2102s000","tfcmg2103s000","add")
stpapi.continue.process("tfcmg2102s000",error.msg)
stpapi.get.field("tfcmg2103s000","tfcmg110.bank",rel)
stpapi.get.field("tfcmg2103s000","tfcmg110.tdoc",typo)
stpapi.get.field("tfcmg2103s000","tfcmg110.pdoc",pdoc)
| stpapi.get.field("tfcmg2103s000","bank.stpd",stpd)
stpapi.put.field("tfcmg2103s000","bank.stpd",str$(etol(tfcmg.stpd.complete)))
stpapi.put.field("tfcmg2103s000","bank.ramt","999")
stpapi.get.field("tfcmg2103s000","tfcmg110.pdoc",bnk.ramt)
stpapi.continue.process("tfcmg2103s000",error.msg)
stpapi.end.session("tfcmg2103s000")
endif
endif