kanikahada
25th January 2013, 12:13
this simple afs to maintain lot doesnt give any error and doesnt insert lot,mannually there is no problem,any suggestion are welcome
stpapi.synchronize.dialog("whltc1100m000", "modify", error.msg)
stpapi.put.field("whltc1100m000", "whltc100.ite
stpapi.put.field("whltc1100m000", "whltc100.clot", str$(set.lot))
stpapi.put.field("whltc1100m000", "whltc100.olot","1")
stpapi.put.field("whltc1100m000", "whltc100.bfbp", str$(supp))
stpapi.find("whltc1100m000",error.msg)
ret1 = stpapi.insert("whltc1100m000", true, error.msg)
stpapi.synchronize.dialog("whltc1100m000", "modify", error.msg)
stpapi.put.field("whltc1100m000", "whltc100.ite
stpapi.put.field("whltc1100m000", "whltc100.clot", str$(set.lot))
stpapi.put.field("whltc1100m000", "whltc100.olot","1")
stpapi.put.field("whltc1100m000", "whltc100.bfbp", str$(supp))
stpapi.find("whltc1100m000",error.msg)
ret1 = stpapi.insert("whltc1100m000", true, error.msg)