-5
After implementing the aforementioned amendments, I was able to solve the problems of the remaining fields but a new problem arose. After modifying the code for the following...
private static InvoiceResource CreateSampleInvoice()
{
return new InvoiceResource
{
Company = "GRG",
Customer = "ALCAD",
Lines = new List<InvoiceLineResource>
{
new InvoiceLineResource
{
Item = "0001",
Quantity = 1,
Description = "Item 0003 custom description.",
Price = new MoneyResource { Value = 50 }
}
}
};
}
I made this mistake:
I have to add the "Warehouse" field manually in the "Invoicelineresource.Cs" file and in this field too?
@Fábio this data "Company" and "entity" are not correct, that’s what he is saying.
– Sérgio Sereno
@Fábio, I just tested with the example that you are using csharp-createinvoice-sample and I was able to create the invoice without problem. Of course I had to adjust my company and client data to be able to validate.
– Sérgio Sereno
@Sérgiosereno could please make me get where you got from the Asmin software, these fields?
– Fábio
The fields are the abbreviation (of the company), the article (of the article) and the entity (of the client).
– Jorge Ribeiro
@Fábio This is a new question. You should not change the content of questions because if not the answers no longer make sense.
– Sérgio Sereno
Reset the original question please.
– Sérgio Sereno