@@ -15,7 +15,6 @@ |
||
15 | 15 | * @property Byte $Main Indicates the main unit per division. Will be used when creating new item |
16 | 16 | * @property String $TimeUnit If Type = 'T' (time) then this fields indicates the type of time frame. yy = Year, mm = Month, wk = Week, dd = Day, hh = Hour, mi = Minute, ss = Second |
17 | 17 | * @property String $Type Type 'Time' is especially important for contracts. |
18 | - |
|
19 | 18 | */ |
20 | 19 | class Units extends Model |
21 | 20 | { |
@@ -94,8 +94,8 @@ |
||
94 | 94 | protected $middleWares = []; |
95 | 95 | |
96 | 96 | /** |
97 | - * @var |
|
98 | - */ |
|
97 | + * @var |
|
98 | + */ |
|
99 | 99 | public $nextUrl = null; |
100 | 100 | |
101 | 101 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | use Persistance\Storable; |
19 | 19 | |
20 | 20 | protected $fillable = [ |
21 | - 'ID', |
|
21 | + 'ID', |
|
22 | 22 | 'CallbackURL', |
23 | 23 | 'Topic', |
24 | 24 | ]; |
@@ -32,22 +32,22 @@ |
||
32 | 32 | protected $primaryKey = 'HID'; |
33 | 33 | |
34 | 34 | protected $fillable = [ |
35 | - 'AccountCode', |
|
36 | - 'AccountId', |
|
37 | - 'AccountName', |
|
38 | - 'Amount', |
|
39 | - 'AmountInTransit', |
|
40 | - 'CurrencyCode', |
|
41 | - 'Description', |
|
42 | - 'DueDate', |
|
43 | - 'EntryNumber', |
|
44 | - 'HID', |
|
45 | - 'Id', |
|
46 | - 'InvoiceDate', |
|
47 | - 'InvoiceNumber', |
|
48 | - 'JournalCode', |
|
49 | - 'JournalDescription', |
|
50 | - 'YourRef', |
|
35 | + 'AccountCode', |
|
36 | + 'AccountId', |
|
37 | + 'AccountName', |
|
38 | + 'Amount', |
|
39 | + 'AmountInTransit', |
|
40 | + 'CurrencyCode', |
|
41 | + 'Description', |
|
42 | + 'DueDate', |
|
43 | + 'EntryNumber', |
|
44 | + 'HID', |
|
45 | + 'Id', |
|
46 | + 'InvoiceDate', |
|
47 | + 'InvoiceNumber', |
|
48 | + 'JournalCode', |
|
49 | + 'JournalDescription', |
|
50 | + 'YourRef', |
|
51 | 51 | ]; |
52 | 52 | |
53 | 53 | protected $url = 'read/financial/ReceivablesList'; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | ]; |
28 | 28 | |
29 | 29 | $res = $client->get($uri, [ |
30 | - 'headers' => $headers |
|
30 | + 'headers' => $headers |
|
31 | 31 | ]); |
32 | 32 | |
33 | 33 | return $res->getBody(); |
@@ -47,34 +47,34 @@ |
||
47 | 47 | |
48 | 48 | protected $fillable = [ |
49 | 49 | 'ID', |
50 | - 'AverageCost', |
|
51 | - 'Backflush', |
|
52 | - 'CalculatorType', |
|
53 | - 'CostBatch', |
|
54 | - 'CostCenter', |
|
55 | - 'CostCenterDescription', |
|
56 | - 'CostUnit', |
|
57 | - 'CostUnitDescription', |
|
58 | - 'CreatorFullName', |
|
59 | - 'Description', |
|
60 | - 'DetailDrawing', |
|
61 | - 'Division', |
|
62 | - 'ItemVersion', |
|
63 | - 'LineNumber', |
|
64 | - 'NetWeight', |
|
65 | - 'NetWeightUnit', |
|
66 | - 'Notes', |
|
67 | - 'PartItem', |
|
68 | - 'PartItemCode', |
|
69 | - 'PartItemCostPriceStandard', |
|
70 | - 'PartItemDescription', |
|
71 | - 'Quantity', |
|
72 | - 'QuantityBatch', |
|
73 | - 'syscreated', |
|
74 | - 'syscreator', |
|
75 | - 'sysmodified', |
|
76 | - 'sysmodifier', |
|
77 | - 'Type' |
|
50 | + 'AverageCost', |
|
51 | + 'Backflush', |
|
52 | + 'CalculatorType', |
|
53 | + 'CostBatch', |
|
54 | + 'CostCenter', |
|
55 | + 'CostCenterDescription', |
|
56 | + 'CostUnit', |
|
57 | + 'CostUnitDescription', |
|
58 | + 'CreatorFullName', |
|
59 | + 'Description', |
|
60 | + 'DetailDrawing', |
|
61 | + 'Division', |
|
62 | + 'ItemVersion', |
|
63 | + 'LineNumber', |
|
64 | + 'NetWeight', |
|
65 | + 'NetWeightUnit', |
|
66 | + 'Notes', |
|
67 | + 'PartItem', |
|
68 | + 'PartItemCode', |
|
69 | + 'PartItemCostPriceStandard', |
|
70 | + 'PartItemDescription', |
|
71 | + 'Quantity', |
|
72 | + 'QuantityBatch', |
|
73 | + 'syscreated', |
|
74 | + 'syscreator', |
|
75 | + 'sysmodified', |
|
76 | + 'sysmodifier', |
|
77 | + 'Type' |
|
78 | 78 | ]; |
79 | 79 | |
80 | 80 | protected $url = 'manufacturing/BillOfMaterialMaterials'; |
@@ -32,7 +32,6 @@ discard block |
||
32 | 32 | * @property String $TypeDescription Description of Type |
33 | 33 | * @property Date $VersionDateTime Version date |
34 | 34 | * @property Int32 $VersionNumber Version Number |
35 | - |
|
36 | 35 | */ |
37 | 36 | class BillOfMaterialVersions extends Model |
38 | 37 | { |
@@ -42,30 +41,30 @@ discard block |
||
42 | 41 | protected $primaryKey = 'ID'; |
43 | 42 | |
44 | 43 | protected $fillable = [ |
45 | - 'ID', |
|
46 | - 'BatchQuantity', |
|
47 | - 'CadDrawingUrl', |
|
48 | - 'CalculatedCostPrice', |
|
49 | - 'Created', |
|
50 | - 'Creator', |
|
51 | - 'CreatorFullName', |
|
52 | - 'Description', |
|
53 | - 'Division', |
|
54 | - 'IsDefault', |
|
55 | - 'Item', |
|
56 | - 'ItemDescription', |
|
57 | - 'Modified', |
|
58 | - 'Modifier', |
|
59 | - 'ModifierFullName', |
|
60 | - 'Notes', |
|
61 | - 'OrderLeadDays', |
|
62 | - 'ProductionLeadDays', |
|
63 | - 'Status', |
|
64 | - 'StatusDescription', |
|
65 | - 'Type', |
|
66 | - 'TypeDescription', |
|
67 | - 'VersionDate', |
|
68 | - 'VersionNumber' |
|
44 | + 'ID', |
|
45 | + 'BatchQuantity', |
|
46 | + 'CadDrawingUrl', |
|
47 | + 'CalculatedCostPrice', |
|
48 | + 'Created', |
|
49 | + 'Creator', |
|
50 | + 'CreatorFullName', |
|
51 | + 'Description', |
|
52 | + 'Division', |
|
53 | + 'IsDefault', |
|
54 | + 'Item', |
|
55 | + 'ItemDescription', |
|
56 | + 'Modified', |
|
57 | + 'Modifier', |
|
58 | + 'ModifierFullName', |
|
59 | + 'Notes', |
|
60 | + 'OrderLeadDays', |
|
61 | + 'ProductionLeadDays', |
|
62 | + 'Status', |
|
63 | + 'StatusDescription', |
|
64 | + 'Type', |
|
65 | + 'TypeDescription', |
|
66 | + 'VersionDate', |
|
67 | + 'VersionNumber' |
|
69 | 68 | ]; |
70 | 69 | |
71 | 70 | protected $url = 'manufacturing/BillOfMaterialVersions'; |
@@ -37,28 +37,28 @@ |
||
37 | 37 | |
38 | 38 | protected $fillable = [ |
39 | 39 | 'ID', |
40 | - 'Amount', |
|
41 | - 'Created', |
|
42 | - 'Creator', |
|
43 | - 'CreatorFullName', |
|
44 | - 'Deliverable', |
|
45 | - 'Description', |
|
46 | - 'Division', |
|
47 | - 'ExecutionFromDate', |
|
48 | - 'ExecutionToDate', |
|
49 | - 'InvoiceDate', |
|
50 | - 'Item', |
|
51 | - 'ItemDescription', |
|
52 | - 'Modified', |
|
53 | - 'Modifier', |
|
54 | - 'ModifierFullName', |
|
55 | - 'Notes', |
|
56 | - 'Percentage', |
|
57 | - 'Project', |
|
58 | - 'ProjectDescription', |
|
59 | - 'VATCode', |
|
60 | - 'VATCodeDescription', |
|
61 | - 'VATPercentage' |
|
40 | + 'Amount', |
|
41 | + 'Created', |
|
42 | + 'Creator', |
|
43 | + 'CreatorFullName', |
|
44 | + 'Deliverable', |
|
45 | + 'Description', |
|
46 | + 'Division', |
|
47 | + 'ExecutionFromDate', |
|
48 | + 'ExecutionToDate', |
|
49 | + 'InvoiceDate', |
|
50 | + 'Item', |
|
51 | + 'ItemDescription', |
|
52 | + 'Modified', |
|
53 | + 'Modifier', |
|
54 | + 'ModifierFullName', |
|
55 | + 'Notes', |
|
56 | + 'Percentage', |
|
57 | + 'Project', |
|
58 | + 'ProjectDescription', |
|
59 | + 'VATCode', |
|
60 | + 'VATCodeDescription', |
|
61 | + 'VATPercentage' |
|
62 | 62 | ]; |
63 | 63 | |
64 | 64 | protected $url = 'project/InvoiceTerms'; |