Skip to main content

Overview

Bay assignment is the core workflow in Dashboard Backus. This guide explains how to assign trucks to bays using drag-and-drop, understand validation rules, and handle special cases.
Bay assignment is only available to Admin users. Client users have view-only access.

Bay Configuration

Dashboard Backus manages 10 bays across the Backus yard:
Bay IDNameLocationSpecialization
b0.1Bahía 0.1Left side, middleGeneral discharge
b0.2Bahía 0.2Left side, lowerGeneral discharge
b1Bahía 1Top leftGeneral discharge
b2Bahía 2Top center-leftGeneral discharge
b3Bahía 3Top centerFinished product (PT)
b4Bahía 4Top center-rightFinished product (PT)
b5Bahía 5Top rightFinished product (PT)
b14Bahía 14Right side, upperFinished product + empty bottles
b10Bahía 10Far right, middleRestricted (coordination required)
b12Bahía 12Far right, lowerRestricted (coordination required)

Assigning Trucks to Bays

1

Identify Truck in Queue

Review the truck queue at the bottom of the screen. Each truck card displays:
  • Plate number (e.g., “BFW-234”)
  • Truck type (Parihuelero, Jumbo, Bi-tren, Tolva, Otros)
  • Operation (Carga ⬆ or Descarga ⬇)
  • Product type (e.g., “PT”, “PP”, “Fardos”)
  • Wait time with traffic light color
  • Incident count (if any)
Prioritize trucks with red traffic light status to minimize wait times.
2

Enable Help Mode (Optional)

Click the lightbulb icon in the header to highlight compatible bays:
  • Green bays: Compatible with the truck being dragged
  • Red bays: Incompatible due to validation rules
This visual aid helps prevent assignment errors.
3

Drag Truck to Bay

  1. Click and hold on the truck card in the queue
  2. Drag the cursor over the desired bay on the yard map
  3. The bay will highlight to indicate drop readiness
  4. Release the mouse button to complete the assignment
If the assignment violates validation rules, an error toast will appear and the assignment will be rejected.
4

Confirm Special Bays

Bays b10 and b12 require coordination with the T2 team:
  • A confirmation dialog will appear: “¡ATENCIÓN! Coordina con T2.”
  • Click “OK” to proceed with the assignment
  • Click “Cancel” to choose a different bay
5

Verify Assignment

Once assigned, the truck:
  • Disappears from the queue
  • Appears in the target bay with real-time status
  • Updates the database with bay location and “Descargando” or “Cargando” status
  • Continues tracking wait time with traffic light colors

Validation Rules

The system enforces three validation rules before allowing bay assignment:

1. Bay Availability

Rule: A bay must be unoccupied to accept a new truck.
Error Message: “Bahía ocupada” Solution: Wait for the current truck to complete its operation and exit, or reassign the truck to a different bay.

2. Truck Type Compatibility

Rule: The truck type must be in the bay’s allowed truck list.
Each bay accepts specific truck types:
Truck TypeCodeCompatible Bays
ParihueleroPAll bays (b0.1, b0.2, b1-b5, b10, b12, b14)
JumboJAll except b10, b12
Bi-trenBAll except b10, b12
TolvaTb0.1, b0.2, b1, b2 only
OtrosOAll except b10, b12
Error Message: “Tipo de camión no permitido” Solution: Select a bay that accepts the truck’s type (see table above).
Bays b10 and b12 are restricted to Parihuelero (P) trucks only.

3. Operation and Product Compatibility

Rule: The bay must support the truck’s operation (Descarga/Carga) AND the specific product type.

Discharge Operations (Descarga - D)

Bay GroupProducts Accepted
b0.1, b0.2, b1, b2Fardos, Envases, CPC, PH, MIXD
b3, b4, b5PT (Producto Terminado), MIXD
b14PT, MIXD
b10, b12PT, PP (Polipropileno), MIXD

Charge Operations (Carga - C)

Bay GroupProducts Accepted
b0.1, b0.2, b1, b2None (discharge only)
b3, b4, b5PP, PT, MIXC
b14PP, PT, MIXC, ENVLT (Envases Ligeros Terminados)
b10, b12PP, PT, MIXC
Error Messages:
  • “Operación no permitida en esta bahía” - The bay doesn’t support the operation type
  • “Producto no admitido en esta bahía” - The product is not compatible with the bay
Solution: Choose a bay that supports both the operation and product type.
MIXD (Mixed Discharge) and MIXC (Mixed Charge) are wildcard product codes that match any bay supporting discharge or charge operations respectively.

Reassigning Trucks Between Bays

You can move trucks between bays after initial assignment:
1

Drag from Occupied Bay

Click and hold on the truck information inside the occupied bay (not the bay itself).
2

Drop on Target Bay

Drag to the destination bay and release. The same validation rules apply.
3

Database Update

The system automatically updates:
  • Previous bay is marked as available
  • New bay is marked as occupied
  • bahia_actual field in database is updated
  • A notification toast confirms the reassignment
Use reassignment to optimize bay utilization when priorities change or incidents occur.

Automatic vs. Manual Completion

Simulation Mode

  • Trucks automatically exit after 8 time units (8 seconds)
  • Exit time is added to shift statistics
  • No manual intervention required

Real Mode

  • Trucks require manual completion by clicking the ”✅ Salida” button
  • This reflects real-world operations where operators confirm truck departures
  • See Monitoring Operations for exit workflow

Common Assignment Scenarios

Scenario 1: Parihuelero with Finished Product Discharge

Truck: Plate BFW-234, Type: Parihuelero (P)
Operation: Descarga (⬇)
Product: PT (Producto Terminado)

✅ Compatible Bays: b3, b4, b5, b10, b12, b14
❌ Incompatible: b0.1, b0.2, b1, b2 (don't accept PT discharge)

Recommended: b3, b4, or b5 (no coordination required)

Scenario 2: Tolva with Bales Discharge

Truck: Plate CTM-789, Type: Tolva (T)
Operation: Descarga (⬇)
Product: Fardos

✅ Compatible Bays: b0.1, b0.2, b1, b2
❌ Incompatible: b3-b5, b10, b12, b14 (Tolva not allowed)

Recommended: b0.1 or b0.2 (side bays, good for Tolva access)

Scenario 3: Bi-tren with Polypropylene Charge

Truck: Plate BHQ-456, Type: Bi-tren (B)
Operation: Carga (⬆)
Product: PP (Polipropileno)

✅ Compatible Bays: b3, b4, b5, b14
❌ Incompatible: b0.1, b0.2, b1, b2 (no charge operations)
❌ Incompatible: b10, b12 (Bi-tren not allowed)

Recommended: b3, b4, or b5

Best Practices

  • Assign red-status trucks first to avoid SLA violations
  • Use the “Priority Alert” panel to identify the longest-waiting truck
  • Monitor the traffic light legend for threshold awareness
  • Distribute trucks across multiple bays when possible
  • Avoid queuing multiple trucks for the same bay
  • Consider geographic layout for efficient yard flow
  • Use b10 and b12 only when necessary (coordination overhead)
  • Save b14 for special cases (ENVLT products)
  • Keep high-capacity bays (b3-b5) available for peak hours
  • Enable Help Mode when training new operators
  • Practice assignments during low-traffic periods
  • Review validation error messages to learn rules

Troubleshooting

Assignment Rejected Despite Correct Bay

Cause: Bay may already be occupied by another user’s assignment that hasn’t refreshed yet. Solution: Wait 10 seconds for the next polling cycle and try again.

Truck Reappears in Queue After Assignment

Cause: Database update failed due to connection issue. Solution: Check network connection and reassign the truck. Verify in the database that the estado field updated to “Descargando” or “Cargando”.

Cannot Drag Truck Card

Cause: Session may not be active. Solution: Verify the header shows “Detener” (stop) button. If it shows “Iniciar” (start), start a new session.

Next Steps

Monitoring Operations

Learn how to track bay operations and complete truck exits

Build docs developers (and LLMs) love