Sériové číslo
API název: ProductSerial
Evidence jednotlivých kusů produktu.
Pole
| Pole |
Typ |
Povinné |
Popis |
name |
varchar |
- |
Název |
serialNumber |
varchar |
|
Sériové číslo (unikátní) |
status |
enum |
|
Stav |
product |
link |
|
Produkt |
batchNumber |
varchar |
- |
Číslo šarže |
manufacturedDate |
date |
- |
Datum výroby |
manufactureYear |
int |
- |
Rok výroby |
warrantyUntil |
date |
- |
Garance do |
currentOwner |
link |
- |
Současný vlastník |
supplier |
link |
- |
Dodavatel |
description |
text |
- |
Popis |
notes |
text |
- |
Poznámky |
documentation |
attachmentMultiple |
- |
Dokumentace |
assignedUser |
link |
- |
Zodpovídá |
teams |
linkMultiple |
- |
Týmy |
Enum hodnoty status
| Hodnota |
Popis |
Styl |
Active |
Aktivní |
success |
Sold |
Prodáno |
primary |
Defective |
Vadný |
danger |
Returned |
Vráceno |
warning |
Scrapped |
Vyřazeno |
default |
Relace
| Relace |
Typ |
Cílová entita |
product |
belongsTo |
Product |
currentOwner |
belongsTo |
Account |
supplier |
belongsTo |
Account |
assignedUser |
belongsTo |
User |
Indexy
| Index |
Sloupce |
Unikátní |
serialNumber |
serialNumber, deleted |
|
product |
productId, deleted |
- |
status |
status, deleted |
- |
warrantyUntil |
warrantyUntil, deleted |
- |
manufacturedDate |
manufacturedDate, deleted |
- |