Select Item Code by condition

Hi Everybody,

On Nav 2013 I create 1 page with table Sales Line (ID - 37). I want on Lines when select Type ::Item and No. is

condition I add on page (Only select the Item Code "Inventory Posting Group" = FINISHED)

But it's not work. Please help me fix Code. Thanks very much
ItemRec.RESET;
ItemRec.SETRANGE("Inventory Posting Group",'FINISHED');



Related
Recommended