
Atronics wrote:How can I incorporate a SQL script to replicate a "standard user"profile to the user logging in to Jiwa? i.e the user's profile is updated on login.


public void ButtonClicked(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.SystemSettings.Setting SystemSetting)
{
if (SystemSetting.IDKey == "ModelUser") {
var staff = new JiwaFinancials.Jiwa.JiwaApplication.Entities.Staff.Staff();
staff.Search(FormObject.Form);
SystemSetting.Contents = staff.RecID;
SystemSetting.DisplayContents = staff.DisplayName;
}
}
var staff = new JiwaFinancials.Jiwa.JiwaApplication.Entities.Staff.Staff();

Mike.Sheen wrote:Plugin updated to work with the changes introduced since the original plugin was published. Tested and verified as working on 7.2.1.



(it would be a pointless exercise if a profile contains *all* items not just *customised* items)pricerc wrote:Do the saved TabControlSettings for a user only store modifications from the default that a user has made, or is it everything that could potentially be customised?
e.g. If I have a user who only deals with sales, and has modified the details grid on their S/O entry, but none of the other screens in the system, will their profile only include SO customisations, or would it also include, say, purchasing settings, even if they never use purchasing ?
Where I'm heading with this is: is there scope for having a 'merge' profile variation on this plugin, where we can customise/standardise parts of the UI, but leave other parts for individual management?
(I'm happy to tackle the work, but don't want to waste time trying to figure out how if it would be a pointless exercise).

Return to Technical and or Programming
Users browsing this forum: No registered users and 5 guests