Featured post

General Ledger Revaluation

General Ledger Revaluation Account balances denominated in foreign currencies are adjusted through the revaluation procedure. Revaluat...

Tuesday, 25 April 2017

Make DFF Segment readonly through Security Rules

Goal: Define new DFF segment in Transactions Form and make it read only to Receivables Manager responsibility. All other responsibilities will have access to enter and edit the values and Receivables Manager will have access to only read but not edit and enter the value.

You cannot make DFF segment read-only through personalization but you can restrict users from changing the value in DFF segment through personalization by displaying error message when they try to save the form.
Steps:
1. Define New Segment for DFF in Transactions forms.
2. Define Security Rules
3. Test it.
If you are not familiar with enabling the DFF (Descriptive FlexFields) click here
Define new SEGMENT for DFF in Transactions Form
Navigation: Receivables Manager >> Transactions >> Transactions
alt
alt
click on the box which is enclosed in []
alt
So we have already one segment Available.
DFF that I have in this form is
TitleTransaction Information
ApplicationReceivables
And it has one segment enabled and displayed.
Navigation: Application Developer >> Flexfield >> Descriptive >> Segments
alt
alt
Enter F11 and then fill the information
: Receivables
Title: Transaction Information
Do CTL + F11
alt
uncheck the “Freeze Flexfield Definition”
alt
Click OK
Now the screen looks like this.
alt
alt
Add New Segment by clicking + Icon on the toolbar and enter the following information
Number10
NameDEMO
Window PromptERP DEMO
ColumnATTRIBUTE11
Value Set: erp_demo (click here to see how to define value set)
alt
Click open
alt
Check Security Enabled Flag and uncheck the Required flag
save (CTL+S)
Close it.
Close Segments Screen.
Check the Freeze Flexfield Definition check box
alt
Click OK.
Save it.
alt
alt
Click OK.
Close this Form.
Define Security Rules
Navigation: System Administrator Responsibility >> Security >> Responsibility >> ValueSet >> Define
alt
Click to open
alt
Enter existing value set name erp_demo which we assigned to DFF segment that we defined above.
alt
Click Find
alt
Enter the following information
Nameerpschools
Descriptionerpschools.com
Messageerpschools.com demo
In Security Rile Elements
TypeExclude
FromA
ToD
Add New record and enter
TypeInclude
FromDon’t fill anything
ToDon’t fill anything
alt
Save it.
Click on Assign Button to restrict this functionality to a specific responsibility. This is optional.
alt
Enter the following information
ApplicationReceivables
ResponsibilityReceivables Manager
Nameerpschools
alt
Save and close.
Testing:
To test the changes Navigate to any Receivables Responsibility like US Receivables Manager which has access to Transactions form and query up any record.
Then navigate to DFF and enter some value for ERP DEMO and save the record.
Come back to Receivables Manager responsibility and query up the same transaction which you saved above.
alt
Define New ValueSet:
alt
To assign values to this value set follow the navigation path below and do accordingly
Navigation: Application Developer >> Flexfield >> Descriptive >> Values
alt
alt

No comments:

Post a Comment

Please review my topic and update your comments

Note: only a member of this blog may post a comment.