static void CompareInventDimParm(Args _args)
{
Inventtable Inventtable = Inventtable::find(‘CW’);
InventDimParm ItemParm;
InventDimParm OnHandParm;
;
ItemParm = InventDimParm::activeDimFlag(InventTable.DimGroupId);
OnHandParm.ConfigIdFlag = NoYes::Yes;
OnHandParm.InventLocationIdFlag = NoYes::Yes;
//OnHandParm.WMSLocationIdFlag = NoYes::Yes;
if(InventDimParm::isInventDimParmEqual(OnhandParm,ItemParm))
print "Both are equal";
else
print "Not Equal";
pause;
{
Inventtable Inventtable = Inventtable::find(‘CW’);
InventDimParm ItemParm;
InventDimParm OnHandParm;
;
ItemParm = InventDimParm::activeDimFlag(InventTable.DimGroupId);
OnHandParm.ConfigIdFlag = NoYes::Yes;
OnHandParm.InventLocationIdFlag = NoYes::Yes;
//OnHandParm.WMSLocationIdFlag = NoYes::Yes;
if(InventDimParm::isInventDimParmEqual(OnhandParm,ItemParm))
print "Both are equal";
else
print "Not Equal";
pause;
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.