--Order 20015401

insert into automaticflag
          (automaticflag_id,
           event,
           systemuser_id,
           timestamp,
           selectable,
           deletable,
           transferable,
           flagtype)
        values
          (24,
           'Quit Wearer Inventory',
           getminsystemuser(),
           sysdate,
           'Y',
           'N',
           'Y',
            1);
commit;