dbo.QBM_FCVDatetimeToNextWork
SQL_SCALAR_FUNCTION
Created 2025-06-27T17:57:29.090 · modified 2026-04-14T23:20:25.770 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
| datetime | yes |
@BaseTimeUTC | datetime | no |
@CountMinutes | int | no |
@ObjectkeyAdminUnit | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| dialogcalendar | OBJECT_OR_COLUMN | ||
| DialogCountry | OBJECT_OR_COLUMN | ||
| DialogDatabase | OBJECT_OR_COLUMN | ||
| DialogState | OBJECT_OR_COLUMN | ||
| QBM_YCursorBuffer | TYPE | ||
| QBM_YParameterList | TYPE | ||
| dbo | QBM_FCVObjectkeyToElement | OBJECT_OR_COLUMN | |
| dbo | QBM_FCVStringToInt | OBJECT_OR_COLUMN | |
| dbo | QBM_FGIConfigparmValue | OBJECT_OR_COLUMN | |
| dbo | QBM_FGIHolidayInAdminUnit | OBJECT_OR_COLUMN |
Source-derived context
Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.
provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:20:25.770
None extracted.
Summary: writes INSERT into; reads/joins DialogDatabase, DialogCountry, DialogState, dialogState, dialogcalendar; uses config QBM\WorkingHours\IgnoreHoliday, QBM\WorkingHours\IgnoreWeekend
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
| datetime | OUTPUT |
@BaseTimeUTC | datetime | input |
@CountMinutes | int | input |
@ObjectkeyAdminUnit | varchar(138) | input |
DML targets
INSERT intoCalled routines
None extracted.
Read/join references
SQL dependency metadata
Config/session
Config: QBM\WorkingHours\IgnoreHoliday QBM\WorkingHours\IgnoreWeekend
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @BaseTimeUTC @CountMinutes @ObjectkeyAdminUnit @erg @AdminUnitIsState @UTCOffset @WorkingHoursWeek @WorkingHoursWeekT @emptyDay @NineToFive @BaseTimeLocal @ZielString @SecondsRest @Stunde @WorkingHoursDay @isodate @dayOfWeek @lauf @IstFirstHour @IsDayLightSaving @IgnoreHoliday @IgnoreWeekend @ElementBuffer @ElementCount @ElementIndex @ROWCOUNT @DayOfWeek @stunde
Referenced by / reverse dependencies
Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.
| Referencing object | Relation | Evidence |
|---|---|---|
| dbo.QER_FCVTimeToWorkTimePerson | SQL expression dependency | dbo · OBJECT_OR_COLUMN |