Skip to main content

household_biz.get_restaurant_dish_batches

Overview

  • Returns restaurant cooking/serving batches with tray placement, cloche, and CookedDishInfo validation details (BL-58473/BL-58474).

Metadata

FieldValue
DisplayGet Restaurant Dish Batches
Categoryhousehold_biz
AccessPublic
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
household_biz_identityIdno—Target HouseholdBiz entity id (default: possessed)

Returns

Returns a JSON array; each element is an object with the following fields:

FieldTypeRequiredDescription
batch_idintyesPersistent restaurant dish batch id
statestringyesBatch state inferred from all matching order tickets
table_entity_identityIdyesAssigned restaurant table entity id
chef_entity_identityIdyesCurrent/original chef entity id
tray_entity_identityIdyesBound WaiterTray01 entity id
charged_crafting_costintyesActual business-fund crafting cost already charged; -1 means not charged
order_ticksintyesEarliest original order tick
serving_claim_entity_identityIdyesCurrent server claim entity id
tray_existsboolyesWhether the bound tray entity currently exists
parent_furniture_entity_identityIdyesFurniture currently holding the tray
occupied_slot_namenameyesObject slot occupied by the tray
business_furniture_ownedboolyesWhether the parent is business-owned furniture at the business site
slot_compatibleboolyesWhether the occupied Object slot accepts and contains the tray
placement_validboolyesWhether the complete restaurant tray placement invariant passes
cloche_statestringyesCurrent cloche state: Covered/Open/None
cooked_dish_info_validboolyesWhether CookedDishInfo exactly matches this batch
entriesarray<object>yesPer-seat cooked results
entries[].eater_entity_identityIdyesOrdered eater entity id
entries[].eater_household_entity_identityIdyesHousehold snapshotted when ordered
entries[].seat_entity_identityIdyesAssigned seat entity id
entries[].recipe_idnameyesOrdered recipe id
entries[].quality_gradestringyesRolled cooking quality

Usage

await inzoi.cli.execute('household_biz.get_restaurant_dish_batches', {
household_biz_id: 0, // optional
});