Magento 2 saving wrong data to the Database
I have a custom table for company with a column : sales_representative_id // print_r($company->getSalesRepresentativeId());exit; $this->sellerCompanyService->createCompany($company, $customer); here the print_r returns the correct value which is passing via the form submit. But after save, in DB the stored value is 20.… Read More »Magento 2 saving wrong data to the Database