-
[quote user="Khalid Mohammed"] Comment the code // custVendTrans.ApprovedBy = approvedBy; // custVendTrans.Approved = approved; in \Classes\CustVendVoucher\initCustVendTrans and done. [/quote] The impact of this change will be high, as this is the entry point for all the customer and vendor transaction. To minimize the risk we need to perform a document/transaction specific change...
-
In AX 2009 \Classes\SalesFormLetter_Invoice\createCustTrans will start the process and \Classes\CustVendVoucher\post will do the insert In AX 2012 \Classes\SalesInvoiceJournalPost\postCustVend will start the process and \Classes\CustVendVoucher\post will do the insert They use custVendTrans Map. The easiest way to find these things is to add a break point to the custTrans.insert() method and to follow the call stack...
-
The other option is to load the image by using BinData and Image classes Image image; BinData binData = new BinData(); #define.fielName('D:\images.jpg') ; if (WINAPI::fileExists(#fielName)) { binData.loadFile(#fielName); image = new Image(); image.setData(binData.getData()); images.image(image);//images is the windows control name }
-
Does it is posted through batch?
-
What is the status of the batch job?
-
[quote user="lally"]Even product type = Item or Service , if user does not want to trace the inventory transactions , then dont place a check mark in the stocked product field .[/quote] Yes. [quote user="lally"]Apart from the inventory transactions , do we have any another importance of Stocked product field in IMG( Inventory model group) ?[/quote] Product Type = Item + Stocked product is equivalent to the ItemType - Item/BOM in earlier versions, so every thing applies here
-
If it is posted in batch, then a batch Job will be created, see the status of the batch job - it might be waiting. See the purchparmtable.parmjobstatus after the job is ended.
-
AIF
-
Item can be stocked or non stocked, non stocked is applied when the item's inventory is not necessarily to be tracked, means no inventory transactions, no on hand and no closing process. The difference between non stocked and service items is that service items will have inventory transactions(though they will not have the onhand tracking) and they will be considered by the closing process.
-
Change the format to -## from Warehouses -> Location Names tab