Stop the user to open new Purchase Order

navprnavpr Member Posts: 6
Hi,

I need to do a modification on user permissions to stop some user to open a new Purchase Order. The actually can do anything else in Purchase Order, modify the line or header, insert new lines modify existing lines etc.. they just don't need to have permission to open a new Purchase Order. I did some changes in User Permissions,:

Table 38 - Purchase Header Read(YES), Insert ( ) , Modify (YES), Delete(YES), Execute( )

Table 122 - Purch. Inv. Header Read(YES), Insert ( ) , Modify (YES), Delete(YES), Execute( )

Form 50 - Purchase Order Read(YES), Insert ( ) , Modify (YES), Delete(YES), Execute( )

Table 51 - Purchase Invoice Read(YES), Insert ( ) , Modify (YES), Delete(YES), Execute( )



But they still can open new Purchase Order.



P.S. These users should open a new Purch. Credit Memo but not Purch. Orders.

Comments

  • geordiegeordie Member Posts: 655
    Since Purchase Order, Invoice, Credit Memo, Quote and Return Order are stored in the same table (38 - Purchase Header) you cannot achieve this via permission, you need to handle this case via code in the PO page.
  • apertierraapertierra Member Posts: 61
    geordie wrote:
    Since Purchase Order, Invoice, Credit Memo, Quote and Return Order are stored in the same table (38 - Purchase Header) you cannot achieve this via permission, you need to handle this case via code in the PO page.
    In fact it would be better to do so in the onInsert event on the table.
Sign In or Register to comment.