Is it possible to add to the department object?

Confluence User - 04 Nov, 2017

Hi All,

I'm using Enterprise v6 and I have a form which captures information about suppliers and which department (linked to the Department List) has contracted with the supplier.  This form has a subform for the services that supplier provides, including a field for the dollar value of the service.  I need to check this dollar value against a max value for the department.

So, in summary I need to do is store the maximum value for each department and test against it.  To do this I'd like to extend the functionality tied to the organisation structure. 

  1. I tried adding a field to jwdb.dir_deparment but as there is no hash value, is there a way to reference it?
  2. If so, is there a way to update the field from within an app?
  3. Otherwise, is there a way to create a table of additional information which is linked to jwdb.dir_deparment table?

Regards,

Paul

datalists;organisation

3


05 Nov, 2017
confluenceUser
confluenceUser

Hi, the directory tables eg the dir_department have a fixed schema, so its not a good idea to change it although technically its possible. Perhaps a better approach would be to store the additional department information in a separate form? For example, you could display the information in a single form in two separate sections, one loading from dir_directory and another from the custom form table.

07 Nov, 2017
confluenceUser
confluenceUser

Hi, your suggested solution makes perfect sense, thanks.  I've been experimenting with a few different ways (I'm still a joget noob) to implement and I'm struggling to make it happen.  I can see how to create a form that loads dir_department, for me to then link my additional information to.  Are there any examples you could point me to?

09 Nov, 2017
confluenceUser
confluenceUser

Hi, worked it out with a Datalist JDBC query binder across joining dir_directory and my table.

 

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print