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.

mathew
29th July 2018, 04:29
Hi friends it is creating problem doing manual insertion of fginv line using db.insert query with receipt line, due to warehouse and location field raising error 606 reference does not exist.

Also maintain inbound afs code not inserting multiple fginv lines using receipt location in tdilc402. Please help on this issues

mark_h
29th July 2018, 19:23
You can check this http://www.baanboard.com/baanboard/showthread.php?t=25539&highlight=tdilc4515s000 thread to see if it helps any. I assume you made sure the location and warehouse are correct and the reference does exist. I have not done replenishment orders thru AFS - just inbound. The thread does mention some solutions to look at.

mathew
9th August 2018, 21:00
Thanks for your reply Mark. I have fixed the issue.

mark_h
12th August 2018, 17:45
How did you fix it?

mathew
4th October 2018, 08:49
Sorry for late reply Mark, it is leading spaces issue, i have checked the space how they used and defined the values as " " & tdilc402.loca.So it is fixed .