RG - Inventory & Labor API to DB Mapping Download PDF
REFERENCE GUIDE

Inventory & Labor API to Database Mapping

Reference Guide

Document Details

Document #: 160_APIDB_261118

Overview

This guide outlines which Crunchtime database tables are referenced as part of the various API Services.

QR code — scan to download the latest version of this guide
Download the latest version of this document here: https://links.crunchtime.com/RG-InvLaborAPItoDBmapping

… or scan the QR code to the left.


Integration

Inventory & Labor API to Database Mapping

Introduction

Initially, the Crunchtime API Services were built as an alternative to flat-file imports using the Crunchtime Data Pump (CDP). As such, the primary fields exposed on the /get calls are the same fields needed in order to import and /post data. In addition to the Developer Hub, the Standard Interface Guide is a good resource to reference for data points that are exposed. Since the original creation of the APIs, additional objects have been exposed and new objects will continue to be exposed. The Aha! Ideas Portal is the correct tool to request exposure of additional data elements via API.

Note Not all fields in each database table are exposed via the associated APIs.
Tip

See the following related materials:

API ServiceRelated Database Tables
Application User Servicet_user_hierarchy, t_hierarchy_detail, t_hierarchy, t_concept, t_dash_report, t_user_consolidator, t_franchise, t_user_franchise
Budget Servicet_budget, t_budget_today, t_application_setting, t_gl, t_gl_grouping, t_sales_forecast_week
Category Servicet_category, t_gl
Check Menu Mix Servicet_supply, t_location, t_inv_hdr_pos, t_inv_dtl_pos_check, t_inv_dtl_pos_check_plu, t_inv_dtl_pos_check_excl_cns, t_recipe, t_revenue_center, t_pos_time, t_inv_dtl_pos_check_times, t_pos_misc, t_inv_dtl_pos_check_misc, t_inv_dtl_pos_check_plu_misc
Commissary Order Servicet_inv_hdr_hybrid, t_inv_dtl_hybrid
Company Product Enhanced Servicet_product_company, t_category, t_product_company_comments, t_haccp_compliance, t_tax_table_hdr, t_shipping_type, t_package_type, t_country, t_state, t_bid_sheet, t_bid, t_product_company_upc, t_product_company_location, t_location, t_product_company_aa, t_allergens_attributes_types, t_allergens_attributes, t_product_company_co_dept, t_company_department, t_product_concept, t_concept, t_product_company_fact, t_fact
Confirm Receipt Standard Servicet_inv_hdr_vendor_order, t_location, t_supply, t_user
Currency Ratio Servicet_currency_ratio, t_currency
Customer Servicet_location, t_supply, t_city, t_state, t_country
Customer Order Enhanced Servicet_inv_hdr_customer_order, t_location, t_supply, t_daypart, t_revenue_center, t_user, t_production, t_production_catering, t_inv_dtl_customer_order, t_product_company, t_package_type, t_storage, t_tax_table_hdr
API ServiceRelated Database Tables
Daily Prep Servicet_production, t_production_recipe, t_production_day, t_production_run, t_production_product, t_production_catering
Electronic Invoice Servicet_inv_hdr_vendor_order, t_inv_dtl_vendor_order
Employee Servicet_employee, t_location, t_employee_termination, t_state, t_country, t_employee_ethnic_group, t_employee_union, t_employee_marriage_status, t_employee_status, t_employee_minor_program, t_employee_employee_position, t_employee_position, t_employee_alt_location, t_employee_audit, t_audit, t_gl, t_gl_grouping, t_employee_skill_level, t_wage_matrix_dtl, t_city, t_state, t_market, t_app_label_text, t_label_configuration
General Ledger Servicet_gl, t_gl_grouping
Hierarchy Servicet_hierarchy, t_hierarchy_detail, t_location, t_hierarchy_level
Inventory Service - Inventory Adjustmentst_inv_hdr_action, t_location, t_daypart, t_user, t_inv_dtl_action, t_lot, t_product_company, t_storage, t_qualitative, t_package_type
Inventory Service - Value Adjustmentst_inv_hdr_action, t_location, t_product_company, t_inv_dtl_action, t_qualitative
Inventory Service - Physical Inventory Standardt_hdr_inventory_schedule, t_dtl_inventory_schedule, t_storage, t_user, t_product_company
Inventory Service – Current Inventoryt_inventory, t_product_company, t_lot, t_storage, t_package_type, t_product_pricing, t_category, t_gl, t_location
Inventory Service – Location Transferst_inv_hdr_transfer, t_inv_dtl_transfer, t_location, t_storage, t_product_company, t_package_type, t_user
Location Product Pricing Servicet_location, t_product_company, t_product_location, t_storage, t_sequence, t_product_pricing, t_package_type
Location Servicet_location, t_city, t_state, t_franchise, t_country, t_country_codes, t_market, t_currency, t_loc_dash_task_posting_grp, t_location_twx_time_clock, t_location_concept, t_concept, t_location_deliver_to, t_location_uda, vw_uda
Nutrition Servicet_nutrition, t_nutrient, t_nutrition_nutrient
Package Type Servicet_package_type, t_edi_unit_codes
PBI (Purchase By Invoice) Servicet_tran_hdr_category, t_supply, t_location, t_tran_dtl_category, t_category, t_gl
Projected Consumption Servicet_product_location_proj_cons, t_location, t_product_company
API ServiceRelated Database Tables
Purchase Order Servicet_inv_hdr_vendor_order, t_inv_dtl_vendor_order, t_inv_hdr_vendor_order_msg, t_product_company, t_storage, t_lot, t_location, t_user, t_supply, t_currency, t_location_deliver_to, t_qualitative, t_extract_history, t_tax_table_hdr, t_package_type, t_market, t_gl
Recipe Enhanced Servicet_recipe, t_product_company, t_category, t_package_type, t_recipe_group, t_haccp_compliance, t_prep_station, t_recipe_component, t_recipe_special_inst, t_recipe_component_subst, t_product_company_upc, t_product_company_location, t_location, t_product_company_aa, t_allergens_attributes_types, t_allergens_attributes, t_product_concept, t_concept
Recipe Location Servicet_recipe_location, t_product_company, t_recipe, t_location
Sales Forecast Servicet_sales_forecast_15min_rev_ctr, t_revenue_center, t_location, t_times, t_sales_forecast_day, t_user_location
Sales Mix Servicet_sales, t_pos, t_sales_breakout, t_gl, t_daypart, t_sales_sales_tax, t_sales_paid_outs, t_sales_non_cash, t_sales_comps, t_sales_deposit
Scheduled Export Servicet_export_field, t_export_src_field, t_export_src_rec, t_extract_history, t_export_src_field, t_export_field_custom, t_inv_hdr_vendor_order, t_inv_hdr_vendor_order_files, t_supply, t_location, t_tran_hdr_category, t_tran_hdr_category_files
Storage Location Servicet_storage, t_location, t_prep_station, t_storage_group, t_storage_storage_group
Supplemental Wage Servicet_labor_actual_shift, t_supplemental_wage, t_employee_position, t_location, t_employee
Time Clock Enhanced Servicet_labor_actual_day, t_labor_actual_shift, t_employee, t_location, t_employee_position, t_labor_actual_shift_unpaid
UDA Servicet_location, t_location_uda, vw_uda, t_supply, t_supply_uda, t_uda, t_gl_uda, t_gl
Vendor Servicet_supply, t_city, t_state, t_currency, t_country, t_country_codes, t_supply_uda, vw_uda
Vendor Location Servicet_supply_location_schedule, t_supply, t_location, t_supply_location, t_supply_location_loc, t_vendor_bid_product, t_market_secondary
Vendor Payment Servicet_inv_hdr_vendor_order, t_supply, t_location, t_inv_hdr_vendor_order_pay, t_tran_hdr_category, t_tran_hdr_category_pay
Vendor Product Pricing Servicet_vendor_bid_product, t_vendor_bid_product_sec, t_market_product_master, t_contract_price, t_product_company, t_package_type, t_supply, t_market, t_bid