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.

Open formatted source/search result

Parameters

NameTypeOutput
datetimeyes
@BaseTimeUTCdatetimeno
@CountMinutesintno
@ObjectkeyAdminUnitvarcharno

Referenced objects

SchemaObjectColumn/minorClass
dialogcalendarOBJECT_OR_COLUMN
DialogCountryOBJECT_OR_COLUMN
DialogDatabaseOBJECT_OR_COLUMN
DialogStateOBJECT_OR_COLUMN
QBM_YCursorBufferTYPE
QBM_YParameterListTYPE
dboQBM_FCVObjectkeyToElementOBJECT_OR_COLUMN
dboQBM_FCVStringToIntOBJECT_OR_COLUMN
dboQBM_FGIConfigparmValueOBJECT_OR_COLUMN
dboQBM_FGIHolidayInAdminUnitOBJECT_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

ParameterTypeDirection
datetimeOUTPUT
@BaseTimeUTCdatetimeinput
@CountMinutesintinput
@ObjectkeyAdminUnitvarchar(138)input

DML targets

INSERT into

Called routines

None extracted.

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 objectRelationEvidence
dbo.QER_FCVTimeToWorkTimePersonSQL expression dependencydbo · OBJECT_OR_COLUMN