New answers tagged

0

This will be used in the generation of the Increment ID for order, shipment, creditmemo, invoice.


0

You can achieve this with a custom SQL statement protected $resourceConnection; public function __construct( ... \Magento\Framework\App\ResourceConnection $resourceConnection, ... ) { $this->resourceConnection = $resourceConnection; } $connection = $this->resourceConnection->getConnection(); $sql = "select id FROM customtable ...


Top 50 recent answers are included