CustomerSalesPrices: Visma.net Financials Customer Sales Prices |
Get a range of Customer Sales Prices - ScreenId=AR202000Request page size must be lower or equal to the allowed max page size which is returned as part of the metadata information.If requested page size is greater than allowed max page size, request will be limited to max page size
Catalog: VismaNet
Schema: CustomerSalesPrice
Primary Keys: recordId
Label: Customer Sales Prices
Retrieve: true
Insert: true
Update: true
Delete: false
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function CustomerSalesPrices. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
|---|---|---|---|---|
effectiveAsOf |
|
☐ |
|
|
greaterThanValue |
|
☐ |
|
|
inventoryId |
|
☐ |
|
|
lastModifiedDateTime |
|
☐ |
|
|
lastModifiedDateTimeCondition |
|
☐ |
|
|
priceCode |
|
☐ |
|
|
priceType |
|
☐ |
|
Values: All, Base, Customer, CustomerPriceClass. |
Columns of Table Function
The columns of the table function CustomerSalesPrices are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
breakQty |
double |
Break Quantity |
☐ |
The Sales price table > Break quantity > The quantity to define a lower bound for a quantity tier with the specific price. |
COMPANY_CODE |
varchar2(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
varchar2(240) |
Company Name |
☑ |
Name of the partition. |
currency |
varchar2 |
Currency |
☐ |
Mandatory field: The Sales price table > Currency* > The currency in which this price is specified. |
description |
varchar2 |
Description |
☐ |
The Sales price table > Description > The description of the stock item. |
effectiveDate |
datetime |
Effective Date |
☐ |
The Sales price table > Effective date > The date when the price became effective. |
errorInfo |
varchar2 |
Error Message |
☐ |
|
expirationDate |
datetime |
Expiration Date |
☐ |
The Sales price table > Ecpiration date > The date when the price expires. |
inventoryId |
varchar2 |
Inventory ID |
☐ |
The Sales price table or the top part > Warehouse > The warehouse in which the price applies. |
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
|
metadata_maxPageSize |
int64 |
Metadata Max Pagesize |
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
price |
double |
Price |
☐ |
The Sales Price table > Price > The price for the item. |
priceCode |
varchar2 |
Price Code |
☐ |
The Sales price table or the top part > Price code > The customer or a customer price class for which you want to create or edit a price list. |
priceType |
varchar2 |
Price Type |
☐ |
The Sales price table or the top part > Price type > The type of prices you want to view: All prices, Base, Customer, Customer price class. |
promotion |
char |
Promotion |
☐ |
The Sales price table > Promotion > A check box that indicates (if selected) that the price for this item is promotional. |
recordId |
int32 |
Record ID |
☐ |
Mandatory field: The Sales price table > Item ID* > The ID of the stock or non-stock stock item for which price information is listed. |
timeStamp |
blob |
Timestamp |
☐ |
Identifier that represents a specific version of the resource.It helps to prevent simultaneous updates of the resource from overwriting each other (by using ETags and If-Match headers) |
uoM |
varchar2 |
Unit of Measure |
☐ |
Mandatory field: The Sales price table > UoM* > The unit of measure (UoM) used for the item. |
vat |
varchar2 |
VAT |
☐ |
The Sales price table > VAT > The VAT amount that is included in the sales price. |
warehouse |
varchar2 |
Warehouse |
☐ |
|
Visma.net Financials API Data Model