// Stock: WebServices

This commit is contained in:
bMancone
2011-12-26 10:34:25 +00:00
parent b6b96b1a85
commit 2c83d9bf2f
8 changed files with 153 additions and 25 deletions
+10 -2
View File
@@ -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
*