f.martel
19th December 2011, 11:11
Ia Orana !
I generate a dll with ttstpcreatdll from the session tisfc1101m000.
I use this dll in my program.
I have a problem with my code bellow :
dll1101ro.put.Production_Order(i.pdno)
dll1101ro.put.Operation(i.opno)
dll1101ro.find()
pdno.trouv2 = dll1101ro.get.Production_Order()
opno.trouv = dll1101ro.get.Operation()
if pdno.trouv2 = i.pdno and opno.trouv = i.opno then
dll1101ro.put.Start_Date_Remainder(i.rsdt)
dll1101ro.put.Start_Day_Remainder(i.rsdp)
dll1101ro.update(true,o.err)
dll1101ro.end()
if strip$(mess.er) <> "" then
o.err = "?"
o.err = dll0101ro.get.last.message.code()
dll1101ro.end()
endif
endif
dll1101ro.end()
Explanation :
When i test the input data i.rsdt (02/04/2012) and i.rsdp, i have the good value.
After my update (dll1101ro.update), i get tisfcs010.rstd whith the function stpapi.get.field( "tisfc1101m000", "tisfc010.rsdt", value ) and i have the good date (02/04/2012) :)
But when i go on the session tisfc1500m000 for control the modification, no change :eek:
When i control the process after my program, the process tisfc1101m000 is still running !!!
Have you a Idea ?
Thanks
François ... (Sorry for my english :rolleyes: )
PS: i read this two post #1 (http://www.baanboard.com/baanboard/showthread.php?t=16646&highlight=tisfc1101m000) an #2 (http://www.baanboard.com/baanboard/showthread.php?t=27374&highlight=tisfc1101m000) but i don't find solution for my problem.
I generate a dll with ttstpcreatdll from the session tisfc1101m000.
I use this dll in my program.
I have a problem with my code bellow :
dll1101ro.put.Production_Order(i.pdno)
dll1101ro.put.Operation(i.opno)
dll1101ro.find()
pdno.trouv2 = dll1101ro.get.Production_Order()
opno.trouv = dll1101ro.get.Operation()
if pdno.trouv2 = i.pdno and opno.trouv = i.opno then
dll1101ro.put.Start_Date_Remainder(i.rsdt)
dll1101ro.put.Start_Day_Remainder(i.rsdp)
dll1101ro.update(true,o.err)
dll1101ro.end()
if strip$(mess.er) <> "" then
o.err = "?"
o.err = dll0101ro.get.last.message.code()
dll1101ro.end()
endif
endif
dll1101ro.end()
Explanation :
When i test the input data i.rsdt (02/04/2012) and i.rsdp, i have the good value.
After my update (dll1101ro.update), i get tisfcs010.rstd whith the function stpapi.get.field( "tisfc1101m000", "tisfc010.rsdt", value ) and i have the good date (02/04/2012) :)
But when i go on the session tisfc1500m000 for control the modification, no change :eek:
When i control the process after my program, the process tisfc1101m000 is still running !!!
Have you a Idea ?
Thanks
François ... (Sorry for my english :rolleyes: )
PS: i read this two post #1 (http://www.baanboard.com/baanboard/showthread.php?t=16646&highlight=tisfc1101m000) an #2 (http://www.baanboard.com/baanboard/showthread.php?t=27374&highlight=tisfc1101m000) but i don't find solution for my problem.