Spensara Spensara Knowledge Base & Documentation Repository

Repository Docs & Knowledge Base

Consolidated Spensara documentation repository (722 Markdown & architecture documents in ../repository)
Built Word Documents (.docx): Spensara Overview (.docx) Capability Assessment (.docx) Brink POS Ingestion Analysis (.docx) The Borg Ingestion Architecture (.docx)

Warehouse Model (93)

Analytical data warehouse schemas, curated tables, and Redshift/Athena data models.
warehouse-model/docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transactions.md 6,219 bytes · Updated Oct 23, 2026 10:44 AM EDT
Raw File

Brink mapping for curated.pos_transactions

Main staging sources

  • staging.brink_sales2_orders
  • staging.brink_settings2_get_destinations

Mapping groups

  • Technical and ETL property mappings describe lineage, source reconciliation, tenant scoping, and ingestion metadata.

Business property mappings

Curated ColumnBrink Staging TableBrink Property PathCurrent mappingStatusNotes
"check"N/AN/ANULLNot mappedNo matching check field is documented in Brink orders.
amountstaging.brink_sales2_orderstotalNULLNot mappedDirect total sales amount.
openhourstaging.brink_sales2_ordersopened_timeNULLNot mappedDerive hour from the order open timestamp.
openminstaging.brink_sales2_ordersopened_timeNULLNot mappedDerive minute from the order open timestamp.
orderhourstaging.brink_sales2_ordersopened_timeNULLNot mappedDerive hour from the order open timestamp.
orderminstaging.brink_sales2_ordersopened_timeNULLNot mappedDerive minute from the order open timestamp.
closehourstaging.brink_sales2_ordersclosed_timeNULLNot mappedDerive hour from the order close timestamp.
closeminstaging.brink_sales2_ordersclosed_timeNULLNot mappedDerive minute from the order close timestamp.
"count"staging.brink_sales2_ordersorder_countNULLNot mappedDirect order header count.
revenuestaging.brink_sales2_orderssection_idNULLNot mappedBest header-level revenue section identifier.
unitN/AN/ANULLNot mappedNo unit identifier is documented on Brink orders.
dobstaging.brink_sales2_ordersbusiness_dateNULLNot mappedDirect business date.
occasionstaging.brink_sales2_ordersdestination_idNULLNot mappedBest available service-occasion style field.
employeestaging.brink_sales2_ordersemployee_idNULLNot mappedDirect employee identifier.
periodN/AN/ANULLNot mappedNo matching business-period field is documented.
"type"N/AN/ANULLNot mappedNo transaction type classification code is documented.
typeidstaging.brink_sales2_ordersdestination_idNULLNot mappedBest available destination/channel identifier.
shiftN/AN/ANULLNot mappedNo shift identifier is documented on orders.
typeid2N/AN/ANULLNot mappedNo secondary channel identifier is documented.
revid2N/AN/ANULLNot mappedNo secondary revenue grouping identifier is documented.
store_nameN/AN/ANULLNot mappedNo store name is documented.
revenue_center_nameN/AN/ANULLNot mappedNo revenue center name is documented at the order header level.
occasion_namestaging.brink_settings2_get_destinationsnameNULLNot mappedResolve occasion name by joining destination_id to staging.brink_settings2_get_destinations on destination_id.
transaction_type_namestaging.brink_settings2_get_destinationsnameNULLNot mappedResolve transaction type name by joining destination_id to staging.brink_settings2_get_destinations on destination_id.
business_timestamp_utcstaging.brink_sales2_ordersopened_timeNULLNot mappedDirect UTC timestamp.
guest_countstaging.brink_sales2_ordersguest_countNULLNot mappedDirect guest count.
net_amountstaging.brink_sales2_ordersnet_salesNULLNot mappedDirect net sales amount.
currency_codeN/AN/ANULLNot mappedCurrency is not documented in the available Brink staging model.
transaction_status_codestaging.brink_sales2_orders(is_closed, is_refund, is_future_order)NULLNot mappedDerive machine-friendly status code from status boolean fields.

Technical and ETL property mappings

Curated ColumnBrink Staging TableBrink Property PathCurrent mappingStatusNotes
transaction_keyN/AN/ANULLNot mappedWarehouse-generated key.
source_systemN/AN/Aconstant 'brink_pos'Derived constantWarehouse constant, not a Brink API field.
source_transaction_idstaging.brink_sales2_ordersorder_idNULLNot mappedDirect Brink source order identifier kept for reconciliation.
tenant_keyN/AN/ANULLNot mappedWarehouse-generated key.
tenant_nameN/AN/Aparameter @tenant_idETL contextTenant metadata is outside the documented Brink staging payloads.
_etl_batch_idstaging.brink_sales2_orders_etl_batch_id_etl_batch_idMappedETL metadata propagated from staging.
_etl_source_typestaging.brink_sales2_orders_etl_source_type_etl_source_typeMappedETL metadata propagated from staging.
_etl_ingested_atstaging.brink_sales2_orders_etl_ingested_at_utc_etl_ingested_at_utc AS _etl_ingested_atMappedETL metadata propagated from staging.

Portal and sample validation

Curated fieldAdditional validated sourceHow to use it
occasionSales2.GetOrders -> Orders[].Entries[].OrderItem.DayPartIdSample payloads and Brink WSDL confirm DayPartId, which can be used as an additional meal-period signal.
occasion_nameSettings.GetDayParts -> DayPart.NameBrink portal WSDL confirms a day-part lookup endpoint that can supplement destination-based occasion mapping.
employeeSettings2.GetEmployees -> Employees[].DisplayNamePortal WSDL and sample response confirm employee lookup fields that can enrich transaction-level employee context.
source_transaction_idSales2.GetOrders -> Orders[].IdNoLocationSample payloads confirm IdNoLocation exists as a useful extra source identifier beside Id.