patwanirav
11th July 2015, 06:00
Anyway to execute "Release Outbound Advice" step directly without opening session ? I mean, through calling any function.
Reason : Release outbound advice form command on session whinh2120m100 is taking around 6-10 seconds.
darkhorse
11th July 2015, 13:23
Hi Nirav,
Without opening session, If you want to execute that session then the best option I would suggest you to make use of AFS.
Make a function in which you call the session through AFS and execute it passing appropriate values. Make that function as Form Command.
benito
13th July 2015, 18:55
use session whinh4202m000 (release outbound advice).
patwanirav
28th July 2015, 06:26
Dear darkhorse, AFS in background opening and closing the session. I had used the AFS only.
Dear Benito, I am not in a position to use that session whinh4202m000 as in some cases it is failing to release advice. we have reported this bug to infor with incident and they are working on this issue.
Is there any way to release the advice by just calling any function ? help in this matter is mostly appreciated. thanks in advance :)
bhushanchanda
28th July 2015, 09:33
Hi,
Check this DLL-
whinh.dll4200.process.outbound(
i.action,
i.use.default.reports,
i.advice.report,
i.shortage.report,
i.order.origin,
i.order.number,
i.order.set,
i.order.line,
i.order.sequence,
i.advice,
i.bom.line,
i.qty.planned,
i.run,
i.handling.unit,
i.read.for.update,
i.advice.log,
i.mask,
i.xdock,
i.load,
i.shipment,
i.location,
o.qty.shortage
)
You can use ttstpbaandoc to know more details. Also, you will need to read all the related tables before calling. And also, you will need to generate a run number or use any existing run number.