# Car Workshop

For garages: vehicles with inspection and service dates, repair orders with labour, parts and total, spare\-part lines per order and seasonal tyre storage, on top of CRM, Inventory and Invoicing\.

Source: https://erpoida.com/templates/use-case/car-workshop/
Languages: de, en

## يعتمد على

عند إضافة القالب تُفعَّل هذه التطبيقات إن كانت متوقفة: إدارة العملاء, المخزون, الفواتير, الموظفون\.

## كيف ترتبط الكائنات

- Vehicle يرتبط بـ Customer عبر الحقل «Owner»\.
- Repair order يرتبط بـ Vehicle عبر الحقل «Vehicle»\.
- Repair order يرتبط بـ Customer عبر الحقل «Customer»\.
- Repair order يرتبط بـ Employee عبر الحقل «Mechanic»\.
- Part line يرتبط بـ Repair order عبر الحقل «Order»\.
- Part line يرتبط بـ Product عبر الحقل «Product»\.
- Tyre storage يرتبط بـ Vehicle عبر الحقل «Vehicle»\.

## Vehicles

| الحقل | النوع | التفاصيل |
|---|---|---|
| Licence plate | نص | إلزامي |
| Owner | ارتباط | إلزامي · يرتبط بـ Customer |
| Make | نص | — |
| Model | نص | — |
| Vehicle identification number | نص | — |
| First registered | تاريخ | — |
| Fuel | اختيار | الخيارات: Petrol, Diesel, Hybrid, Electric, Lpg, Other · القيمة الافتراضية: Petrol |
| Mileage \(km\) | رقم | — |
| Next main inspection \(HU\) | تاريخ | — |
| Next service | تاريخ | — |
| Agrees to reminders | نعم / لا | القيمة الافتراضية: نعم |

### طرق العرض
- **table**: جدول بالأعمدة: Licence plate, Owner, Make, Model, Mileage \(km\), Next main inspection \(HU\), Next service\.
- **calendar**: تقويم حسب Next main inspection \(HU\)\.
- **by\_fuel**: رسم بياني: عدد السجلات حسب Fuel\.

## Repair orders

| الحقل | النوع | التفاصيل |
|---|---|---|
| Order | نص | إلزامي |
| Vehicle | ارتباط | إلزامي · يرتبط بـ Vehicle |
| Customer | ارتباط | إلزامي · يرتبط بـ Customer |
| Status | اختيار | الخيارات: Received, Diagnosed, Quoted, Approved, In repair, Ready, Collected, Invoiced · القيمة الافتراضية: Received |
| Type | اختيار | الخيارات: Service, Repair, Inspection, Tyres, Bodywork, Warranty · القيمة الافتراضية: Service |
| Mechanic | ارتباط | يرتبط بـ Employee |
| Received on | تاريخ | — |
| Promised for | تاريخ | — |
| Mileage at drop\-off | رقم | — |
| Customer complaint | نص طويل | — |
| Findings | نص طويل | — |
| Labour hours | رقم | — |
| Labour rate | مبلغ | المبالغ بعملة EUR |
| Parts | مبلغ | المبالغ بعملة EUR |
| Total \(net\) | معادلة | محسوب: \[Labour hours\] \* \[Labour rate\] \+ \[Parts\] |
| Customer approved the quote | نعم / لا | القيمة الافتراضية: لا |
| Courtesy car | نعم / لا | القيمة الافتراضية: لا |

### طرق العرض
- **table**: جدول بالأعمدة: Order, Vehicle, Customer, Type, Status, Promised for, Total \(net\)\.
- **board**: لوحة بعمود لكل قيمة من Status؛ اسحب البطاقة لتغييرها\.
- **calendar**: تقويم حسب Promised for\.
- **revenue\_by\_type**: جدول محوري: المجموع لـ Parts حسب Type\.

## Part lines

| الحقل | النوع | التفاصيل |
|---|---|---|
| Part | نص | إلزامي |
| Order | ارتباط | إلزامي · يرتبط بـ Repair order |
| Product | ارتباط | يرتبط بـ Product |
| Quantity | رقم | إلزامي |
| Cost | مبلغ | المبالغ بعملة EUR |
| Price | مبلغ | المبالغ بعملة EUR |
| Line price | معادلة | محسوب: \[Quantity\] \* \[Price\] |
| Margin | معادلة | محسوب: \[Quantity\] \* \[Price\] \- \[Quantity\] \* \[Cost\] |
| Old part given back | نعم / لا | القيمة الافتراضية: لا |

### طرق العرض
- **table**: جدول بالأعمدة: Part, Order, Quantity, Cost, Price, Line price, Margin\.
- **margin\_by\_order**: جدول محوري: المجموع لـ Margin حسب Order\.

## Tyre storage

| الحقل | النوع | التفاصيل |
|---|---|---|
| Storage | نص | إلزامي |
| Vehicle | ارتباط | إلزامي · يرتبط بـ Vehicle |
| Tyres | اختيار | الخيارات: Summer, Winter, All season · القيمة الافتراضية: Summer |
| Size | نص | — |
| Rack position | نص | — |
| Stored on | تاريخ | — |
| Fee per season | مبلغ | المبالغ بعملة EUR |
| Status | اختيار | الخيارات: Stored, Returned · القيمة الافتراضية: Stored |

### طرق العرض
- **table**: جدول بالأعمدة: Storage, Vehicle, Tyres, Size, Rack position, Status\.
- **by\_type**: رسم بياني: عدد السجلات حسب Tyres\.

## حقول تُضاف إلى كائنات موجودة لديك

- Customers: Reminders by post \(نعم / لا\)

## الأتمتة

تُضاف كمسودات\. راجع كل واحدة وفعّلها عندما تناسب طريقة عملك\.

### Main inspection due in 45 days: remind the owner

تبدأ عندما: حسب جدول زمني

1. البحث عن سجلات — Find Vehicles
2. لكل عنصر — Repeat for each item in Find Vehicles · Matching records
   1. فقط إذا تحقق الشرط — Check AND\(\{item\.values\.allowsReminders\}, NOT\(ISBLANK\(\{item\.values\.nextInspection\}\)\), DATEDIF\(TODAY\(\), \{item\.values\.nextInspection\}, "D"\) \>= 0, DATEDIF\(TODAY\(\), \{item\.values\.nextInspection\}, "D"\) \<= 45\)
      1. إنشاء تذكير — On a: garage\.vehicle · Which record: Current loop item · Record ID

### Vehicle ready: call the customer

تبدأ عندما: عند تحديث سجل

1. إنشاء تذكير — On a: garage\.repair\_order · Which record: Trigger record · Record ID

### Quote waiting for approval: remind after 2 days

تبدأ عندما: حسب جدول زمني

1. البحث عن سجلات — Find Repair orders where \{"status":"quoted"\}
2. لكل عنصر — Repeat for each item in Find Repair orders · Matching records
   1. إنشاء تذكير — On a: garage\.repair\_order · Which record: Current loop item · Record ID


[Get template](https://app.erpoida.com/get-template?template=use-case%2Fcar-workshop)
