SlotFlow API Documentation

DemandLineSchedule
in package

FinalYes

One demand line plus its computed movement schedule and arrival timeline.

Table of Contents

Properties

$arrivals  : array<string|int, mixed>
Quantity arrivals at the target over time.
$line  : DemandLine
Original requested demand line.
$schedule  : MovementSchedule
Underlying movement schedule for this line.
$subjectKey  : string
Normalized subject key used to match state and shipment lines.
$target  : Slot
Final target slot this line is being scheduled toward.

Methods

__construct()  : mixed
Create one scheduled demand line result.
completeTime()  : int|null
Return the final time at which this line becomes fully available, if any.
firstReadyTime()  : int|null
Return the first time any quantity becomes available for this line, if any.
fulfilledQuantity()  : int|float
Return the quantity currently scheduled to reach the target.
isComplete()  : bool
Return true when the line quantity is fully scheduled.
readyArrivalSteps()  : array<int, ScheduledStep>
Return terminal scheduled steps that have arrived at the target by the given time.
releasedArrivalSteps()  : array<int, ScheduledStep>
Return the terminal arrival steps that contribute the next released quantity slice.
remainingQuantity()  : int|float
Return the quantity not yet scheduled for the line.
requestedQuantity()  : int|float
Return the quantity originally requested for this line.

Properties

$arrivals read-only

Quantity arrivals at the target over time.

public array<string|int, mixed> $arrivals

$subjectKey read-only

Normalized subject key used to match state and shipment lines.

public string $subjectKey

Methods

completeTime()

Return the final time at which this line becomes fully available, if any.

public completeTime() : int|null
Return values
int|null

firstReadyTime()

Return the first time any quantity becomes available for this line, if any.

public firstReadyTime() : int|null
Return values
int|null

fulfilledQuantity()

Return the quantity currently scheduled to reach the target.

public fulfilledQuantity() : int|float
Return values
int|float

isComplete()

Return true when the line quantity is fully scheduled.

public isComplete() : bool
Return values
bool

readyArrivalSteps()

Return terminal scheduled steps that have arrived at the target by the given time.

public readyArrivalSteps(int $time) : array<int, ScheduledStep>
Parameters
$time : int
Return values
array<int, ScheduledStep>

releasedArrivalSteps()

Return the terminal arrival steps that contribute the next released quantity slice.

public releasedArrivalSteps(int $time, int|float $alreadyShipped, int|float $releaseQuantity) : array<int, ScheduledStep>
Parameters
$time : int
$alreadyShipped : int|float
$releaseQuantity : int|float
Return values
array<int, ScheduledStep>

remainingQuantity()

Return the quantity not yet scheduled for the line.

public remainingQuantity() : int|float
Return values
int|float

requestedQuantity()

Return the quantity originally requested for this line.

public requestedQuantity() : int|float
Return values
int|float

        
On this page

Search results