Gereklı olan hangı order ve hangı sutunlarının invoice a donusecegını vermek.
Örnek:
ColumnSet invoiceColumns =new ColumnSet(){AllColumns=true};//tum kolonları invoice donustur.
ConvertSalesOrderToInvoiceRequest req =
new ConvertSalesOrderToInvoiceRequest()
{
SalesOrderId = new Guid("5481CF89-BFC1-E011-844B-1CC1DEF177B7"),
ColumnSet = invoiceColumns
};
ConvertSalesOrderToInvoiceResponse response =
(ConvertSalesOrderToInvoiceResponse)service.Execute(req);
Invoice invoice = (Invoice)response.Entity;
Hiç yorum yok:
Yorum Gönder