\SupplyOrderStateCore

Summary

Methods
Properties
Constants
getSupplyOrderStates()
getStates()
$name
$delivery_note
$editable
$receipt_state
$pending_receipt
$enclosed
$color
$definition
No constants found
No protected methods found
$webserviceParameters
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Type

string — Name of the state

$delivery_note

$delivery_note : boolean

Type

boolean — Tells if a delivery note can be issued (i.e. the order has been validated)

$editable

$editable : boolean

Type

boolean — Tells if the order is still editable by an employee (i.e. you can add products)

$receipt_state

$receipt_state : boolean

Type

boolean — Tells if the the order has been delivered

$pending_receipt

$pending_receipt : boolean

Type

boolean — Tells if the the order is in a state corresponding to a product pending receipt

$enclosed

$enclosed : boolean

Type

boolean — Tells if the the order is in an enclosed state (i.e. terminated, canceled)

$color

$color : string

Type

string — Color used to display the state in the specified color (Ex. #FFFF00)

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

getSupplyOrderStates()

getSupplyOrderStates(integer  $id_state_referrer = null, integer  $id_lang = null) : array

Gets the list of supply order statuses

Parameters

integer $id_state_referrer

Optional, used to know what state is available after this one

integer $id_lang

Optional Id Language

Returns

array —

States

getStates()

getStates(array  $ids = null, integer  $id_lang = null) : array

Gets the list of supply order statuses

Parameters

array $ids

Optional Do not include these ids in the result

integer $id_lang

Optional

Returns

array