Skip to content

Instantly share code, notes, and snippets.

@anestan
Last active November 27, 2018 07:45
Show Gist options
  • Save anestan/fe4a952537ae30900b44c3b5849fd4a0 to your computer and use it in GitHub Desktop.
Save anestan/fe4a952537ae30900b44c3b5849fd4a0 to your computer and use it in GitHub Desktop.
sql server infor
# how to check item untuk obsolete
select item, description, show_in_drop_down_list, reason_code, stat from item_mst where item='12-01-AA05-00001';
# untuk update item jadi active dan bisa di select
update item_mst set stat='A', show_in_drop_down_list=1, reason_code='' where item='12-01-AA05-00001';
# untuk membuat item jadi obsolete
update item_mst set stat='O', show_in_drop_down_list=0, reason_code='A02' where item='12-01-AA05-00001';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment