Get product variant in AX 2012 (X++)
Get product variant in AX 2012 (X++) Product variants are setup for product master to distinguish between the same product with respect to size, colors etc. For example, Bi-Cycle is the product master and its size and color can be different which are its variant. Product variant can be seen from: Product information management > Common > Released product Select any item and click on Released product variants. These variants can be fetched using following code through X++. Using Query Build Datasource: Query query = new Query(); QueryBuildDataSource qbds, qbdsDim; QueryRun qr; InventDim InventDim; ItemId itemId = "10001" ; qbds = query.addDataSource( tableNum (InventD...