'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', ]; }