Hi everyone,
I use ax2012 r3.
Form : InventOnhandItem
Data Source - > contains InventDim , InventSum and etc
There is a method added in the InventSum(table) , which works perfectly.
methods's source:
display PdsVendBatchId inventBatchPdsVendBatchId() { InventDim inventDim; ; inventDim = this.joinChild(); return InventBatch::find(inventDim.inventBatchId,this.itemId).PdsVendBatchId; }
Also have :
Form : InventTransItem
Data Source -> contains InventDim and etc. I add InventBatch(table)
In InventBatch table create method as above with the same code , but when I was debug InventTransItem(form) and go inventBatchPdsVendBatchId(method) -> inventDim.inventBatchId is empty , but in the other form(InventOnhandItem) it is not empty.
what to add to work ?
My task: add one more column in InventTransItem(form) to show VendorBatch.
Best Regards
*This post is locked for comments