Dependent and Editable Table Business Object

Seems that when you use a Grid, bind / associate it to a Table BO, then mark it as 'Optional', you lose the "field is dependent" option.

This sucks because I want to populate the Table BO based on it's defined parameter.  I want to pass the parameter based on another form field. 

 

So this is impossible without initiallizing that parameter on form load?

Tagged:

Comments

  • Hi,

     

    I think I know this scenario all too well.

    Two possible workarounds (although the first option may not be entirely suitable):

     

    1. Have a Read-Only grid that will refresh based upon selections of dropdowns etc... Then have something like an 'Edit' button next to your grid which will hide your read-only grid and present the editable grid after doing something to populate it maybe.

     

    1. Scrap the use of the editable grid and have form controls that you fill in and then click 'Add', which adds a new row to your read-only grid.  So on your form I'd expect to see something like a section for adding to the grid and the grid itself.

     

    Personally, I opt for option two as it can offer a bit more freedom.

     

    Hope that helps.

    Phil

  • SoFloAg - This is because the data for the business object is only committed once the form is submitted.  You could also try to submit and re-open the form with the updated parameter, but this may perform too poorly to be usable.  You would need to test.

  • Thanks Rob and Phil.  Yes I just went with the RO Grid and supplemental form fields.