SlotFlow API Documentation

PriorityReleasePolicy
in package
implements DemandReleasePolicyInterface

FinalYes

Ships high-priority lines as they become ready and lower-priority lines on line completion.

Table of Contents

Interfaces

DemandReleasePolicyInterface
Builds shipment releases from per-line demand schedules.

Properties

$immediatePriorityThreshold  : int
Maximum priority value that is allowed to ship immediately on arrival.
$priorityBySubject  : array<string|int, mixed>
Lower numeric values mean higher release priority for the subject.

Methods

__construct()  : mixed
Create one priority-based release policy.
release()  : array<int, DemandShipmentLine>
Release high-priority lines on arrival and lower-priority lines on line completion.

Properties

$immediatePriorityThreshold read-only

Maximum priority value that is allowed to ship immediately on arrival.

private int $immediatePriorityThreshold = 0

$priorityBySubject read-only

Lower numeric values mean higher release priority for the subject.

private array<string|int, mixed> $priorityBySubject = []

Methods

__construct()

Create one priority-based release policy.

public __construct([array<string, int> $priorityBySubject = [] ][, int $immediatePriorityThreshold = 0 ]) : mixed
Parameters
$priorityBySubject : array<string, int> = []

lower numbers mean higher priority

$immediatePriorityThreshold : int = 0

        
On this page

Search results