我在Acumatica中检索客户的付款方式时遇到问题。我的代码显示在下方。
AR303010Content AR301000 = context.AR303010GetSchema();
context.AR303010Clear();
string[][] AR301000data = context.AR303010Export
(
new Command[]
{
AR301000.PaymentMethodSelection.ServiceCommands.EveryCustomer,
AR301000.PaymentMethodSelection.Customer,
AR301000.PaymentMethodSelection.PaymentMethod,
AR301000.PaymentMethodSelection.CardAccountNo
},
new Filter[]
{
new Filter
{
Field = AR301000.PaymentMethodSelection.Customer,
Condition = FilterCondition.Equals,
Value = "TEST"
}
},
0, false, false
);
服务超时而不返回任何记录。
答案 0 :(得分:0)
尝试使用下一种方法并删除过滤器
new Command[]
{
new Value {Value =" Test",LinkedCommand = AR301000.PaymentMethodSelection.Customer}, AR301000.PaymentMethodSelection.ServiceCommands.EveryPaymentMethodID, AR301000.PaymentMethodSelection.PaymentMethod, AR301000.PaymentMethodSelection.CardAccountNo },null