Team,
I received below error messages while migrating sales data using UB Data Migration Pro tool .
[error] [ub_data_migration] Mage2SalesQuote: Grand Total is too long (maximum is 12 characters).
-- Base Grand Total is too long (maximum is 12 characters).
Mage2SalesQuote: Grand Total is too long (maximum is 12 characters).
-- Base Grand Total is too long (maximum is 12 characters).
Mage2SalesQuote: Grand Total is too long (maximum is 12 characters).
-- Base Grand Total is too long (maximum is 12 characters).
Mage2SalesQuote: Grand Total is too long (maximum is 12 characters).
-- Base Grand Total is too long (maximum is 12 characters).
Please do the needful
3 answers
Mall,
please see this details below
Curent Version: 3.0.6
UB Data Migration Pro -- Standard -- 3 Month Support
Thanks
Vijay
Hi lakvenkat,
As i mentioned, that issues come from you have some bad data with new rules of Magento2.
Let’s open the php file at path: pub/ub-tool/protected/controllers/Step7Controller.php
And find to the code line:
$quote2->$key = $quote->$key;
and replace it by code lines:
if (in_array($key, array('base_grand_total', 'grand_total')) AND strlen($quote->$key) > 12) {
$quote2->$key = substr(trim($quote->$key), 0, 12);
}
And you can continue with data migration in the step #7.
Regards,
Mall.