Tuesday, January 21, 2014

Check item for tracking dimension activation

    InventDimSearch dimSearch    = new InventDimSearch();
    ItemId             itemid               = "P50000000123";
    InventTable     table                 = InventTable::find(itemid);
    boolean           b;
    ;


    b = dimSearch.findActive(table.DimGroupId,fieldnum(InventDim,InventBatchId));
    print b;
    pause;

No comments:

Post a Comment