[QueryRangeFunctionAttribute()]
public static str customerTest(int _choice = 1)
{
AccountNum accountNum;
switch(_choice)
{
case 1:
accountNum = '1101';
break;
case 2:
accountNum = '1102';
break;
}
return accountNum;
}
If you're look for an example in the standard code, you can find class "SysQueryRangeUtilDMF" in the AOT.