No martin
"I still miss an explanation of your problem, apart from that "it doesn't work""
This means that range is not applying martin (If hardcoded wrks fine)
I tested with hardcode in en-US and it works fine.
and tried by writing this as well
[ExtensionOf(classStr(SysQueryRangeUtil))]
final public static class TestSysQueryRangeUtil_Extension
{
[QueryRangeFunctionAttribute()]
public static str CompanyLanguageId()
{
return CompanyInfo::languageId();
}
}
tried using SysQueryRangeUtil::CompanyLanguageId() in AOT Query range Value
Still the range is not applying
The reason would be that it will not execute methods like that(Companyinfo::languageid())
Its better to go with Computed column because i can write some conditions.
Can i get some example of Condition based view computed columns as per coding standards to D365fo
Regards,