...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public Map createQuantityFollowup() { MobRequestItemAndDimensionElement postRequest = request; Map returnMap = new Map(Types::String, Types::Class); InventOnhand inventOnhand; InventDim inventDimOnHand = postRequest.createToInventDim(postRequest.parmInventDim()); InventDimParm inventDimParm; int add =1000; inventDimParm.initFromInventDim(inventDim); inventOnhand = InventOnhand::newParameters(postRequest.parmItemId(), inventDim, inventDimParm); // Add the step to register the Quantity returnMap.insert(MobConstants::Quantity(),MobRegistrationCollectorDecimal::DecimalStepMap(add,MobConstants::Quantity(),"@SYS130676",new SysDictType(extendedTypeNum(Qty)).label(),'',false,strFmt('%1',inventOnhand.availPhysical()),0,10000000,14,MobConstants::GS1_QTY())); return returnMap; } |
See also
...