Hi all, I would appreciate some commentary on an issue I've run into with Repeating Sections.
I have a database design which uses a very similar format to that of a typical order header table + order lines table format. In this simple case, I have been able to follow the available tutorials and commentary to make this scenario functional in a UX component using the repeating section. The system allows me to create a form which is bound to both the header and line items, fill in information, and submit new data to both tables using the built-in action scripting. All seems to work well.
My scenario, however, also has an additional table (extra data, let's say) which has a one to one relationship to the order lines in the above example. Alpha allows me to link (one-to-one) the extra data table nested under the the one-to-many link of the order lines in the data binding dialog, and also allows the creation of data bound controls. When generating the SQL insert statements, it appears that Alpha overlooks the fact that the extra data table even exists. The header record and multiple line item records are inserted, but the extra data is ignored. Consequently, when the form is refreshed the controls bound to the extra data table are cleared because the data was never inserted.
I have checked the SQL statements being executed, and it appears the extra data is not even considered. I ran a debug statement, and the extra data is present in the form submission.
Further, I manually created some record entries to simulate a proper set of data. When viewed for edit in the same UX, the extra data record is present and properly represented. I am also able to change data in the form and successfully submit the data to the database for update.
I am willing to produce a test project for review, or provide more information, but I was hoping someone would recognize this scenario and tell me I forgot to tighten the muffler bearing clamp. :)
I am running build 2999-4519. All testing has been done in the developer environment.
I have also tested this in the latest pre-release build.
Thank you in advance for any suggestions.
I have a database design which uses a very similar format to that of a typical order header table + order lines table format. In this simple case, I have been able to follow the available tutorials and commentary to make this scenario functional in a UX component using the repeating section. The system allows me to create a form which is bound to both the header and line items, fill in information, and submit new data to both tables using the built-in action scripting. All seems to work well.
My scenario, however, also has an additional table (extra data, let's say) which has a one to one relationship to the order lines in the above example. Alpha allows me to link (one-to-one) the extra data table nested under the the one-to-many link of the order lines in the data binding dialog, and also allows the creation of data bound controls. When generating the SQL insert statements, it appears that Alpha overlooks the fact that the extra data table even exists. The header record and multiple line item records are inserted, but the extra data is ignored. Consequently, when the form is refreshed the controls bound to the extra data table are cleared because the data was never inserted.
I have checked the SQL statements being executed, and it appears the extra data is not even considered. I ran a debug statement, and the extra data is present in the form submission.
Further, I manually created some record entries to simulate a proper set of data. When viewed for edit in the same UX, the extra data record is present and properly represented. I am also able to change data in the form and successfully submit the data to the database for update.
I am willing to produce a test project for review, or provide more information, but I was hoping someone would recognize this scenario and tell me I forgot to tighten the muffler bearing clamp. :)
I am running build 2999-4519. All testing has been done in the developer environment.
I have also tested this in the latest pre-release build.
Thank you in advance for any suggestions.
Comment