Hi,

I am new to AX and was wandering if I could get some help with this.  
I want to be able to print a delivery note for an order using code.  
The code is being called using the business connector.  

I tried the following:

mysalesFormLetter  = 
SalesFormLetter::construct(DocumentStatus::PackingSlip);
     sale = SalesTable::find(PickingRoute_ds.transRefId);

            ttsBegin;
            mysalesFormLetter.update(sale, systemDateGet(), 
SalesUpdate::DeliverNow, AccountOrder::None);
  ttsCommit;
return ("Success");

but when running the code, nothing really happens.  Any ideas?

regards,

Reply via email to