Skip to content

Commit

Permalink
Merge pull request #498 from DannyvdSluijs/Remove-remaining-obsolete-…
Browse files Browse the repository at this point in the history
…properties

Remove all obsolete and hidden properties
  • Loading branch information
stephangroen authored Sep 6, 2021
2 parents 8c662e7 + 2f500c8 commit 7773508
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 112 deletions.
4 changes: 0 additions & 4 deletions src/Picqer/Financials/Exact/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
* @property float $CreditLineSales Maximum amount of credit for sales. If no value has been defined, there is no credit limit
* @property string $DatevCreditorCode DATEV creditor code for Germany legislation
* @property string $DatevDebtorCode DATEV debtor code for Germany legislation
* @property int $DeliveryAdvice Allows a customer to do goods delivery based on setting complete, partial or partial no back order. Values: 0 = Partial, 1 = Complete, 2 = PartialNoBackOrder
* @property float $DiscountPurchase Default discount percentage for purchase. This is stored as a fraction. ie 5.5% is stored as .055
* @property float $DiscountSales Default discount percentage for sales. This is stored as a fraction. ie 5.5% is stored as .055
* @property int $Division Division code
Expand Down Expand Up @@ -125,7 +124,6 @@
* @property string $SalesVATCodeDescription Description of SalesVATCode
* @property string $SearchCode Search code
* @property int $SecurityLevel Security level (0 - 100)
* @property int $SeparateInvPerProject Separate invoice per project (Time & Billing)
* @property int $SeparateInvPerSubscription Indicates how invoices are generated from subscriptions. 0 = subscriptions belonging to the same customer are combined in a single invoice. 1 = each subscription results in one invoice. In both cases, each individual subscription line results in one invoice line
* @property int $ShippingLeadDays Indicates the number of days it takes to send goods to the customer. Acts as a default
* @property string $ShippingMethod Default shipping method
Expand Down Expand Up @@ -186,7 +184,6 @@ class Account extends Model
'CreditLineSales',
'DatevCreditorCode',
'DatevDebtorCode',
'DeliveryAdvice',
'DiscountPurchase',
'DiscountSales',
'Division',
Expand Down Expand Up @@ -265,7 +262,6 @@ class Account extends Model
'SalesVATCodeDescription',
'SearchCode',
'SecurityLevel',
'SeparateInvPerProject',
'SeparateInvPerSubscription',
'ShippingLeadDays',
'ShippingMethod',
Expand Down
4 changes: 0 additions & 4 deletions src/Picqer/Financials/Exact/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* @property string $AddressStreetNumber Street number of the address
* @property string $AddressStreetNumberSuffix Street number suffix of the address
* @property string $BirthDate Birth date
* @property string $BirthName Obsolete. Please don't use this field anymore as it may overwrite LastName.
* @property string $BirthNamePrefix Obsolete. Please don't use this field anymore as it may overwrite MiddleName.
* @property string $BirthPlace Birth place
* @property string $BusinessEmail Email address of the contact
* @property string $BusinessFax Fax of the contact
Expand Down Expand Up @@ -96,8 +94,6 @@ class Contact extends Model
'AddressStreetNumber',
'AddressStreetNumberSuffix',
'BirthDate',
'BirthName',
'BirthNamePrefix',
'BirthPlace',
'BusinessEmail',
'BusinessFax',
Expand Down
6 changes: 0 additions & 6 deletions src/Picqer/Financials/Exact/CostTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* @property string $ID Primary key
* @property string $Account Guid ID of account that is linked to the project
* @property string $AccountName Name of account that is linked to the project
* @property float $Amount This property is obsolete. Use property 'AmountFC' instead.
* @property float $AmountFC Calculated amount of the transaction based on (Quantity * PriceFC)
* @property string $Attachment Attachment linked to the transaction (not mandatory)
* @property string $Created Date and time the transaction was created
Expand All @@ -33,15 +32,13 @@
* @property string $Modifier The ID of the user that modified the records
* @property string $ModifierFullName The full name of the user that modified the record
* @property string $Notes Notes linked to the transaction for providing additional information (not mandatory)
* @property float $Price This property is obsolete. Use property 'PriceFC' instead.
* @property float $PriceFC For use in AmountFC (Quantiy * Price FC)
* @property string $Project Project that is linked to the transaction
* @property string $ProjectAccount Project account ID that is linked to the transaction (not mandatory)
* @property string $ProjectAccountCode Project account code that is linked to the transaction
* @property string $ProjectAccountName Project account name that is linked to the transaction
* @property string $ProjectDescription Project description that is linked to the transaction
* @property float $Quantity Quantity of the item that is linked to the transaction
* @property bool $SkipValidation Skip validation
* @property string $Subscription Subscription that is linked to the transaction
* @property string $SubscriptionAccount Subscription account that is linked to the transaction, this is to identify the referenced subscription
* @property string $SubscriptionAccountCode Subscription account code that is linked to the transaction
Expand All @@ -59,7 +56,6 @@ class CostTransaction extends Model
'ID',
'Account',
'AccountName',
'Amount',
'AmountFC',
'Attachment',
'Created',
Expand All @@ -82,15 +78,13 @@ class CostTransaction extends Model
'Modifier',
'ModifierFullName',
'Notes',
'Price',
'PriceFC',
'Project',
'ProjectAccount',
'ProjectAccountCode',
'ProjectAccountName',
'ProjectDescription',
'Quantity',
'SkipValidation',
'Subscription',
'SubscriptionAccount',
'SubscriptionAccountCode',
Expand Down
2 changes: 0 additions & 2 deletions src/Picqer/Financials/Exact/GLAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
* @property string $CreatorFullName Name of creator
* @property DeductibilityPercentage[] $DeductibilityPercentages Deductibility percentages. You can have several Deductibility percentages, with start and end dates
* @property string $Description Name of the G/L account. If Multilanguage featureset is enabled in the administration and the G/L account already has a set of termed description, this field is not allowed to change.
* @property int $DescriptionTermID Term ID for description
* @property int $Division Division code
* @property int $ExcludeVATListing General ledger transactions on this G/L account should not appear on the VAT listing
* @property float $ExpenseNonDeductiblePercentage Expenses on this G/L account can not be used to reduce the incomes
Expand Down Expand Up @@ -72,7 +71,6 @@ class GLAccount extends Model
'CreatorFullName',
'DeductibilityPercentages',
'Description',
'DescriptionTermID',
'Division',
'ExcludeVATListing',
'ExpenseNonDeductiblePercentage',
Expand Down
6 changes: 0 additions & 6 deletions src/Picqer/Financials/Exact/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,14 @@
* @property string $GLStockDescription Description of GLStock
* @property float $GrossWeight Gross weight for international goods shipments
* @property int $IsBatchItem Indicates if batches are used for this item
* @property int $IsBatchNumberItem This property is obsolete. Use property 'IsBatchItem' instead.
* @property bool $IsFractionAllowedItem Indicates if fractions (for example 0.35) are allowed for quantities of this item
* @property int $IsMakeItem Indicates that an Item is produced to Inventory, not purchased
* @property int $IsNewContract Only used for packages (IsPackageItem=1). To indicate if this package is a new contract type package
* @property int $IsOnDemandItem Is On demand Item
* @property bool $IsPackageItem Indicates if the item is a package item. Can only be created in the hosting administration
* @property bool $IsPurchaseItem Indicates if the item can be purchased
* @property int $IsRegistrationCodeItem Indicated if the item is used in voucher functionality
* @property bool $IsSalesItem Indicates if the item can be sold
* @property bool $IsSerialItem Indicates that serial numbers are used for this item
* @property bool $IsSerialNumberItem This property is obsolete. Use property 'IsSerialItem' instead.
* @property bool $IsStockItem If you have the Trade or Manufacturing license and you check this property the item will be shown in the stock positions overview, stock counts and transaction lists. If you have the Invoice module and you check this property you will get a general journal entry based on the Stock and Costs G/L accounts of the item group. If you don’t want the general journal entry to be created you should change the Stock/Costs G/L account on the Item group page to the type Costs instead of Inventory.
* @property bool $IsSubcontractedItem Indicates if the item is provided by an outside supplier
* @property int $IsTaxableItem Indicates if tax needs to be calculated for this item
Expand Down Expand Up @@ -184,17 +181,14 @@ class Item extends Model
'GLStockDescription',
'GrossWeight',
'IsBatchItem',
'IsBatchNumberItem',
'IsFractionAllowedItem',
'IsMakeItem',
'IsNewContract',
'IsOnDemandItem',
'IsPackageItem',
'IsPurchaseItem',
'IsRegistrationCodeItem',
'IsSalesItem',
'IsSerialItem',
'IsSerialNumberItem',
'IsStockItem',
'IsSubcontractedItem',
'IsTaxableItem',
Expand Down
6 changes: 0 additions & 6 deletions src/Picqer/Financials/Exact/ItemWarehouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=InventoryItemWarehouses
*
* @property string $ID A guid that is the unique identifier of the linkage between item and warehouse
* @property int $CountingCycle Indicates the number of days for next cycle count.
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
Expand All @@ -18,7 +17,6 @@
* @property string $DefaultStorageLocationDescription Default storage location's description
* @property int $Division Division code
* @property string $Item Item ID
* @property string $ItemBarcode Barcode of item
* @property string $ItemCode Code of item
* @property string $ItemDescription Description of item
* @property string $ItemEndDate Together with ItemStartDate this determines if the item is active
Expand All @@ -31,7 +29,6 @@
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property string $ModifierFullName Name of modifier
* @property string $NextCountingCycle Indicates the date for next cycle count
* @property int $OrderPolicy Order Policy options: 1-Lot for lot, 2-Fixed order quantity, 3-Min / Max, 4-Order
* @property int $Period Period that work together with replenishment in MRP
* @property float $PlannedStockIn The quantity still open to be received based on i.e. purchase orders and assembly orders.
Expand All @@ -55,7 +52,6 @@ class ItemWarehouse extends Model

protected $fillable = [
'ID',
'CountingCycle',
'Created',
'Creator',
'CreatorFullName',
Expand All @@ -65,7 +61,6 @@ class ItemWarehouse extends Model
'DefaultStorageLocationDescription',
'Division',
'Item',
'ItemBarcode',
'ItemCode',
'ItemDescription',
'ItemEndDate',
Expand All @@ -78,7 +73,6 @@ class ItemWarehouse extends Model
'Modified',
'Modifier',
'ModifierFullName',
'NextCountingCycle',
'OrderPolicy',
'Period',
'PlannedStockIn',
Expand Down
2 changes: 0 additions & 2 deletions src/Picqer/Financials/Exact/ItemWarehouseStorageLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* @property int $IsFractionAllowedItem Does the item allow partial quantities (1.75 meters)
* @property int $IsStockItem Indicates if this is a stock item
* @property string $Item Item
* @property string $ItemBarcode Barcode of the item of this stock quantity
* @property string $ItemCode Code of the item of this stock quantity
* @property string $ItemDescription Description of the item of this stock quantity
* @property string $ItemEndDate Together with ItemStartDate this determines if the item is active
Expand All @@ -35,7 +34,6 @@ class ItemWarehouseStorageLocation extends Model
'IsFractionAllowedItem',
'IsStockItem',
'Item',
'ItemBarcode',
'ItemCode',
'ItemDescription',
'ItemEndDate',
Expand Down
4 changes: 0 additions & 4 deletions src/Picqer/Financials/Exact/Journal.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
* @property string $BankAccountIBAN IBAN of the bank account. Only Bank journal type will have a value
* @property string $BankAccountID Reference to the Bank Account linked to the Journal. Only Bank journal type will have a value
* @property string $BankAccountIncludingMask Bank account number. Is mandatory for Journals that have Type = Bank
* @property bool $BankAccountUseSEPA Obsolete. Whether or not use SEPA for the bank account
* @property bool $BankAccountUseSepaDirectDebit Obsolete. Whether or not use SEPA direct debit for the bank account
* @property string $BankName Name of bank account. Only Bank journal type will have a value
* @property string $Code Primary key
* @property string $Created Creation date
Expand Down Expand Up @@ -62,8 +60,6 @@ class Journal extends Model
'BankAccountIBAN',
'BankAccountID',
'BankAccountIncludingMask',
'BankAccountUseSEPA',
'BankAccountUseSepaDirectDebit',
'BankName',
'Code',
'Created',
Expand Down
2 changes: 0 additions & 2 deletions src/Picqer/Financials/Exact/MailMessageAttachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* @property string $AttachmentFileName File name of attachment
* @property int $FileSize File size
* @property string $MailMessageID Reference to Mail message
* @property int $MailMessageOrigin Indicates the SourceEntry of Scanning service
* @property string $RecipientAccount Reference to recipient account
* @property string $SenderAccount Reference to sender account
* @property int $Type Type of mail message attachment 0-Unknown 10-PDF 11-XML (ZUGFeRD) 20-UBL 2.0 21-SIB 22-Simplerinvoicing 1.0 23-PEPPOL 24-eFFF 25-Simplerinvoicing 1.1 26-Simplerinvoicing 1.2 30-Finvoice 40-eInvoice 50-XML 60-XBRL 70-Bank import 71-Internal bank statement (TestAutomation) 72-XLSM 73-BankGateway source 80-Bank export 81-Direct debit 82-Mandates 85-Message 86-Status update 90-Statistics 91-Statistics Json 100-TXT 110-Soda 120-OfficialReturnProof 130-UBL 2.1
Expand All @@ -32,7 +31,6 @@ class MailMessageAttachment extends Model
'AttachmentFileName',
'FileSize',
'MailMessageID',
'MailMessageOrigin',
'RecipientAccount',
'SenderAccount',
'Type',
Expand Down
24 changes: 0 additions & 24 deletions src/Picqer/Financials/Exact/Opportunity.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@
*
* @property string $ID Primary key
* @property string $Account Lead to which the opportunity applies
* @property string $Accountant Accountant linked to the opportunity
* @property string $AccountantCode Code of the Accountant
* @property string $AccountantName Name of the Accountant
* @property string $AccountCode Code of Account
* @property string $AccountName Name of Account
* @property string $ActionDate Indicates the date before/on the NextAction is supposed to be done
* @property float $AmountDC Amount in the default currency of the company. AmountDC = AmountFC * RateFC
* @property float $AmountFC Amount in the currency of the transaction
* @property string $Campaign Reference to the campaign opportunity is related to
* @property string $CampaignDescription Description of Campaign
* @property int $Channel Reference to the channel opportunity is related to
* @property string $ChannelDescription Description of Channel
* @property string $CloseDate The date when the opportunity is expected to be closed
* @property string $Created Creation date
* @property string $Creator User ID of creator
Expand All @@ -35,13 +30,9 @@
* @property string $Name Name of the opportunity
* @property string $NextAction Indicates what follow up action is to be undertaken to move the opportunity towards a deal. Is used in combination with ActionDate
* @property string $Notes Notes of the opportunity
* @property int $OpportunityDepartmentCode Code of Opportunity Department
* @property string $OpportunityDepartmentDescription Description of Opportunity Department
* @property string $OpportunityStage The stage of the opportunity. This is a list defined by the user
* @property string $OpportunityStageDescription Description of OpportunityStage
* @property int $OpportunityStatus Status: 1=Open, 2=Closed won, 3=Closed lost
* @property int $OpportunityType Code of Opportunity Type
* @property string $OpportunityTypeDescription Description of Opportunity Type
* @property string $Owner The resource who owns the opportunity and is responsible to close the opportunity (either won or lost)
* @property string $OwnerFullName Name of Owner
* @property float $Probability The chance that the opportunity will be closed and won. The default for the probability depends on the default from the opportunity stage
Expand All @@ -51,9 +42,6 @@
* @property float $RateFC Exchange rate from original to division currency
* @property string $ReasonCode Indicates the reason why the opportunity was lost.
* @property string $ReasonCodeDescription Description of ReasonCode
* @property string $Reseller Reseller linked to the opportunity
* @property string $ResellerCode Code of the Reseller
* @property string $ResellerName Name of the Reseller
* @property string $SalesType Reference to Sales type
* @property string $SalesTypeDescription Description of SalesType
*/
Expand All @@ -65,18 +53,13 @@ class Opportunity extends Model
protected $fillable = [
'ID',
'Account',
'Accountant',
'AccountantCode',
'AccountantName',
'AccountCode',
'AccountName',
'ActionDate',
'AmountDC',
'AmountFC',
'Campaign',
'CampaignDescription',
'Channel',
'ChannelDescription',
'CloseDate',
'Created',
'Creator',
Expand All @@ -91,13 +74,9 @@ class Opportunity extends Model
'Name',
'NextAction',
'Notes',
'OpportunityDepartmentCode',
'OpportunityDepartmentDescription',
'OpportunityStage',
'OpportunityStageDescription',
'OpportunityStatus',
'OpportunityType',
'OpportunityTypeDescription',
'Owner',
'OwnerFullName',
'Probability',
Expand All @@ -107,9 +86,6 @@ class Opportunity extends Model
'RateFC',
'ReasonCode',
'ReasonCodeDescription',
'Reseller',
'ResellerCode',
'ResellerName',
'SalesType',
'SalesTypeDescription',
];
Expand Down
2 changes: 0 additions & 2 deletions src/Picqer/Financials/Exact/PurchaseInvoiceLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* @property string $Expense Expense related to the Work Breakdown Structure of the selected project. Only available with a professional service license
* @property string $ExpenseDescription Description of expense. Only available with a professional service license
* @property string $InvoiceID The unique identifier of the purchase invoice this line belongs to.
* @property int $InvoiceType Purchase invoice type.
* @property string $Item Guid that identifies the purchase item. In a POST request either the Item or the PurchaseOrderLine has to be supplied.
* @property string $ItemUnit The default unit of the purchased item.
* @property int $LineNumber The sequence number of the line.
Expand Down Expand Up @@ -51,7 +50,6 @@ class PurchaseInvoiceLine extends Model
'Expense',
'ExpenseDescription',
'InvoiceID',
'InvoiceType',
'Item',
'ItemUnit',
'LineNumber',
Expand Down
10 changes: 0 additions & 10 deletions src/Picqer/Financials/Exact/PurchaseOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
* @property string $PurchaseOrderID Primary key
* @property float $AmountDC Total amount in the default currency of the company
* @property float $AmountFC Total amount in the currency of the transaction
* @property int $ApprovalStatus Shows if this purchase order is approved
* @property string $ApprovalStatusDescription Description of ApprovalStatus
* @property string $Approved Approval datetime
* @property string $Approver User who approved the purchase order
* @property string $ApproverFullName Name of approver
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
Expand Down Expand Up @@ -80,11 +75,6 @@ class PurchaseOrder extends Model
'PurchaseOrderID',
'AmountDC',
'AmountFC',
'ApprovalStatus',
'ApprovalStatusDescription',
'Approved',
'Approver',
'ApproverFullName',
'Created',
'Creator',
'CreatorFullName',
Expand Down
Loading

0 comments on commit 7773508

Please sign in to comment.