Cooperation
API: Cooperation
External manufacturing at supplier.
Fields
| Field |
Type |
Required |
Description |
name |
varchar |
|
Cooperation name |
status |
enum |
|
Status |
referenceIdentifier |
varchar |
- |
ID (automatic) |
supplier |
link |
- |
Supplier |
dateOrdered |
datetime |
- |
Order date |
dateDelivered |
datetime |
- |
Delivery date |
dateReceived |
datetime |
- |
Receipt date |
deliveryMethod |
enum |
- |
Delivery method |
paymentMethod |
enum |
- |
Payment method |
amount |
currency |
- |
Amount |
taxRate |
percentage |
- |
Tax rate |
taxAmount |
currency |
- |
Tax amount |
grandTotalAmount |
currency |
- |
Grand total with tax |
shippingCost |
currency |
- |
Shipping cost |
wrappingCost |
currency |
- |
Wrapping cost |
weight |
float |
- |
Weight |
billingAddress |
address |
- |
Billing address |
billingContact |
link |
- |
Billing contact |
taxClass |
link |
- |
Tax class |
description |
text |
- |
Description |
textBeforeItems |
wysiwyg |
- |
Text before items |
textAfterItems |
wysiwyg |
- |
Text after items |
Enum Values status
| Value |
Description |
Color |
Draft |
Work in progress |
default |
Ready |
Ready |
default |
Waiting |
Waiting |
warning |
Ordered |
Ordered |
default |
Delivered |
Delivered |
success |
Rejected |
Rejected |
danger |
Canceled |
Canceled |
danger |
Enum Values deliveryMethod
| Value |
Description |
Color |
- |
Not specified |
default |
Pickup |
Pickup |
info |
Delivery |
Delivery |
success |
Enum Values paymentMethod
| Value |
Description |
- |
Not specified |
BankTransfer |
Bank transfer |
Card |
Card |
Cash |
Cash |
CashOnDelivery |
Cash on delivery |
Relationships
| Relationship |
Type |
Target Entity |
supplier |
belongsTo |
Account |
taxClass |
belongsTo |
TaxClass |
billingContact |
belongsTo |
Contact |
items |
hasMany |
CooperationItem |
productionOrders |
hasMany |
ProductionOrder |
goodsReceipts |
hasMany |
GoodsReceipt |
additionalCosts |
hasMany |
AdditionalCost |