Skip to main content

Execute_SetHouseholdBizTemplate

Description

Sets a HouseholdBiz business template and work schedule for the site identified by the SiteTag in S1. BaseObject must be the HouseholdBiz manager; if not, this Execute does nothing. Aborted if the site already has a DefaultHouseholdBizDtId set. After applying changes, update packets for data cache and app UI are sent to clients.

Parameters

ParameterDescription
BaseObjectCharacter who must be the biz manager to apply the changes
S1Site tag used to find the target HouseholdBiz site
S2Business template name to apply
F1Work start time (hour) passed to SetWorkTime
F2Work end time (hour) passed to SetWorkTime

Examples

DescriptionBaseObjectCommand
Set template and work schedule for a biz siteSelfSetHouseholdBizTemplate
Apply a bakery template with 9 AM to 6 PM hoursSelfSetHouseholdBizTemplate