erp - Auto set active subitem segment value in Stock Item screen -
how can set active sub-item segments in subitems tab stock items screen using code ? insubitemsegmentvalue class not contain active field...
here's solution
pxcache cache = base.caches[typeof(insubitemsegmentvaluelist.svalue)]; foreach (insubitemsegmentvaluelist.svalue item in cache.cached) { item.active = true; cache.update(item); }
Comments
Post a Comment