GetPrice

Return Price from the current item

 

If card code is defined and the valuation is a price list, the system uses the DI-API from SAP, otherwise it uses its 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"

}