Tuesday 19 November 2013

Form Personalization: Disable Create Accouting > Final Post

Background:
This explains how to hide/disable 'Final Post'  option under Create Accounting in the AP Invoice Form through Form Personalization.
 Solution:
Navigate to AP Invoice Form [Invoices > Entry > Invoices]
Goto Help > Diagnostics > Custom Code > Personalize

If you hit the following error
Function not available to this responsibility. Change responsibilities or contact your System Administrator.
Then the Solution is set Profile 'Utilities:Diagnostics' to 'Yes'
=> Enter the below data:
Seq = 10
Description = Disable a radio button.

In the Condition Portion enter the below:
Trigger Event       = When-New-Form-Instance.
Processing mode = Both
Level = Here i am selecting 'SRINIVASV'. This means 'Final Post' will not visible for this user.
You can select a Responsibility/Site. Depends on Business requirement.
=> Save.

=> Under Actions Tab, enter following
Seq = 10
Description = Disable radio button.
Object type = Radio Button
Target Object = INV_SUM_ACTIONS.ACCOUNTING_DETAILS.FINAL_POST [Do not try to enter. Take it from LOV]
Property Name = VISIBLE
Value = FALSE
Click on Apply. Save. Close the form. [better close the application and reopen]
Now Got to Invoice Workbench -> Create an Invoice -> Actions -> Validate -> Select Create Accounting -> Now see 'Final Post' is not visible any more

1 comment:

  1. what if, i want to enable for only one user and disable for all rest of the users.

    ReplyDelete