Thursday, August 11, 2016

Code to create Intercompany PO and SO X++

//Code to create Intercompany PO and SO X++

//Inter Company PO from Sales Order

Input Table Buffer must be salesTable or SalesLine

Class -->TradeInterCompany
Method-->autoCreateOrder("Table Buffer"); // Static Method

Table Reference for Intercompany order
// Table ->InterCompanyPurchSalesReference

No comments:

Post a Comment

Search hierarchy for a match (TableALLGroup) X++

  Table1 ppt;  select firstonly ppt  order ItemCode, ItemRelation, AccountCode, AccountRelation where      (ppt.ItemCode == TableGroupAll::T...