Sunday, July 3, 2016

Query Range for Existing Range field in ax 2012 AOT Query

//Query Range for Existing Range field in ax 2012 AOT Query

Query --> init-->

this.query().dataSourceTable(tableNum(InventValueReportTmpLine)).rangeField(fieldNum(InventValueReportTmpLine,InventLocationId)).value("");
this.query().dataSourceTable(tableNum(InventValueReportTmpLine)).rangeField(fieldNum(InventValueReportTmpLine,InventLocationId)).status(1); // 1 Lock , 0 Open

No comments:

Post a Comment

Override custom dimension value on posting sales invoice in X++

 Requirement: 1. Override custom dimension value on posting sales invoice 2.  Ledger posting type as "Cost of goods, invoiced" ...