Skip to content
Arthur edited this page Dec 22, 2023 · 5 revisions

Tables coupled with TransferFields must have matching fields.

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.
Clone this wiki locally