Hi all; Code below doesn't work? I think, it tries to choose line but no line choosen in purchparmline table?
Any Help?? Thanks.. static void PurchPost(Args _args) { salesTable st; SalesLine sl,int_sl; SalesTable int_st; PurchTable p; PurchLine pl; PurchFormLetter_PackingSlip purchFormLetter = purchFormLetter::construct(DocumentStatus::PackingSlip); ; Select p where p.PurchId like "00000058_056"; if(p) { purchFormLetter.update(p,"",systemDateGet(),PurchUpdate::All,AccountOrder::None,NoYes::No,NoYes::No); } } ------------------------ Yahoo! Groups Sponsor --------------------~--> Has someone you know been affected by illness or disease? Network for Good is THE place to support health awareness efforts! http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
<<winmail.dat>>