Skip to content
Developerhome

Stock

  Less than to read

Properties

Property Name Type Description isWritable
_access [_OutputAccessBinding]   no
_customData Json   no
_sourceId String   no
_id Id   no
site Site_node   no
item Item_node   no
stockUnit UnitOfMeasure_node   no
quantityInStockUnit Decimal   no
owner String   no
lot Lot_node   no
status StockStatus_node   no
location Location_node   no
serialNumbers SerialNumber_Collection   no
allocations StockAllocation_Collection   no
totalAllocated Decimal   no
_etag String   no
activeQuantityInStockUnit Decimal   no
_createStamp Datetime   no
_updateStamp Datetime   no

Custom Queries

searchStock : [StockSearchStockReturn]

Property Type Description
searchCriteria StockSearchStockSearchCriteria_Input  

proposeAllocationsToTransfer : [StockProposeAllocationsToTransferReturn]

Property Type Description
allocationData StockProposeAllocationsToTransferAllocationData_Input  
stockAllocationParameters StockProposeAllocationsToTransferStockAllocationParameters_Input  

asyncExport : Stock_Connection_asyncExport

Custom Mutations

createStockAllocation : StockAllocation

Mutation Type Description
allocationData StockCreateStockAllocationAllocationData_Input  
stockAllocationParameters StockCreateStockAllocationStockAllocationParameters_Input  

increaseStockAllocation : StockUpdateResultAction

Mutation Type Description
allocationData StockIncreaseStockAllocationAllocationData_Input  
stockAllocationParameters StockIncreaseStockAllocationStockAllocationParameters_Input  

decreaseStockAllocation : StockUpdateResultAction

Mutation Type Description
allocationData StockDecreaseStockAllocationAllocationData_Input  
stockAllocationParameters StockDecreaseStockAllocationStockAllocationParameters_Input  

deleteStockAllocation : StockUpdateResultAction

Mutation Type Description
allocationData StockDeleteStockAllocationAllocationData_Input  

transferAllocation : [StockTransferAllocationReturn]

Mutation Type Description
allocationData StockTransferAllocationAllocationData_Input  
stockAllocationParameters StockTransferAllocationStockAllocationParameters_Input  

updateAllocations : [StockUpdateAllocationsReturn]

Mutation Type Description
allocationData StockUpdateAllocationsAllocationData_Input  
stockAllocationParameters StockUpdateAllocationsStockAllocationParameters_Input  

asyncExport : Stock_Mutations_asyncExport

Custom Type

StockSearchStockSearchCriteria_Input

StockSearchStockReturn

Query Type Description
stockRecord Stock_node  
item Item_node  
site Site_node  
stockUnit UnitOfMeasure_node  
quantityInStockUnit Decimal  
serialNumbers [SerialNumber]_node  

StockProposeAllocationsToTransferAllocationData_Input

StockProposeAllocationsToTransferStockAllocationParameters_Input

StockProposeAllocationsToTransferReturn

Query Type Description
quantityToTransfer Decimal  
quantity Decimal  
allocationRecord StockAllocation_node  
stockRecord Stock_node  
stockUnit UnitOfMeasure_node  
orderDocumentLine BaseDocumentLine  
serialNumbers [SerialNumber]_node  

StockCreateStockAllocationAllocationData_Input

Query Type Description
documentLine IntReference  
stockRecord IntReference  
quantity Decimal  
serialNumbers [IntReference]  

StockCreateStockAllocationStockAllocationParameters_Input

Query Type Description
cannotOverAllocate Boolean  
shouldControlAllocationInProgress Boolean  

StockIncreaseStockAllocationAllocationData_Input

Query Type Description
allocationRecord IntReference  
quantity Decimal  
serialNumbers [IntReference]  

StockIncreaseStockAllocationStockAllocationParameters_Input

Query Type Description
cannotOverAllocate Boolean  
shouldControlAllocationInProgress Boolean  

StockUpdateResultAction

StockDecreaseStockAllocationAllocationData_Input

Query Type Description
allocationRecord IntReference  
quantity Decimal  
serialNumbers [IntReference]  

StockDecreaseStockAllocationStockAllocationParameters_Input

Query Type Description
cannotOverAllocate Boolean  
shouldControlAllocationInProgress Boolean  

StockUpdateResultAction

StockDeleteStockAllocationAllocationData_Input

Query Type Description
allocationRecord IntReference  

StockUpdateResultAction

StockTransferAllocationAllocationData_Input

Query Type Description
issueDocumentLine IntReference  
allocationPropositions [StockTransferAllocationAllocationDataAllocationPropositions_Input]  

StockTransferAllocationStockAllocationParameters_Input

Query Type Description
cannotOverAllocate Boolean  
shouldControlAllocationInProgress Boolean  

StockTransferAllocationReturn

Query Type Description
allocationRecord StockAllocation_node  
oldAllocationRecord StockAllocation_node  
resultAction String  
stockRecord Stock_node  

StockUpdateAllocationsAllocationData_Input

Query Type Description
documentLine IntReference  
allocationUpdates [StockUpdateAllocationsAllocationDataAllocationUpdates_Input]  

StockUpdateAllocationsStockAllocationParameters_Input

Query Type Description
cannotOverAllocate Boolean  
shouldControlAllocationInProgress Boolean  

StockUpdateAllocationsReturn

Query Type Description
resultAction StockUpdateResultAction  
allocationRecord StockAllocation_node