layswan
9th January 2014, 08:24
Hi,
I used the function tcmcs.dll0050.check.and.generate.order.number() to autogenerate the first free number and the full code as shown as below:
choice.update.db:
before.choice:
seri.num = txswn050.orno
err = tcmcs.dll0050.check.and.generate.order.number(3, seri.num, "X01", 3, ord.no)
message("series number:%s", seri.num)
message("order number: %s", ord.no)
message("Err: %d", err)
But I get te value for Err: -12 which is DALHOOKERROR on errors.
So anyone has any idea on this error message mean?
Thanks!
I used the function tcmcs.dll0050.check.and.generate.order.number() to autogenerate the first free number and the full code as shown as below:
choice.update.db:
before.choice:
seri.num = txswn050.orno
err = tcmcs.dll0050.check.and.generate.order.number(3, seri.num, "X01", 3, ord.no)
message("series number:%s", seri.num)
message("order number: %s", ord.no)
message("Err: %d", err)
But I get te value for Err: -12 which is DALHOOKERROR on errors.
So anyone has any idea on this error message mean?
Thanks!