Thursday, 28 April 2016

change_invmodelgrp,

static void _kr_change_invmodelgrp(Args _args)
{
   inventModelgroup t;
   ;
   ttsbegin;
   select forupdate t where t.ModelGroupId == 'std cost';
   t.InventModel = // InventModel::StdCost;//
              InventModel::FIFO;
   t.update();
   ttscommit;
   info('done');
}

No comments:

Post a Comment