-
Notifications
You must be signed in to change notification settings - Fork 31
LC0044
Arthur edited this page Dec 22, 2023
·
5 revisions
This rule analyze table pairs coupled using TransferFields.
First, it analyzes all TableExtensions in the code base, if any TableExts are part of the hardcoded table pairs that were found in the BaseApp, then all fields that have the same ID in both objects need also to have the same name and type.
Next, it finds all TransferFields invocations in the code. It analyzes three different situations:
- TransferFields(DependencyTable1, DependencyTable2): In this case, it will look for TableExt objects, and compare all fields there
- TransferFields(MyOwnTable1, MyOwnTable2): Here, it compares all fields in both table objects
- TransferFields(DependencyTable1, MyOwnTable1): Here, it compares the DependencyTable fields and DependencyTableExt fields with all the fields in my table fields.