EpiBinding Help for User Account Customization

Greetings to all.

I am working on a small customization to the “User Account Maintenance” module, whereby two checkboxes are being added that correspond with two UD fields in the [Erp.UserFile] table. I need to bind the checkbox controls back to the established UD fields. However, upon checking the control properties, there does not seem to be a binding reference available for the added UD fields.

Here’s a quick depiction:

Might anyone recognize where I might be going wrong in this example?

Thank you for your input.

Did you close and re-open Epicor before going to the customization screen? The Client needs to load the new datamodel after regen. Also a good idea if that has been done to check the dbo schema for the UserFile view and see if your fields are there. They will be the last columns. If so then something is royally messed up ha ha

I can’t remember but I believe most of those fields move to SysUserFile now… Perhaps the binding is for that table and not Erp.UserFile?

My userfile fields are on userfile not sysuserfile so he should be ok there.

@jgiese.wci / @josecgomez:

Thanks for the quick response guys.

Josh - I did perform a restart of the client (and did so again just to make sure because… there’s the whole old-age-to-viable-memory issue that I personally deal with :woozy_face:). The client is reporting that the table and data model are synched so, I think I’m good there. I don’t see anything in the [dbo] schema (in SSMS) that would related to a user-specific table, so I’m not sure where to go beyond that.

José - I do see a [Ice.SysUserFile] table that appears to be quite similar to [Erp.UserFile]. I’ll try adding the UD fields to that table (assuming that Epicor’s business layer will allow me to do that in the Ice schema) and see how that’ll work out.

1 Like

It appears that the “UD Column Maintenance” module does not allow lookups on the Ice schema.

You should see it in the views if all went well

You are correct. I see it there in the SQL view.

However, going back to the “ EpiBinding ” in the checkbox control properties, that property contains no binding reference for “ UserFile ”.

The reason I believe I need to target the [ Erp.UserFile ] table is because I performed a quick test edit on my own Epicor user account using “ User Account Maintenance ” and the results were visible on the corresponding user record within that table.

Sure it does… I wonder why you can’t see it.

@josecgomez – I’m rechecking now…

@josecgomez – Gee… (cough, cough)… there it is right there! :sunglasses:

im-blind

Now mind you this may not be the issue I’m doing some testing on my side too. But maybe worth a shot…

Thanks for doing the extra work and lending a hand, José. I’ll move ahead on this while anticipating your test results, as well.

@josecgomez – I’ll be stepping away for an hour meeting, but will come right back to this.

Yup I can confirm as of 300.X SysUserFile is what show sup.

@josecgomez:

I set up my UD fields on the [Ice.SysUserFile] table instead of the original [Erp.UserFile] table and sure enough, the EpiBinding reference contained the UD fields as defined.

To @jgiese.wci’s credit, SSMS maintains the view in the “dbo” schema, as he had previously suggested that I check.

Updated results here:

Again, José… I appreciate your valuable interaction here, as well as the input from @jgiese.wci. You guys pulled me out of the weeds once again! :+1:

1 Like

Good to know when I get off 200 my userfile is going to break.

2 Likes

Heck, @jgiese.wci … I forgot to mention …

:birthday:    H-A-P-P-Y    B-I-R-T-H-D-A-Y   ! ! !     :birthday:

1 Like

How do you get the custom fields on UserFile entry to be available to choose in the customization?

Was the solution to create new fields in UD Column Maintenance on the table called SysUserFile instead of UserFile?

Greetings, Scott.

If I recall, yes. I created the UD fields on the [ Ice.SysUserFile ] table, which were merely “bit” (boolean) fields to accommodate the checkboxes on the “User Account Maintenance” form.

NOTE — We eventually scrapped the idea outlined above in favor of simply creating new Security Groups for this purpose. The security group method did the following things for us:

  1. Helped us to avoid adding another customization to maintain
  2. Leverage module and field security using out-of-the-box functions/processes

The original reason for that customization was to flag a user account as an authorized “official” for electronically signing specific quality inspection forms (generated via SSRS). After thinking the matter through (of course, well after I completed the original proof-of-concept), I realized that I could do the same thing by simply adding a few more security groups to define this purpose. Once the specific quality inspectors were added to these groups, I could then allow/disallow users from seeing the custom sign-off fields for this customized Quality module.

So, if you were a member of the “MDR Grade 1” security group, you would see the “MDR Grade 1” sign-off field in the customization, but you would not see the “MDR Grade 2”, etc.

If I went forward with my original idea outlined above, I would have been re-inventing existing security functionality already provided within the system.


You may have different reasons for adding customized fields to the “User Account Maintenance” module that are unrelated to user security concerning access to forms and fields. So, in that case, yes, you’d add your UD fields directly on the [Ice.SysUserFile] table and bind your form controls to them.