GetPrice

Return Price from current item

 

if cardcode is defined and valuation is a price list, the system use the DI-API from SAP, otherwise own system

Valuation:

 

xx (number) = Price List

D Average Price

L  Last purchase price

K  beas calculation price oitm.u_kalk_price

B  last valuation price

W last incoming good price

N   with out all for second valuation (24.4.14 M.Heigl)

I    Item Price from last Issue document

R   Item Price from last Receipt document

 

beasscript-logo-small

// beas Script Example: Return calculation price
instance bsl b
b.get=Item(<itemcode>,<whscode>,<cardcode>,<quantity>,"K")
messagebox=&ltb.price>

 

 

postmanIcon

Item/GetPrice(ItemCode,WhsCode,CardCode,QuantityInStockUnit,Valuation)

 

Return

{

  "price": "20.9814"

}