-
Notifications
You must be signed in to change notification settings - Fork 201
/
Copy pathAssemblyOrder.php
71 lines (67 loc) · 2.65 KB
/
AssemblyOrder.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
namespace Picqer\Financials\Exact;
/**
* Class AssemblyOrder.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=InventoryAssemblyOrders
*
* @property string $ID A guid that is the unique identifier of the assembly order
* @property string $AssemblyDate Planned date for assembly of the item
* @property string $Description Description of assembly order
* @property int $Division Division code
* @property string $FinishedAssemblyDate Latest finished date for assembly of the item
* @property float $FinishedQuantity Quantity of items that have actually been assembled
* @property string $Item Reference to assembled item
* @property string $ItemCode Assembled item code
* @property string $ItemDescription Description of assembled item
* @property string $Notes Notes of the assembly order
* @property string $OrderDate Date of the assembly order is initiated
* @property int $OrderNumber Assembly order number
* @property int $OrderStatus Assembly order status: 20 = Open, 30 = Partial, 50 = Complete
* @property PartItem[] $PartItems Collection of part items for assembly order
* @property float $PlannedQuantity Planned quantity of the item to be assembled
* @property string $StorageLocation Reference to storage location
* @property string $StorageLocationCode Storage location code
* @property string $StorageLocationDescription Storage location description
* @property int $StorageLocationSequenceNumber Sequence number for assembly order (Premium Only)
* @property int $Type Assembly order type: 8060 = Assembly, 8061 = Disassemble
* @property string $Unit The standard unit of the assembled item
* @property string $UnitCode Code of Unit
* @property string $UnitDescription Description of Unit
* @property string $Warehouse Warehouse
* @property string $WarehouseCode Code of Warehouse
* @property string $WarehouseDescription Description of Warehouse
*/
class AssemblyOrder extends Model
{
use Query\Findable;
protected $fillable = [
'ID',
'AssemblyDate',
'Description',
'Division',
'FinishedAssemblyDate',
'FinishedQuantity',
'Item',
'ItemCode',
'ItemDescription',
'Notes',
'OrderDate',
'OrderNumber',
'OrderStatus',
'PartItems',
'PlannedQuantity',
'StorageLocation',
'StorageLocationCode',
'StorageLocationDescription',
'StorageLocationSequenceNumber',
'Type',
'Unit',
'UnitCode',
'UnitDescription',
'Warehouse',
'WarehouseCode',
'WarehouseDescription',
];
protected $url = 'inventory/AssemblyOrders';
}