Skip to content

Commit 4cca896

Browse files
authored
Merge pull request #663 from DannyvdSluijs/Update-from-documentation-2024-12-31
feat: Update based on documentation d.d. 2024-12-31
2 parents 6463d3d + 9ba48d6 commit 4cca896

File tree

11 files changed

+14
-11
lines changed

11 files changed

+14
-11
lines changed

src/Picqer/Financials/Exact/CustomField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @property string $BusinessComponentName Business component name
1212
* @property string $Caption Custom field description
1313
* @property string $PropertyName Custom business property name
14-
* @property string $RefersTo The name of the referencing entity. The supported values are Item, Account, Project, Opportunity, SalesOrder, Contact, User, Employee and Document
14+
* @property string $RefersTo The name of the referencing entity. The supported values are Item, Account, Project, Opportunity, SalesOrder, Contact, User, Employee, Document and Team
1515
* @property string $Type Represents the data type of the custom field. The supported datatypes are boolean, integer, string, double, date and GUID
1616
* @property string $Value Custom field data
1717
*/

src/Picqer/Financials/Exact/Document.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @property string $CategoryDescription Description of Category
1818
* @property string $Contact ID of the related contact of this document
1919
* @property string $ContactFullName Contact full name
20+
* @property string $ContractID The contract linked to the document
2021
* @property string $ContractNumber Contract Number
2122
* @property string $Created Creation date
2223
* @property string $Creator User ID of creator
@@ -70,6 +71,7 @@ class Document extends Model
7071
'CategoryDescription',
7172
'Contact',
7273
'ContactFullName',
74+
'ContractID',
7375
'ContractNumber',
7476
'Created',
7577
'Creator',

src/Picqer/Financials/Exact/ExchangeRate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @property string $Modified Last modified date
1616
* @property string $Modifier User ID of modifier
1717
* @property string $ModifierFullName Name of modifier
18-
* @property float $Rate The exchange rate is stored as 1 TARGET CURRENCY = x SOURCE CURRENCY
18+
* @property float $Rate The exchange rate is stored as 1 TARGET CURRENCY = 1/x SOURCE CURRENCY
1919
* @property string $SourceCurrency The foreign currency
2020
* @property string $SourceCurrencyDescription Description of the foreign currency
2121
* @property string $StartDate The date as of which the rate is valid. The rate is valid until a next rate is defined

src/Picqer/Financials/Exact/ManufacturingSetting.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
* @property int $InventorySubMethod What is the division's sub inventory method? Perpetual=1,NonPerpetual=2,AngloSaxon=3
1313
* @property int $NegativeStockIsAllowed Does the current division allow negative stock?
1414
* @property int $SerialNumbersAreMandatory Are serial numbers mandatory in this division?
15-
* @property int $ShowBackflushMaterials Should ShopOrderMaterialPlans with Backflush=True be shown within Smart Shop Floor?
16-
* @property int $ShowSubOrderMaterials Should ShopOrderMaterialPlans linked to a SubOrder be shown within Smart Shop Floor?
1715
*/
1816
class ManufacturingSetting extends Model
1917
{
@@ -27,8 +25,6 @@ class ManufacturingSetting extends Model
2725
'InventorySubMethod',
2826
'NegativeStockIsAllowed',
2927
'SerialNumbersAreMandatory',
30-
'ShowBackflushMaterials',
31-
'ShowSubOrderMaterials',
3228
];
3329

3430
protected $url = 'manufacturing/ManufacturingSettings';

src/Picqer/Financials/Exact/PrintedSalesInvoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @property string $SenderEmailAddress Email address from which the email will be sent. If not specified, the company email address will be used.
3030
* @property bool $SendInvoiceToCustomerPostbox Set to True if a postbox message containing the invoice should be sent to the invoice customer Take notes:The digital postbox option only available if the license has Mailbox feature set.
3131
* @property bool $SendInvoiceViaPeppol Set to True if the invoice should be sent via peppol to the invoice customer.
32-
* @property bool $SendOutputBasedOnAccount Set to True if the output preference should be taken from the account. It will be either Document only, Email or Digital postbox. This option overrules both SendEmailToCustomer and SendInvoiceToCustomerPostbox. Take notes:The digital postbox option only available if the license has Mailbox feature set.
32+
* @property bool $SendOutputBasedOnAccount Set to True if the output preference should be taken from the account. It will be either Document only, Email, Digital postbox or Peppol. This option overrules by SendEmailToCustomer, SendInvoiceToCustomerPostbox, SendInvoiceViaPeppol. Take notes:The digital postbox option only available if the license has Mailbox feature set.
3333
*/
3434
class PrintedSalesInvoice extends Model
3535
{

src/Picqer/Financials/Exact/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @property string $BudgetTypeDescription Budget type description
2929
* @property string $Classification Used only for PSA to link a project classification to the project
3030
* @property string $ClassificationDescription Description of Classification
31-
* @property string $Code Code
31+
* @property string $Code Code Note : Code is not mandatory in PSA packages.If no code is provided, project auto number will be used, but this can only be applied to PSA packages.
3232
* @property float $CostsAmountFC Used only for PSA to store the budgetted costs of a project (except for project type Campaign and Non-billable). Positive quantities only
3333
* @property string $Created Creation date
3434
* @property string $Creator User ID of creator

src/Picqer/Financials/Exact/ProjectProgressReport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
class ProjectProgressReport extends Model
2929
{
3030
use Query\Findable;
31+
use Persistance\Storable;
3132

3233
protected $fillable = [
3334
'ID',

src/Picqer/Financials/Exact/SyncDeleted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @property string $DeletedDate Deleted date
1313
* @property int $Division Division code
1414
* @property string $EntityKey Entity key
15-
* @property int $EntityType Entity Types: 1= TransactionLines 2= Accounts 3= Addresses 4= Attachments 5= Contacts 6= Documents 7= GLAccounts 8= ItemPrices 9= Items 10= PaymentTerms 12= SalesOrders (This entity is going to be removed. Please refer to the new entity SalesOrderHeaders, SalesOrderLines.) 13= SalesInvoices 14= TimeCostTransactions 15= StockPositions 16= GoodsDeliveries 17= GoodsDeliveryLines 18= GLClassifications 19= ItemWarehouses 20= StorageLocationStockPositions 21= Projects 22= PurchaseOrders 23= Subscriptions 24= SubscriptionLines 25= ProjectWBS 26= ProjectPlanning 27= LeaveAbsenceHoursByDay 28= SerialBatchNumbers 29= StockSerialBatchNumbers 30= ItemAccounts 31= DiscountTables 32= SalesOrderHeaders 33= SalesOrderLines 34= QuotationHeaders 35= QuotationLines 36= ShopOrders 37= ShopOrderMaterialPlans 38= ShopOrderRoutingStepPlans 39= Schedules 40= ScheduleEntries 41= ItemStorageLocations 42= Employees 43= Employments 44= EmploymentContracts 45= EmploymentOrganizations 46= EmploymentCLAs 47= EmploymentSalaries 48= BankAccounts 49= EmploymentTaxAuthoritiesGeneral
15+
* @property int $EntityType Entity Types: 1= TransactionLines 2= Accounts 3= Addresses 4= Attachments 5= Contacts 6= Documents 7= GLAccounts 8= ItemPrices 9= Items 10= PaymentTerms 12= SalesOrders (This entity is going to be removed. Please refer to the new entity SalesOrderHeaders, SalesOrderLines.) 13= SalesInvoices 14= TimeCostTransactions 15= StockPositions 16= GoodsDeliveries 17= GoodsDeliveryLines 18= GLClassifications 19= ItemWarehouses 20= StorageLocationStockPositions 21= Projects 22= PurchaseOrders 23= Subscriptions 24= SubscriptionLines 25= ProjectWBS 26= ProjectPlanning 27= LeaveAbsenceHoursByDay 28= SerialBatchNumbers 29= StockSerialBatchNumbers 30= ItemAccounts 31= DiscountTables 32= SalesOrderHeaders 33= SalesOrderLines 34= QuotationHeaders 35= QuotationLines 36= ShopOrders 37= ShopOrderMaterialPlans 38= ShopOrderRoutingStepPlans 39= Schedules 40= ScheduleEntries 41= ItemStorageLocations 42= Employees 43= Employments 44= EmploymentContracts 45= EmploymentOrganizations 46= EmploymentCLAs 47= EmploymentSalaries 48= BankAccounts 49= EmploymentTaxAuthoritiesGeneral 50= ShopOrderPurchasePlanning 51= ShopOrderSubOrders
1616
* @property string $ID Primary key
1717
*/
1818
class SyncDeleted extends Model

src/Picqer/Financials/Exact/SyncDocument.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @property string $CategoryDescription Description of Category
1818
* @property string $Contact ID of the related contact of this document
1919
* @property string $ContactFullName Contact full name
20+
* @property string $ContractID The contract linked to the document
2021
* @property string $ContractNumber Contract Number
2122
* @property string $Created Creation date
2223
* @property string $Creator User ID of creator
@@ -74,6 +75,7 @@ class SyncDocument extends Model
7475
'CategoryDescription',
7576
'Contact',
7677
'ContactFullName',
78+
'ContractID',
7779
'ContractNumber',
7880
'Created',
7981
'Creator',

src/Picqer/Financials/Exact/SyncProject.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @property string $Description Description of the project
3838
* @property int $Division Division code
3939
* @property string $DivisionName Name of Division
40+
* @property bool $EnableWorkInProgress Work in progress: To be invoiced
4041
* @property string $EndDate End date of the project. In combination with the start date the status is determined
4142
* @property string $FixedPriceItem Item used for fixed price invoicing. To be defined per project. If empty the functionality relies on the setting
4243
* @property string $FixedPriceItemDescription Description of FixedPriceItem
@@ -47,8 +48,8 @@
4748
* @property string $InternalNotes Internal notes not to be printed in invoice
4849
* @property string $InvoiceAddress Invoice address
4950
* @property bool $InvoiceAsQuoted Indicates whether the project is invoice as quoted
50-
* @property int $IsWBSRequiredForEntry Indicates whether the project WBS is required for time and cost entry E.g: 0 = Based on company setting, 1 = Yes, 2 = No
5151
* @property string $InvoiceDescription Description for generate project invoice
52+
* @property int $IsWBSRequiredForEntry Indicates whether the project WBS is required for time and cost entry E.g: 0 = Based on company setting, 1 = Yes, 2 = No
5253
* @property string $Manager Responsible person for this project
5354
* @property string $ManagerFullname Name of Manager
5455
* @property float $MarkupPercentage Purchase markup percentage
@@ -106,6 +107,7 @@ class SyncProject extends Model
106107
'Description',
107108
'Division',
108109
'DivisionName',
110+
'EnableWorkInProgress',
109111
'EndDate',
110112
'FixedPriceItem',
111113
'FixedPriceItemDescription',

0 commit comments

Comments
 (0)