Product ID context

XML name

base:ProductId/@context

Class name

de.lobster.scm.base.product.attributes.ProductIdContext

Rights

Administration/Stammdaten/Dynamische Aufzählungen


Product IDs can be included in the master data for Products. Multiple product IDs can be assigned for the same product, as long as a unique combination of the properties 'Context' and 'Type' (see Product ID type) are referenced for each ID.

The dynamic enumeration 'Product ID context' defines choices for the property 'Context' (context) of a product ID attribute (ProductId), that must be assigned (permanent) when a product ID element is introduced in a form for products.

The enumeration is shipped with the following preset elements:

Resource name

English

German

SUPPLIER

Supplier

Lieferant

BUYER

Buyer

Käufer

INTERNATIONAL

International

International

ORDERER

Orderer

Besteller

XML representation
<!-- Example for a business object of type 'Order', as a representative for other business objects (shipments, manifests, common business objects) -->
<ord:Order>
...
<lineItems>
<lineItem>
<product>
<attributes>
...
<!-- The buyer identifies products by his own article numbers -->
<base:ProductId ... context="BUYER" idType="BUYER_SPECIFIC">
<pid>924-406-00-50</pid>
</base:ProductId>
<!-- The supplier identifies products by his own article numbers -->
<base:ProductId ... context"SUPPLIER" idType="SUPPLIER_SPECIFIC">
<pid>0123456789</pid>
</base:ProductId>
<!-- The orderer identifies products by EAN codes -->
<base:ProductId ... context="ORDERER" idType="EAN">
<pid>5901234123457</pid>
</base:ProductId>
 ...
</attributes>
</product>
<attributes/>
</lineItem>
</lineItems>
</ord:Order>