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;
}
Aucun commentaire:
Enregistrer un commentaire