28-06-2021 1:26 pm tekijä Terhi Krutsin
Lisäsimme myyntitilauksen ja myyntilaskun noudon (getorder.nv, getsalesinvoice.nv) palauttamaan uutena tietona asiakaskoodin.
Esimerkki:
...
<SalesInvoiceAgreementIdentifier />
<InvoicingCustomerCode>1000</InvoicingCustomerCode>
<InvoicingCustomerName>1 Enormous Elephant Oy2</InvoicingCustomerName>
<InvoicingCustomerNameExtension> / 123 456</InvoicingCustomerNameExtension>
...
2 | InvoicingCustomerCode | Merkkijono | 1 | Laskutettavan asiakkaan asiakaskoodi | 12 |
Mahdollistimme Netvisorin asiakaskortilta löytyvän alennusprosentin käytön rajapinnasta tuodun myyntilaskun laskuriville. Sanomalla voi antaa laskurivikohtaiselle "SalesInvoiceProductLineDiscountPercentage" -elementille attribuutin type="netvisor" ja jättämällä kyseisen elementin arvon tyhjäksi.
Esimerkki:
...
<SalesInvoiceProductLineDiscountPercentage type="netvisor"></SalesInvoiceProductLineDiscountPercentage>
...
5 | salesinvoiceproductlinediscountpercentage | Numeerinen | 0...1 | Alennusprosentti. Mikäli annetaan attribuutti netvisor, haetaan alennusprosentti Netvisorin asiakaskortilta | 10 |
Attr. | type | Merkkijono | netvisor, mikäli attribuutti annetaa, jätetään elementin arvo tyhjäksi | netvisor |
---
The resources getsalesinvoice.nv and getorder.nv now return customer’s code in element "InvoicingCustomerCode".
Example:
...
<SalesInvoiceAgreementIdentifier />
<InvoicingCustomerCode>1000</InvoicingCustomerCode>
<InvoicingCustomerName>1 Enormous Elephant Oy2</InvoicingCustomerName>
<InvoicingCustomerNameExtension> / 123 456</InvoicingCustomerNameExtension>
...
We added the possibility to use the discount percentage from Netvisor’s customer details when using the resource salesinvoice.nv. SalesInvoiceProductLineDiscountPercentage element will be given the aggregate type "netvisor" and the value of the element will be imported empty.
Example:
...
<SalesInvoiceProductLineDiscountPercentage type="netvisor"></SalesInvoiceProductLineDiscountPercentage>
...