Price context
XML name |
base:ProductPrice/@context |
Class name |
de.lobster.scm.monetary.PriceContext |
Permissions |
Administration/Materdata/Dynamic enum |
The master data for Products includes information on prices. Multiple price indications can be assigned for the same product, as long as a unique combination of properties 'Price context', 'Country' and 'Currency' for each price is indicated.
The dynamic enumeration 'Price context' defines choices for the property 'Context' (context) of the price attribute (productPrice), that is assigned (permanent) when a price element is added to a product form.
The enumeration is shipped with the following preset elements:
Resource name |
English |
German |
SUPPLIER |
Supplier |
Lieferant |
ORDERER |
Orderer |
Besteller |
XML representation
<!-- Example
for
product information
for
business object of type order, as a representative
for
other business objects like shipments, manifests or common business objects -->
<ord:Order>
...
<lineItems>
<lineItem lineItemId=
"1"
>
<product>
<attributes>
<base:ProductId ... context=
"BUYER"
idType=
"BUYER_SPECIFIC"
>
<pid>
924
-
406
-
00
-
50
</pid>
</base:ProductId>
<base:ProductId ... context=
"SUPPLIER"
idType=
"SUPPLIER_SPECIFIC"
>
<pid>
0123456789
</pid>
</base:ProductId>
<base:ProductId ... context=
"ORDERER"
idType=
"EAN"
>
<pid>
5901234123457
</pid>
</base:ProductId>
<base:ProductDescription>
<locale>de_DE</locale>
<shortDescription>FL-Eier</shortDescription>
<longDescription>Freiluft-Eier direkt vom Bauern</longDescription>
</base:ProductDescription>
<base:ProductPrice>
<value context=
"SUPPLIER"
country=
"DE"
currency=
"EUR"
netValue=
"10.0"
taxRate=
"SALES_TAX_RATE_GER_FULL"
grossValue=
"11.9"
/>
</base:ProductPrice>
</attributes>
</product>
<attributes/>
</lineItem>
</lineItems>
</ord:Order>