This error occurs when the attribute specified for a local modifier is not valid for the description.
When you use the modifier Local, ensure the attributes to be changed as same as the attributes of the description type specified.
Example
[#Menu: Gateway of Tally]
Add: Item: "MyReport" : Display : MyReport
[Report: MyReport]
Use : DayBook
Local: Form: DayBook: Field: DSP VchDate: Color: "Red"
In the above example, the Field is not the appropriate attribute for Form. Hence the message error T0019: The attribute 'Field' is not valid for the description 'Form' in a dynamic modifier Local. appears.
The code is corrected by replacing the attribute Form with Line in the Local modifier.
[#Menu: Gateway of Tally]
Add: Item: "MyReport" : Display : MyReport
[Report: MyReport]
Use : DayBook
Local: Line: DSP VchDetail: Field: DSP VchDate: Color: "Red"