veyant
5th May 2006, 11:33
Hi,
this is related to BAAN V.
I am creating a Sales Order Splitting AFS in which it starts from tdsls4501m000 (Sales Order Lines) and then invokes (tdsls4101s000), make the Split delivery Flag as "Yes", after pressing details button , it invokes "tdsls4501m200 (Sales Order Lines details)" which invokes "tdsls4101s200" .
In session tdsls4101s200 - total qty is shown and if u click on split detail button, it invokes "tdpur4000s000" where u have to put the qty to be split and after pressing OK, it closes "tdpur4000s000" and changes order qty to bal qty (original order - split qty) and generates a new line with the split qty as seq no. 2
in AFS, it calls tdsls4501m000, invokes tdsls4101s000, then session tdsls4501m200 is invoked with details button and split delivery as "yes", now session tdsls4101s200 gets invoked and it calls "tdpur4000s000".
I am inputting "qty to be split as
stpapi.put.field("tdpur4000s000","ordered.qty", str$(5))
then i am sending a update followed by Save, in save error it gives message ("commnd id disabled".) it ends the session with stpapi.end.session and when it check manually, whether split happened then i found that it doesn't split.
Do anybody help me on this. session "tdpur4000s000" has three fields and 3 buttons.
field 1 - Ordered Qty
field 2 - planned del. date
field 3 - planned del. time
button 1 is "OK" which is basically a save & exit button, then second button is "cancel" and third button is help.
I want to know is there any commend in STPAPI to call "save & exit" button option.
As if send "stpapi.save" it returns with error "command disabled'
need quick help on this.
this is related to BAAN V.
I am creating a Sales Order Splitting AFS in which it starts from tdsls4501m000 (Sales Order Lines) and then invokes (tdsls4101s000), make the Split delivery Flag as "Yes", after pressing details button , it invokes "tdsls4501m200 (Sales Order Lines details)" which invokes "tdsls4101s200" .
In session tdsls4101s200 - total qty is shown and if u click on split detail button, it invokes "tdpur4000s000" where u have to put the qty to be split and after pressing OK, it closes "tdpur4000s000" and changes order qty to bal qty (original order - split qty) and generates a new line with the split qty as seq no. 2
in AFS, it calls tdsls4501m000, invokes tdsls4101s000, then session tdsls4501m200 is invoked with details button and split delivery as "yes", now session tdsls4101s200 gets invoked and it calls "tdpur4000s000".
I am inputting "qty to be split as
stpapi.put.field("tdpur4000s000","ordered.qty", str$(5))
then i am sending a update followed by Save, in save error it gives message ("commnd id disabled".) it ends the session with stpapi.end.session and when it check manually, whether split happened then i found that it doesn't split.
Do anybody help me on this. session "tdpur4000s000" has three fields and 3 buttons.
field 1 - Ordered Qty
field 2 - planned del. date
field 3 - planned del. time
button 1 is "OK" which is basically a save & exit button, then second button is "cancel" and third button is help.
I want to know is there any commend in STPAPI to call "save & exit" button option.
As if send "stpapi.save" it returns with error "command disabled'
need quick help on this.