error T0047: Invalid keyword '%s'. The type of keyword expected is '%s'.

Cause

This error occurs when an invalid keyword is used for an attribute keyword.

In the error message, '%s' is the keyword name and expected %s - expected keyword type.

Solution

Provide the appropriate keyword for the attribute.

Example

[#Menu: Gateway OF Tally]

Add: Item: Reports: Display: MyReport

[Report: MyReport]

Form  : MyReport

[Form: MyReport]

Use           : Balance Sheet

Vertical Align: LeftRight

In the example, the keyword LeftRight is not a valid align type keyword, hence the message error T0047: Invalid Keyword 'LeftRight'. The type of keyword expected is 'Align Type'.

The code is corrected by adding a valid align type keyword.

[#Menu: Gateway OF Tally]

Add: Item: Reports: Display: MyReport

[Report: MyReport]

Form  : MyReport

[Form: MyReport]

Use : Balance Sheet

Vertical Align: Left