Skip to main content

Entities

The eCommerce API provides a comprehensive set of capabilities for managing the core aspects of an online business. It allows you to create and manage customer records, process orders into formal contracts, and maintain essential master data, including product and catalog information. Additionally, the API supports reading, updating, and organizing business entities, enabling seamless integration with your internal systems and workflows.

📄️Contract

A Contract in the stock management context is the legally and commercially binding agreement that defines the terms for the delivery and receipt of goods between two parties. It records which partner is buying or selling, under what price conditions, for what delivery and transport terms, and within which time window the exchange is expected to take place. All of this administrative and commercial context lives on the contract header, while the actual commodity commitments — article, quantity, quality, and price per line — are captured in the associated contract positions (CoPos).

📄️ContractType

A ContractType is the top-level classification that defines the fundamental direction and purpose of a contract within the stock management workflow. The most common distinction is between a purchase contract — goods arriving from a producer or supplier — and a sales contract — goods leaving toward a buyer or processing facility. This classification is not merely a label: the type determines which set of workflow states are valid for contracts of that kind, since a purchase agreement and a sales agreement follow different lifecycle steps even though they share the same underlying data structure.

📄️MarketingProj (Marketing Project)

A MarketingProj is an organizational grouping entity that bundles product groups and articles under a common marketing initiative, product season, or campaign context. In the stock management context, a marketing project typically represents a trading season or a specific commodity program — for example "Grain Season 2024/25" or "Organic Oilseeds Program". Product groups are assigned to a marketing project, which means that every article belonging to those groups is implicitly part of that project's scope.

📄️PGVariant (Product Group Variant)

A PGVariant is a specific variety or sub-type within a product group — used to identify goods at a finer level of detail than the product group alone allows. In an agricultural stock context, a PGVariant typically represents a crop variety (e.g. "Pannonikus" for wheat, "PR45D03" for rapeseed) or a quality grade designation. This granularity is important because different varieties of the same commodity can command different prices, carry different quality profiles, and require separate stock balances for accurate inventory management.

📄️Trans (Transaction)

A Trans is the header document for a physical stock movement event — a goods receipt at intake, a goods issue on dispatch, or another warehouse operation that changes the inventory position. It acts as the organizational container under which all individual weighed or measured positions (TransPos) are grouped. A single transaction might represent a full truck delivery containing multiple positions with different articles, quality grades, or lot identifiers — all belonging to the same physical event at the weighbridge.

📄️TransPos (Transaction Position)

A TransPos is a single weighed or measured item within a stock transaction — the line-level record of a physical goods movement. While the Trans header describes the overall event (who, when, which contract), each TransPos records the specifics of one particular batch or delivery unit within that event: which article, in what quantity, under what quality classification, and with what lot identifier. A single truck delivery might result in one Trans header and five TransPos records if five different lots or articles were weighed separately at the intake.