// Stock: WebServices
This commit is contained in:
@@ -79,12 +79,20 @@ class SupplyOrderStateCore extends ObjectModel
|
||||
'pending_receipt' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'enclosed' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
|
||||
'color' => array('type' => self::TYPE_STRING, 'validate' => 'isColor'),
|
||||
|
||||
// Lang fields
|
||||
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 128),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$webserviceParameters
|
||||
*/
|
||||
protected $webserviceParameters = array(
|
||||
'objectsNodeName' => 'supply_order_states',
|
||||
'objectNodeName' => 'supply_order_state',
|
||||
'fields' => array(
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Gets the list of supply order states
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user