0% found this document useful (0 votes)
35 views2 pages

Project - Local Security Settings: Problem

The document describes a solution to restrict editing of address fields for selected users in the accounts receivable (AR) module. A master table was set up to store restricted users. A method was added to the customer table form to enable or disable address fields based on whether the logged in user is in the restricted users table. The method is called from the customer table datasource active event to implement the restriction. The solution allows security issues to be addressed across all modules by adding new fields to the local security master table.

Uploaded by

vipul224
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Project - Local Security Settings: Problem

The document describes a solution to restrict editing of address fields for selected users in the accounts receivable (AR) module. A master table was set up to store restricted users. A method was added to the customer table form to enable or disable address fields based on whether the logged in user is in the restricted users table. The method is called from the customer table datasource active event to implement the restriction. The solution allows security issues to be addressed across all modules by adding new fields to the local security master table.

Uploaded by

vipul224
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Project Local Security Settings

Master Table JIN_LocalSecurity/Master Form JIN_LocalSecurity

Problem Must restrict edit facility in credit Customers address fields for selected Users in AR module. Solution Set up master table for Restricted Users. And add new Method For CustTable Form To Enable/Disable Address Fields
void EnableAddreessFields() { Jin_LocalSecurity ; if([Link] == 'CRD') { Select Firstonly LocalSecurity if(LocalSecurity) { Where [Link] == curuserid() && [Link] == NoYes::Yes ; LocalSecurity;

[Link](false); } else { } }

[Link](true);

else { [Link](true); } }

Then Call that method under the CustTable datasource active Event as Follow
public int active() { int ret; ret = super(); //VAR-Modification on 05 Nov 2007 at [Link] by Sankar Ganesh S - Begin //Purpose: [Link](); //VAR-Modification on 05 Nov 2007 at [Link] by Sankar Ganesh S - End //Purpose: //VAR-Modification on 25 Mar 2009 @ 9.24 A.M By Vipul Ranathunga //Restrict Users to avoid credit customer address change [Link](); return ret; }

Comment
By Adding new fields into LocalSecurity Master table The Security issues can cover up in all Modules

You might also like