Options
All
  • Public
  • Public/Protected
  • All
Menu

Module CreateReplenishmentProposal

Creates a new ReplenishmentProposal.

The new proposal is picked up and processed asynchronously and could take a while after creation to complete generating its results, depending on the amount of sources, targets, products and the algorithm used. Check the Status property in the GetReplenishmentProposal response to see if it's completed.

To allow selecting the output types for the generated proposal, the property OutputTypes can be set. It is a flags enum of the type ReplenishmentOutputTypes. If the OutputTypes is not set, it will fall back to the setting Replenishment:Outputs.

Index

Properties

Optional OutputTypes

Optional parameter to override the standard output types for created replenishment proposals

Optional SourceOrganizationUnitIDs

SourceOrganizationUnitIDs: number[]

Required when SourceOrganizationUnitSetID is omitted

Optional SourceOrganizationUnitSetID

SourceOrganizationUnitSetID: undefined | number

Required when SourceOrganizationUnitIDs is omitted

Optional StockLabels

StockLabels: StockLabelDto[]

Optional list of stock labels to generate replenishment proposal for

Optional TargetOrganizationUnitIDs

TargetOrganizationUnitIDs: number[]

Required when TargetOrganizationUnitSetID is omitted

Optional TargetOrganizationUnitSetID

TargetOrganizationUnitSetID: undefined | number

Required when TargetOrganizationUnitIDs is omitted