Skip to content

Commit

Permalink
Merge pull request #231 from StefanoGroenland/feature/Support-ItemWar…
Browse files Browse the repository at this point in the history
…ehousePlanningDetails

Support of ItemWarehousePlanningDetails
  • Loading branch information
stephangroen committed Jan 18, 2018
2 parents 15a1834 + bef9165 commit f55e76f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/Picqer/Financials/Exact/ItemWarehousePlanningDetails.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php

namespace Picqer\Financials\Exact;

/**
* Class ItemWarehousePlanningDetails
*
* @package Picqer\Financials\Exact
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=InventoryItemWarehousePlanningDetails
*
* @property Guid $Item Primary key
* @property String $ItemCode Code of item
* @property String $ItemDescription Description of item
* @property DateTime $PlannedDate Date which quantity in stock is planned to change
* @property Double $PlannedQuantity Amount by which quantity in stock is planned to change
* @property String $PlanningSourceDescription Human readable description of the PlanningSource (translated to user's language) - Examples: Purchase Order, Sales Order, Shop Order, etc.
* @property Guid $PlanningSourceID ID of the PlanningSource
* @property Int32 $PlanningSourceLineNumber Line number of the PlanningSource if the PlanningSourceType supports line numbers
* @property Int32 $PlanningSourceNumber Human readable number of the PlanningSource - Examples: Shop order number '201600001' or Sales order number '2016020001'
* @property String $PlanningSourceUrl REST API URL of this specific PlanningSource and PlanningSourceID (Assembly orders and warehouse transfers not supported over REST)
* @property Int32 $PlanningType Type of the PlanningSource - 120=GoodsDelivery, 124=WarehouseTransferDelivery, 130=GoodsReceipt, 134=WarehouseTransferReceipt, 140=ShopOrderStockReceipt, 147=ShopOrderByProductReceipt, 150=ShopOrderRequirement, 160=AssemblyOrderReceipt, 165=AssemblyOrderIssue
* @property String $PlanningTypeDescription Human readable description of the PlanningSourceType (translated to user's language) - Examples: 'Shop order stock receipt' or 'Goods delivery'
* @property Guid $Warehouse ID of warehouse
* @property String $WarehouseCode Code of warehouse
* @property String $WarehouseDescription Description of warehouse
*/
class ItemWarehousePlanningDetails extends Model
{

use Query\Findable;
use Persistance\Storable;

protected $fillable = [
'Item',
'ItemCode',
'ItemDescription',
'PlannedDate',
'PlannedQuantity',
'PlanningSourceDescription',
'PlanningSourceID',
'PlanningSourceLineNumber',
'PlanningSourceUrl',
'PlanningType',
'PlanningTypeDescription',
'Warehouse',
'WarehouseCode',
'WarehouseDescription'
];

protected $url = 'inventory/ItemWarehousePlanningDetails';
}

0 comments on commit f55e76f

Please sign in to comment.