SWO_hayashi
23rd June 2015, 05:36
The goods warehousing receipt has been developed so that it can be automatically processed by the AFS programming.
As a result of testing after development, it was found that the session falls prematurely.
When you see the processed data when an error occurs, warehousing receipt header has been created, line is not linked.
It is believed to have fallen in the "suspend" around the program.
Cause I do not know.
mark_h
23rd June 2015, 15:22
This is the correct forum for questions on afs. I would say search this forum for the sessions you are using. I do not know enough about LN to be helpful in this case. I do know in LN they recommend the use of DAL2 over AFS so you might want to investigate that.
bhushanchanda
24th June 2015, 08:16
Hi,
The best way to create Warehouse Receipts in LN is to use DAL. It's simple and gives you proper error messages using dal functions.
But for this issue, I will suggest you to raise the suspend() duration as the link lines to receipt takes a long time and suspend(10) is too short.
Check this (http://www.baanboard.com/baanboard/showthread.php?t=64539)
Again, I will prefer to go with DAL rather than AFS.
SWO_hayashi
26th June 2015, 03:06
Thank you for your answer.
I will try it.
By the way, could you give me sample program which creates receipt
number and links purchase orders?
If it works well and faster than AFS, I will try to use it.
(It is hard to know to map table for receiving.)
benito
26th June 2015, 17:31
see whether you can use this dll. i have successfully used this before:
whinh.dll3005.create.receipt.line.for.given.values(...)