-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #231 from StefanoGroenland/feature/Support-ItemWar…
…ehousePlanningDetails Support of ItemWarehousePlanningDetails
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
src/Picqer/Financials/Exact/ItemWarehousePlanningDetails.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
} |