error T0025: Could not use the description %s: %s referred from %s in the attribute Use.

Cause

This error occurs when a description is used in an attribute with the attribute Use, and the same description does not exist.

In the message, %s: %s cater to missing description type: missing description name and %s cater to source definition name.

Solution

Ensure that the description used with the attribute Use is already available. Check for spelling mistakes, if any.

Example

[#Menu: Gateway of Tally]

Add: Item: "MyReport": Display: MyPurcReport

[Report: MyPurcReport]

Use: MySalesReport

Since the report MySalesReport does not exist in the above example, when you compile the code you get the message error T0025: Could not use the description %s: %s referred from %s in the attribute Use.

The code is corrected by defining the report MySalesReport .

[#Menu: Gateway of Tally]

Add: Item: "MyReport": Display: MyPurcReport

[Report: MySalesReport]

[Report: MyPurcReport]

Use: MySalesReport