mathew
29th July 2018, 04:22
Hi friends,
When i do manual db.insert for the fginv line in table tdilc402 using receipt line it was giving error 606 reference does not exist due to warehouse(tdilc402.cwar = tdrpl100.dwar and location tdilc402.loca = "FGINV" field (order type is RPL).
If i try below code using AFS code for multiple lines maintain inbound it was getting inside 5th line error message, don't know what it preferring.
rc = stpapi.browse.set("tdilc4515s000","first.set", msg)
rc = stpapi.mark("tdilc4515s000",msg)
stpapi.continue.process("tdilc4515s000",msg)
if not isspace(msg) or rc<>1 then
stpapi.end.session("tdilc4515s000")
stpapi.end.session("tdilc4104s000")
stpapi.end.session("tdilc4103m000")
return
endif
Please help me in any one of the way to create multiple FGINV location line using location RECEIPT in tdilc402(maintain inbound) table.
When i do manual db.insert for the fginv line in table tdilc402 using receipt line it was giving error 606 reference does not exist due to warehouse(tdilc402.cwar = tdrpl100.dwar and location tdilc402.loca = "FGINV" field (order type is RPL).
If i try below code using AFS code for multiple lines maintain inbound it was getting inside 5th line error message, don't know what it preferring.
rc = stpapi.browse.set("tdilc4515s000","first.set", msg)
rc = stpapi.mark("tdilc4515s000",msg)
stpapi.continue.process("tdilc4515s000",msg)
if not isspace(msg) or rc<>1 then
stpapi.end.session("tdilc4515s000")
stpapi.end.session("tdilc4104s000")
stpapi.end.session("tdilc4103m000")
return
endif
Please help me in any one of the way to create multiple FGINV location line using location RECEIPT in tdilc402(maintain inbound) table.