Источник:
http://sumitax.wordpress.com/2010/09...rder-creation/
==============
Scenario
Cretion of Purchase order manually when a Sales Order is created through EP.
Method
Following is code for automatic PO creation:
TradeInterCompany::autoCreateOrder(salestable::find(salesbasketControl.salesId()));
These changes need to made in SalesAutoCreate_Basket_ECP Class i main method
Источник:
http://sumitax.wordpress.com/2010/09...rder-creation/