I have 3 tables, Table 0131 is a child of 0133 (with constrain JFB2_OSCT0131_OSCT0133_FK01). And, Table 0131 has to be the last one.
The generator determines that the table generation order should be 0101-0131-0133, but in reality the order should be 0101-0133-131.
This causes an error when inserting data into the tables.
TDM 4.10.226 or newer
This is a defect.
Patch TDMWeb-4.10.248.0.zip. resolves the issue.
Note : You will need to re-register at least one table after applying the patch to trigger new table order calculation.