\StockMvtReasonCore

Summary

Methods
Properties
Constants
getStockMvtReasons()
getStockMvtReasonsWithFilter()
exists()
$id
$name
$sign
$date_add
$date_upd
$deleted
$definition
No constants found
No protected methods found
$webserviceParameters
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : integer

Type

integer — identifier of the movement reason

$name

$name : string

Type

string — the name of the movement reason

$sign

$sign : integer

Type

integer — detrmine if the movement reason correspond to a positive or negative operation

$date_add

$date_add : string

Type

string — the creation date of the movement reason

$date_upd

$date_upd : string

Type

string — the last update date of the movement reason

$deleted

$deleted : boolean

Type

boolean — True if the movement reason has been deleted (staying in database as deleted)

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

getStockMvtReasons()

getStockMvtReasons(integer  $id_lang, integer  $sign = null) : array

Gets Stock Mvt Reasons

Parameters

integer $id_lang
integer $sign

Optionnal

Returns

array

getStockMvtReasonsWithFilter()

getStockMvtReasonsWithFilter(integer  $id_lang, array  $ids_ignore, integer  $sign = null) 

Same as StockMvtReason::getStockMvtReasons(), ignoring a specific lists of ids

Parameters

integer $id_lang
array $ids_ignore
integer $sign

optional

exists()

exists(integer  $id_stock_mvt_reason) : boolean

For a given id_stock_mvt_reason, tells if it exists

Parameters

integer $id_stock_mvt_reason

Returns

boolean