infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
LS Accounting Unit Filter
Legacy Contributor
Good afternoon,
We have been on LS9 for about two years, however we have not been able to get the AccountingUnitControl Attribute to work successfully.
We had some people in from Lawson (read Infor) a couple of weeks ago, and they assured me that this functionality works.
I have created an Element Group of COMPANYAU (Elements COMPANY and ACCT-UNIT), and have had various attempts at getting this to work.
I can't even get a Rule to work for the Form, let alone accessing the Data.
I was told by Lawson (read Infor) to use the ElementGroupAccessible for the Data, but I am still having an issue access GL20 (rather basic huh!).
Any help would be greatly appreciated.
Peter
Find more posts tagged with
Comments
jacob-jellison
Hi. I've been able to lock down by Company and Acct Unit.
The rules looks something like this:
user.attributeContains('CompanyControl',form.GLN_COMPANY)&&user.attributeContains('AccountingUnitControl',form.GLN_ACCT_UNIT)
All_access
Else
No_Access
The users LS record would need to contain the valid companies and account-units the user should have access to (or vice versa if there are more acct-units that they do not need to see...i.e negate the rule)
Legacy Contributor
Thanks for the information.
rather than creating a rule for each token, after speaking with Lawson they suggested I also crete a rule for the relevant Tables, in order to alleviate any issues that may arise from Drill Arounds.
Hence why I created an Element Group, however I not been able to get this to work successfully to-date.
Legacy Contributor
I am brand new to LS9 security and I am trying to duplicate some data level security I had in place in LAUA. On the GL40 (line FC) I am able to get the desired results with the following but I don't want to have to create this on every allowable form.
if(form.GLC_COMPANY == '200')
'ALL_ACCESS,'
elseif(form.GLC_COMPANY == '250' && form.GLT_ACCT_UNIT == '2502300' && form.GLT_ACCOUNT == '1001' && form.GLT_SUB_ACCOUNT == '600')
'ALL_ACCESS,'
elseif(form.GLT_TO_COMPANY == '0' )
'ALL_ACCESS,'
else
'NO_ACCESS,'
Where exactly is AccountingUnitControl? I had attempted to create an element group wit Co, Acct, Acct unit and sub account and had no luck.
I also can't get the select list to give me just the two companies like LAUA security did.
I would appreciate any insight or assistance as well.
Legacy Contributor
Ahhh, found the AccountingUnitControl
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices