March 2020
Intermediate to advanced
534 pages
14h 15m
English
There are a few special methods that are used when writing a data entity. They are as follows:
| Method | Description |
| updateEntityDataSource | This is called when updating an existing record. |
| deleteEntityDataSource | This is called when deleting a record. |
| insertEntityDataSource | This is called when inserting a new record. |
| initializeEntityDataSource | This is called when a record is initialized. |
These methods are used so that we can update related records that are not directly affected by the tables in the entity. A good example is when a table is related to DirPartyTable. We can't simply delete the related party record in this case when the parent is deleted, as it may be used in other roles.
The following are sample ...
Read now
Unlock full access