SalesInvoiceFactory不包含Create的定义

时间:2014-09-27 20:43:32

标签: c# api sdk

我想问一下为什么在使用以下内容与Sage SDK集成时出现上述错误:

sales_invoice_factory = Company.Factories.SalesInvoiceFactory;
SalesInvoice invoice = sales_invoice_factory.Create();

1 个答案:

答案 0 :(得分:0)

我没有Sage SDK所以我只能假设这不是方法create();

可能会尝试

sales_invoice_factory = Company.Factories.SalesInvoiceFactory;
SalesInvoice invoice = new SalesInvoice();