带有必需的PXSelector会出错

时间:2018-05-15 19:57:18

标签: acumatica

搜索中的必需提供以下错误

    [PXSelector(typeof(Search<EPEmployeePosition.employeeID, 
    Where<EPEmployeePosition.positionID, 
    Equal<Required<EPEmployeePosition.positionID>>>>.Select(this,'DEV')))]

    error CS1012: Too many characters in character literal
    error CS1026: ) expected
    error CS1003: Syntax error, ']' expected
    error CS1519: Invalid token ')' in class, struct, or interface member 
    declaration
    error CS1012: Too many characters in character literal

有人可以让我知道如何在搜索&lt;&gt;

中指定字符串常量

1 个答案:

答案 0 :(得分:2)

实现这一目标的正确方法是使用字符串常量:

Corporation