anthony peiris
3rd August 2011, 20:52
Hi All,

I need to 'Generate Product Variant Structure for Sales orders (tipcf5260s000) for sales order lines.

Manual sequence is
1). Maintain Sales Orders (tdsls4101m000) .tdsls40.orno=nnnnn
1.1). Lines (Menu tdslsl4101m000.Lines) --> tdsls4102s000
2) Menu tdsls4102s000.Application.Zoom.Generate Product Variant Structure for Sales Orders (tipcf5260s000)
3). tipcf5260s000.orno.f=nnnnn,pono.f=nn, orno.t=nnnn, pono.t=nn
3.1) tipcf5260s00.Continue

I need to do this through AFS, what would be api call sequence

Thank you

mark_h
3rd August 2011, 21:13
Search on each of these sessions. You should find some sample code for most of them. Activate menu's can be tough. We do not use these sessions so I do not have any sample code that might work.

mark_h
3rd August 2011, 22:43
http://www.baanboard.com/baanboard/showthread.php?t=5833&highlight=api+tdsls4102&page=2 - this is the thread I was thinking about for menus. I did not check sessions names.

anthony peiris
4th August 2011, 17:51
Hi Mark,
Thanks for the links you provided.

I found easier shortcut , That is to invoke tipcf5260m000 ..
Thanks once again