'Account_Name', 'callback' => 'text', 'required' => true, 'length' => 100, 'default' => null ], [ 'name' => 'Account_Owner', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the name of the user to whom the account is assigned. [ 'name' => 'Website', 'callback' => 'url', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Ticker_Symbol', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Parent_Account', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the parent company name from the Change pop-up dialog. [ 'name' => 'Employees', 'callback' => 'int', 'required' => false, 'length' => 10, 'default' => null ], [ 'name' => 'Ownership', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Specify the type of ownership of the company. [ 'name' => 'Industry', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the type of industry from the drop-down list. [ 'name' => 'Account_Type', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the type of account from the drop-down list. [ 'name' => 'Account_Number', 'callback' => 'number', 'required' => false, 'length' => 40, 'default' => '' ], [ 'name' => 'Account_Site', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], // Specify the name of the account’s location, for example, Headquarters or London. Up to 80 characters are allowed in this field. [ 'name' => 'Phone', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Fax', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Email', 'callback' => 'email', 'required' => false, 'length' => 100, 'default' => null ], [ 'name' => 'Rating', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the rating of the account from the drop-down list. [ 'name' => 'SIC_Code', 'callback' => 'text', 'required' => false, 'length' => 10, 'default' => null ], [ 'name' => 'Annual_Revenue', 'callback' => 'int', 'required' => false, 'length' => 10, 'default' => null ], //[ 'name' => 'Billing_Address', 'callback' => 'address', 'required' => false, 'length' => 0, 'default' => null ], [ 'name' => 'Shipping_Street', 'callback' => 'text', 'required' => false, 'length' => 250, 'default' => null ], [ 'name' => 'Shipping_City', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Shipping_State', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Shipping_Code', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Shipping_Country', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Description', 'callback' => 'text', 'required' => false, 'length' => 32000, 'default' => null ], ]; protected static $fields_map = [ 'Account_Name' => 'company_name', 'Account_Owner' => '', 'Website' => '', 'Ticker_Symbol' => '', 'Parent_Account' => '', 'Employees' => '', 'Ownership' => '', 'Industry' => '', 'Account_Type' => '', 'Account_Number' => '', 'Account_Site' => '', 'Phone' => '', 'Fax' => '', 'Email' => '', 'Rating' => '', 'SIC_Code' => '', 'Annual_Revenue' => '', //'Billing Address' => '', 'Shipping_Street' => 'company_street', 'Shipping_City' => 'company_city', 'Shipping_State' => '', 'Shipping_Code' => 'company_zip', 'Shipping_Country' => '', 'Description' => 'company_purpose', ]; }