Page 1 of 1

Restrict Change Item Description

Posted: Mon Mar 22, 2010 3:46 am
by wenjie
I want to restrict changing item description , only someone which have privilage can change the item description in Inventory,

can someone tell me how,

thx

Posted: Mon Mar 22, 2010 9:12 am
by oteixeira
Hello.

You can use Forms Personalization to do that. As the personalization can be assigned to Users or Responsibilities you can easily allow or disallow the item description changing.

Octavio

Posted: Tue Mar 23, 2010 1:24 am
by wenjie
can u guide me,

thx

Posted: Tue Mar 23, 2010 6:32 am
by oteixeira
Hello.

This is to be done on the Master Item form (INVIDITM):

-Open the form.
-From the menu, choose Help/Disgnostics/Custom Code/Personalize.
-On the Form Personalization window enter a Seq nr and a description for the personalization.
-On the Condition tab:
Trigger Event-> WHEN-NEW-ITEM-INSTANCE
Trigger Object->MTL_SYSTEM_ITEMS.DESCRIPTION_MIR
On the Context area, enter the users and/or resposibilities to be affected by this personalization.
-On the Actions tab:
Seq->
Type->Property
Language-All

Object Type->Item
Target Object->MTL_SYSTEM_ITEMS.DESCRIPTION_MIR
Property NAme->ALTERABLE (APPLICATIONS COVER)
Value->FALSE

Save your work and close all forms. Then reopen the Master Items window, query an item and see if the description can be changed.

Let me know if it worked.
Octavio

Posted: Wed Mar 24, 2010 4:31 am
by wenjie
THANKS BRO FOR REPLY,