SriksAdi
28th July 2004, 08:28
Hi,
In the session Change Prices/Discounts after 'Maintain Receipts' (tdpur4122m000), a localization session tdind0277s000 is called in before.input of tdpur045.pric.
I am setting the value for tdpur045.pric using stpapi.put.field, still the session tdind0277s000 is not getting activated.
Script is as follows:
stpapi.put.field( "tdpur4122m000", "tdpur045.orno", str$(tdpfl201.orno) )
stpapi.put.field( "tdpur4122m000", "tdpur045.pono", str$(tdpfl201.pono) )
stpapi.put.field( "tdpur4122m000", "tdpur045.srnb", str$(tdpfl201.srnb) )
ret = stpapi.find("tdpur4122m000", err.mess)
stpapi.get.field( "tdpur4122m000", "tdpur045.pric", value)
stpapi.handle.subproc("tdpur4122m000" ,"tdind0277s000", "send")
stpapi.put.field( "tdpur4122m000", "tdpur045.pric", value)
I cannot call the session tdind0277s000 directly since, tdind0277s000 contains only form fields which are being calculated in before.program, based on values imported from tdpur4122m000.
When I open the session tdind0277s000 using zoom.to$, the field values are calculated properly.
Is there any way I open the session tdind0277s000 properly and also access the field values in it?
Regards
Sriks
In the session Change Prices/Discounts after 'Maintain Receipts' (tdpur4122m000), a localization session tdind0277s000 is called in before.input of tdpur045.pric.
I am setting the value for tdpur045.pric using stpapi.put.field, still the session tdind0277s000 is not getting activated.
Script is as follows:
stpapi.put.field( "tdpur4122m000", "tdpur045.orno", str$(tdpfl201.orno) )
stpapi.put.field( "tdpur4122m000", "tdpur045.pono", str$(tdpfl201.pono) )
stpapi.put.field( "tdpur4122m000", "tdpur045.srnb", str$(tdpfl201.srnb) )
ret = stpapi.find("tdpur4122m000", err.mess)
stpapi.get.field( "tdpur4122m000", "tdpur045.pric", value)
stpapi.handle.subproc("tdpur4122m000" ,"tdind0277s000", "send")
stpapi.put.field( "tdpur4122m000", "tdpur045.pric", value)
I cannot call the session tdind0277s000 directly since, tdind0277s000 contains only form fields which are being calculated in before.program, based on values imported from tdpur4122m000.
When I open the session tdind0277s000 using zoom.to$, the field values are calculated properly.
Is there any way I open the session tdind0277s000 properly and also access the field values in it?
Regards
Sriks