Description
Return arrivalDay-releaseDay and subtract suppliedLeadDays for margin.
Hospitality plans use room counts, covers, service durations, portions, and stock balances. A local component applies supplied operational rules without confirming actual availability, service quality, or adequate capacity.
Return arrivalDay-releaseDay and subtract suppliedLeadDays for margin.
When to use this tool
Use Room Allotment Release Offset when you need one explicit hospitality planning or reconciliation component.
How to use the tool and how it works
- Enter releaseDay, arrivalDay, suppliedLeadDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read actualLeadDays, margin. Use the output convention below.
Require nonnegative integer suppliedLeadDays. Return arrivalDay-releaseDay and subtract suppliedLeadDays for margin.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| releaseDay | Release Day | Required. Safe integer. |
| arrivalDay | Arrival Day | Required. Safe integer. |
| suppliedLeadDays | Supplied Lead Days | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| actualLeadDays | Actual Lead Days | Required. Safe integer. |
| margin | Signed allowance remaining under the stated subtraction order. | Required. Safe integer. |
{
"input": {
"releaseDay": 100,
"arrivalDay": 130,
"suppliedLeadDays": 20
},
"output": {
"actualLeadDays": 30,
"margin": 10
}
} Limitations and assumptions
- Day inputs are numeric coordinates rather than parsed dates; negative lead or margin is retained without selecting contractual release rules.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Check the complete booking, layout, staffing, and service plan before relying on an operational estimate.
References
Similar or alternative tools
- Room Allotment Release Share
Return held minus release and release divided by the whole allotment.
- Booking Slot End Buffer
Return slotEnd-bookingEnd as available and subtract nonnegative requiredBuffer for slack.