29-05-2020 2:07 pm tekijä elina.mononen@visma.com
Lisäsimme resurssin customerlist.nv palauttamaan jokaista asiakasta kohden käyttäjäryhmän ID: CustomerGroupID, sekä käyttäjäryhmän nimi: CustomerGroupName.
3 | CustomerGroupID | Numeerinen | 1 | Asiakasryhmän ID, johon asiakas kuuluu. Voi olla myös tyhjä. | 2 |
3 | CustomerGroupName | Numeerinen | 1 | Asiakasryhmän nimi, johon asiakas kuuluu. Voi myös olla tyhjä. | Asiakasryhmä 1 |
Lisäsimme resurssin productlist.nv palauttamaan jokaista tuotetta kohden tuoteryhmän ID: ProductGroupID, sekä tuoteryhmän koko nimi hierarkioineen: ProductGroupDescription.
3 | ProductGroupID | Numeerinen | 1 | Tuotteen tuoteryhmän ID. Voi olla myös tyhjä. | 2 |
3 | ProductGroupDescription | Merkkijono | 1 | Tuotteen tuoteryhmä, koko hierarkia avattuna. Voi myös olla tyhjä. | Kirjat / Tieteiskirjat |
Lisäsimme salesinvoice.nv -resurssiin SalesInvoiceAmount kentälle vapaaehtoisen attribuutin "pricetype". Sen sallitut arvot “customer” ja “netvisor”. Arvo “customer” ei tee mitään, “netvisor” -arvolla laskuriveille huomioidaan Netvisorissa syötetyt hintakertoimet ja asiakashinnat. SalesInvoiceAmount -arvoksi pitää jättää 0, jotta laskun loppusumma lasketaan oikein rivisummista.
Attribuutti | pricetype | Merkkijono | 0...1 | Hintatyyppi. | netvisor |
-------
We added resource customerlist.nv to return customer group Id: CustomerGroupID and customer group name: CustomerGroupName for each customer.
3 | CustomerGroupID | Integer | 1 | Customer Group ID, where the customer belongs. Can be empty. | 2 |
3 | CustomerGroupName | String | 1 | Customer Group Name, where the customer belongs. Can be empty | Customer group 1 |
We added recource productlist.nv to return product group Id: ProductGroupID and product group name: ProductGroupDescription with hierarchy for each product.
3 | ProductGroupID | Numeric | 1 | Product group ID. Can be empty. | 2 |
3 | ProductGroupDescription | String | 1 | Product group, whole hierarchy. Can be empty. | Books / Science fiction books |
We added a new optional attribute "pricetype" for element SalesInvoiceAmount in resource salesinvoice.nv. Values can be “customer” or “netvisor”. Value “customer” does nothing but if value is netvisor, Netvisor's price groups and customer prices will be used for invoice rows. SalesInvoiceAmount -value should be 0 so that invoice amout is calculated correctly from invoice rows.
Attr. | pricetype | String | 0...1 | netvisor or customer. Customer does nothing but if value is netvisor, Netvisor's price groups and customer prices will be used for invoice rows. SalesInvoiceAmount -value should be 0 so that invoice amout is calculated correctly from invoice rows. |