Skip to main content

Execute_TryAssignRestaurantTable

Description

Registers Self's party at the connected seats of the Target restaurant table (BL-58468, R-06). The party is Self plus every customer-eligible member of Self's ZoiGroup. Assignment remains blocked until all of those members are present as customers at this restaurant; a customer with no ZoiGroup is a party of one. This only records the assignment - the seats remain Restricted for everyone, including the party, until Execute_ActivateAssignedRestaurantTable runs when an employee actually guides the group there. A wandering-in or manually-possessed customer can never sit down by themselves this way.

Note

Delegates to FB2HouseholdBiz::TryAssignTableToParty, which gathers the complete party (via B2ZoiGroupHelper) and rejects parties larger than the max table capacity (no table sharing). No-op (logs a warning) if Self is not at a restaurant HouseholdBiz site, the party is oversized, the table is already assigned, or the table has no valid connected seat.

Parameters

ParameterDescription
BaseObjectSelf is the customer requesting a seat; Target is the table object

Examples

DescriptionBaseObjectCommand
Customer requests to be seated at a tableSelfTryAssignRestaurantTable