gets the price function
object=ue_artikelstamm=pricing=parameter with tab
return
Price in <cpreis>
Currency in <cwrg>
blanked agreement in <cargno>
Note:
New variant is the BeasServiceLayer function item/GetPrice
Property |
Value |
Default |
Mandatory |
Description |
|
|---|---|---|---|---|---|
itemcode |
string |
x |
item code |
||
cardcode |
string |
|
if you work with a special price list, it sets the supplier |
||
typ |
string |
E |
|
|
|
date |
date |
today |
|
Valuation date (price list date) |
|
quantity |
decimal |
0 |
|
Quantity in Warehouse Unit you need this if you work with special price list or extented price list |
|
homecurrency |
true/false |
false |
|
If true the return price is always the home currency reference date is the property date |
|
whscode |
string |
|
The warehouse. You need this if you get the price from warehouse, example last purchase price and setting "price per warehouse" |
||
uom |
string |
|
Sets the purchase unit. if you work with unit group, Beas returns the price in this unit if you don't set this, Beas returns the price always in warehouse unit
special price list: Beas calculates the Warehouse unit, if you don't set the uom-property |
||
uomqty |
decimal |
|
the quantity in purchase unit. You must set this if you work with uom |
||
agreementnumber |
number |
|
the number of agreement. if you set this Beas return the price of agreement |
||
agreementline |
number |
|
the number of agreement line |
||
checkagreement |
true/false |
true |
|
true (default) if agreementnumber = 0 then beas check the agreements and use the last activ agreement return number in <cargno> |
|
returndiscount |
true/false |
false |
|
false (default) Beas returns the price include discount in Variable <preis>
true Beas returns variable <cpreis> and <cdiscount> |
|
purchaseunit |
true/false |
false |
|
Beas returns the price in purchase unit |
Example:
![]()
object=ue_artikelstamm=pricing=itemcode=A001<tab>typ=E
messagebox=<cpreis,#0.00> <cwrg>