u
This commit is contained in:
@@ -296,7 +296,8 @@ Maps articles to suppliers (`entity`) with purchase pricing, stock, packaging un
|
||||
| `id` | `INT` | Primary Key (`IDENTITY(1,1)`) |
|
||||
| `article_id` | `INT` | FK → `article(id)` (`ON DELETE CASCADE`) |
|
||||
| `entity_id` | `INT` | FK → `entity(id)` (`ON DELETE CASCADE`) |
|
||||
| `price_id` | `INT` | FK → `price(id)` (`ON DELETE SET NULL`), nullable |
|
||||
| `net` | `FLOAT` | Purchase net price, nullable |
|
||||
| `tax_id` | `INT` | FK → `tax(id)` (`ON DELETE NO ACTION`), nullable |
|
||||
| `sku` | `NVARCHAR(100)` | Supplier's SKU code, nullable |
|
||||
| `stock` | `FLOAT` | Stock available at supplier, nullable |
|
||||
| `pu` | `FLOAT` | Packaging unit (Verpackungseinheit), default `1` |
|
||||
|
||||
Reference in New Issue
Block a user