getName()."&view=".$purchaseOrderModuleModel->getEditViewName()."&vendor_id=".$this->getId(); } /** * Function to get List of Fields which are related from Vendors to Inventyory Record * @return */ public function getInventoryMappingFields() { return array( //Billing Address Fields array('parentField'=>'city', 'inventoryField'=>'bill_city', 'defaultValue'=>''), array('parentField'=>'street', 'inventoryField'=>'bill_street', 'defaultValue'=>''), array('parentField'=>'state', 'inventoryField'=>'bill_state', 'defaultValue'=>''), array('parentField'=>'postalcode', 'inventoryField'=>'bill_code', 'defaultValue'=>''), array('parentField'=>'country', 'inventoryField'=>'bill_country', 'defaultValue'=>''), array('parentField'=>'pobox', 'inventoryField'=>'bill_pobox', 'defaultValue'=>''), //Shipping Address Fields array('parentField'=>'street', 'inventoryField'=>'ship_street', 'defaultValue'=>''), array('parentField'=>'city', 'inventoryField'=>'ship_city', 'defaultValue'=>''), array('parentField'=>'state', 'inventoryField'=>'ship_state', 'defaultValue'=>''), array('parentField'=>'postalcode', 'inventoryField'=>'ship_code', 'defaultValue'=>''), array('parentField'=>'country', 'inventoryField'=>'ship_country', 'defaultValue'=>''), array('parentField'=>'pobox', 'inventoryField'=>'ship_pobox', 'defaultValue'=>'') ); } }