iscons
19th January 2015, 23:57
Baan V :
Below code works perfect on development, but when put into test it does not work. Development and test are on the same sever/port set etc
stpapi.put.field("tisfc0203m000","tisfc001.pdno",i.pdno) stpapi.enum.answer(tisfc0203m000","tisfcs0239",tcyesno.no)
stpapi.enum.answer( "tisfc0203m000","tisfcs0240",tcyesno.no)
stpapi.enum.answer( "tisfc0203m000","tisfc0203a", tcyesno.no)
stpapi.form.command( "tisfc0203m000", 5, "cancl.booking.with.commit", error )
no error is returned from the stpapi.form.command() call.
on dev prod order is cancelled, on test the order is not.
Looked at using DAL, its a mess with half the code
in DAL and rest in UI script
Below code works perfect on development, but when put into test it does not work. Development and test are on the same sever/port set etc
stpapi.put.field("tisfc0203m000","tisfc001.pdno",i.pdno) stpapi.enum.answer(tisfc0203m000","tisfcs0239",tcyesno.no)
stpapi.enum.answer( "tisfc0203m000","tisfcs0240",tcyesno.no)
stpapi.enum.answer( "tisfc0203m000","tisfc0203a", tcyesno.no)
stpapi.form.command( "tisfc0203m000", 5, "cancl.booking.with.commit", error )
no error is returned from the stpapi.form.command() call.
on dev prod order is cancelled, on test the order is not.
Looked at using DAL, its a mess with half the code
in DAL and rest in UI script