ProductSupplierConfiguration
Per-supplier procurement configuration for a single product. One row per (product, supplier) pair, storing the supplier-side article number, lot-size constraints, lead time and the agreed purchase price. Drives the line-item defaults used when a supplier order is opened.
type ProductSupplierConfiguration implements Node {
id: ID!
deliveryTimeDays: Int
minPurchase: Int!
productId: ID!
purchasePrices: [Price!]!
purchaseSteps: Int!
supplierId: ID!
supplierIsDefault: Boolean!
supplierProductNumber: String
product: Product
supplier: Supplier
}
Fields
ProductSupplierConfiguration.id ● ID! non-null scalar
Global identifier for this entity.
ProductSupplierConfiguration.deliveryTimeDays ● Int scalar
Lead time in days for this (product, supplier) pair. Overrides the supplier-wide default.
ProductSupplierConfiguration.minPurchase ● Int! non-null scalar
Minimum quantity that can be ordered from this supplier in a single line. The supplier-order form prefills this value.
ProductSupplierConfiguration.productId ● ID! non-null scalar
ID of the product.
ProductSupplierConfiguration.purchasePrices ● [Price!]! non-null object
Purchase price agreed with this supplier for one unit of the product. The list holds at most the entry in the currency of the supplier (Supplier.currencyId), and is empty when the configuration has no price in that currency, and while a currency change of the supplier is running or has failed, since its purchase prices are not in the new currency yet. Prefills the line-item price when a supplier order is opened for this supplier; the price of the product's default supplier is copied to Product.purchasePrices, which describes how.
ProductSupplierConfiguration.purchaseSteps ● Int! non-null scalar
Quantity step (lot size) for this supplier. Orderable quantities are minPurchase + n * purchaseSteps.
ProductSupplierConfiguration.supplierId ● ID! non-null scalar
ID of the supplier.
ProductSupplierConfiguration.supplierIsDefault ● Boolean! non-null scalar
True for the single configuration row marked as the product's default supplier. The supplier-order form uses the default when no supplier is preselected.
ProductSupplierConfiguration.supplierProductNumber ● String scalar
Article number the supplier uses for this product in their own catalog. Printed on supplier orders.
ProductSupplierConfiguration.product ● Product object
ProductSupplierConfiguration.supplier ● Supplier object
Interfaces
Node interface
Any entity that can be loaded by its global id through the node(id: ID!) query.
Returned By
addProductSupplierConfiguration mutation ● productSupplierConfiguration query ● updateProductSupplierConfiguration mutation