trace_field_lineage
WHEN: you need to understand the full data lifecycle of a D365 F&O table field: who writes it, who reads it, which forms display it, which reports use it, and which tables have FK relationships to its parent table. Triggers: 'where is field X set', 'qui écrit ce champ', 'data lineage', 'GDPR field audit', 'origin of field', 'what touches this field'. Requires XRef index for writer/reader analysis. Relation graph for forms and FKs. Examples: trace_field_lineage('CustTable','CreditMax') or trace_field_lineage('LedgerJournalTrans','AmountCurDebit').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldName | Yes | Field or property name, e.g. 'CreditMax'. | |
| tableName | Yes | Table or class name, e.g. 'CustTable'. | |
| maxPerCategory | No | Max results per category (default 15). |