TNW_SForceB2B Module Release Notes
2.9.32 - Jul 14, 2023
Dependency Queue issue
Fixed Dependency Queue issue
2.9.31 - Jul 13, 2023
Reindex issue: optimize SQL queries
Reindex issue: optimized SQL queries. changed sub-select to the LeftJoins
2.9.30 - Jun 14, 2023
Unable to create B2B quote from admin panel if disable Powersync integration
FIxed issue with creating B2B quote from admin panel when disable Powersync integration
2.9.29 - Jun 12, 2023
Company: Sf Website Id mapping does not work
Fixed Company: Sf Website Id mapping sync
2.9.28 - Jun 6, 2023
SF->M, "email" record is missing for Account Mapping and Company Mapping
Added ability to sync Company email and Company admin email separately
2.9.27 - May 29, 2023
Opportunity inheritance for new Quote version
Fixed issue when new Opportunity was created after Rejecting of Quote
2.9.26 - May 23, 2023
Magento company user does not sync to Company Account
Fixed issue with synchronization of customer Account after assigning to company
2.9.25 - Apr 28, 2023
Undefined index: Account
Fixed isuue with Account sync ("Notice: Undefined index: Account in" ) issue could appears if some customer has SalesforceContactId, but doesn't have SalesforceAccountId
2.9.24 - Apr 27, 2023
[Addressbook] Location owner is SF login user
Implemented inhering SF Location owner from SF company Account
2.9.21 - Apr 21, 2023
[Improvement] Creating new logic for dependency for M-SF sync Phase 2
Created new logic for dependency
2.9.20 - Mar 30, 2023
Orders are not being synced
Fixed issue related to the "Lookup" logic:
if "multicurrency" feature enabled - the SQL query Lookup was incorrect and loads PricebookEntries for all products.
If Person account feature enabled - the SQL query Lookup was incorrect and loads BusinessAccount LookuoByName for all customers.
2.9.19 - Mar 13, 2023
invalid cross reference id
Fixed error for creation of the new Opportunity for Order if quotes opportunity deleted
2.9.18 - Mar 8, 2023
Customer Sales Rap does not apply for order placed from Frontend
Fixed issue when Customer Sales Rap does not apply for order placed from Frontend
2.9.17 - Mar 7, 2023
Modules performance improvement:
fixed collection grouping
optimized selection
OrderItem sync: skip pricebook condition
QuoteItem(AbandonedCartItem) sync: skip pricebook condition
B2BQuoteItem sync: skip pricebook condition
Implemented new option "Skip PricebokEntry sync". The related Product wouldn't be added to the sync Queue if they are already synced
Resync Frozen doesnt work with Realtime
Resync Frozen queue option values changed to minutes
Correct Queue datatime filters
Corrected Queue datetime. Server date is saved in database
Check memory usage for consumers
Implemented new option "Memory limit for consumer". This option restart consumer when it exceeds memory limit
2.9.16 - Mar 6, 2023
Call to a member function setFinalPrice() on null when sync b2b quote
Fixed issue "Call to a member function setFinalPrice() on null" when sync b2b quote
2.9.15 - Feb 14, 2023
Refactoring: spl_object_id to spl_object_hash
Changed spl_object_id function to the spl_object_hash
2.9.12 - Jan 11, 2023
B2B Opportunity and B2B Quote do not contain product in the Related tab if 'Sync Bundle product only'
Fixed issue with the 'Sync Bundle product only' feature in B2B quotes
2.9.11 - Jan 3, 2023
B2BQuoteNote synchronization is skipped - issue fixed
2.9.10 - Dec 29, 2022
Error when sync B2BQuoteNote Call to a member function getReservedOrderId() on null - issue fixed
2.9.9 - Dec 29, 2022
Release performance, part 3:
Preload order items
Optimize load from negotiable repository
Optimize load company from cache in TNW_B2BSforce plugin
Issues Fixed:
Quotes grid does not contain links for SF Quote ID and SF Opportunity ID
Fixed issue with missing links for SF Quote ID and SF Opportunity ID
Customer EAV sub-entity does not sync
Fixed Issue when Customer EAV sub-entity does not sync after creating more that 60 custom attributes and mappings for them
Some records stuck in Salesforce Update Preparation status - issue fixed
2.9.8 - Dec 15, 2022
Create disableMagentoSync__c field for mapping
2.9.7 - Dec 13, 2022
Some fields do not sync into B2B Opportunity
Fixed issue with B2B Opportunity fields synchronization (Expiration Date, Name)
2.9.6 - Dec 12, 2022
Last (all) Product item is not removed from B2B Opportunity and B2B Quote
Fixed issue when Last (all) Product item were not removed from B2B Opportunity and B2B Quote
2.9.5 - Dec 2, 2022
Release performance, part 2:
ProcessQueue Consumer. Entity loader
Prequeue Consumer. Optimize selects which run queue creates
Incorrect dependency for Non standard Price book entry
Prequeue Consumer . Optimize selects which run queue creates
Consumers . Implement clean local cache to classes
Prequeue Consumer . Optimize queue create calls.
Hide columns when the sync is disabled
ProcessQueue Consumer. Load customer attributes (For 2000 customers - 4000 times)
ProcessQueue Consumer. Customer address entity select (For 2000 customer - 2000 times)
Error Fetching http headers. Incorrect SQL request on Lookup
Sub-select on Grid pages
2.9.4 - Nov 17, 2022
B2B Opportunity owner does not change
restrict logic to not use B2B config
Fixed issue when Opportunity owner does not change (Enable quote versioning - No)
2.9.3 - Nov 14, 2022
Error during Accounts merging
moved company part to the sforceb2b module
Fixed issue with Accounts merging
2.9.2 - Nov 8, 2022
B2BQuoteItem is stuck in the queue if request a quote with a configurable product
Fixed problem with a stuck queue when synchronizing b2bquote with configurable product
2.9.1 - Oct 31, 2022
Description in Opportunity is missing in SF
added out of the box Description mapping for the :
Order➝ SFOrder
Order ➝ SFOpportunity
2.9.0 - Oct 11, 2022
Huge performance update:
Accelerating the \TNW\Salesforce\Model\ResourceModel\Objects::loadObjectIds Method
PreQueue Consumer. Optimize buildDependency method
Prequeue Consumer . Optimize skip rules for all object types.
'Disable sync' option doesn't' work on the product page in Admin Panel
Pricebook entry sync error Required fields are missing: [Product2Id], fields [Product2Id]
2.7.100 - Sep 15, 2022
A technical problem with the server message appears while searching Salesforce Account
Fixed issue A technical problem with the server message while searching Salesforce Account in Find drop-down lists
2.7.99 - Sep 14, 2022
The address does not sync automatically when saving after editing
Address Books records syncing automatically after saving changes
2.7.98 - Sep 2, 2022
Check module re-install process.
Improved uninstall script. Added our tables/columns delete logic
2.7.97 - Aug 31, 2022
Order does not inherit Opportunity from B2B Quote.
Fixed issue when new opportunity was created instead of inherit Opportunity from B2B Quote
2.7.96 - Aug 26, 2022
Update file copyrights/strict_types
Added the strict_types declaration to all files
2.7.95 - Aug 18, 2022
Error when sync admin user (array_filter() expects parameter).
Fixed Error when sync admin user (array_filter() expects parameter)
2.7.94 - Aug 15, 2022
Forbid the B2BQuote sync if the latest version is present
Removed 'Create Opportunity Items for the status' logic. Improved B2BQuote synchronization - Forbid the B2BQuote sync if the latest version is present
2.7.93 - Aug 11, 2022
AbandonedCartItem sync issue
Fixed issue when re-sync records related to removed entities
2.7.92 - Aug 11, 2022
Quotes are not syncing
Lead convert logic fixed
2.7.91 - Aug 9, 2022
Some products / $ amounts aren’t coming from Magento to SF correctly
Added fields for mapping(B2bQuote) and implement the logic for them:
sf_tax_amount
sf_shipping_amount
2.7.90 - Jul 2, 2022
memory performance
Fixed OOM issue caused by syncing huge products count
2.7.89 - Jun 26, 2022
Check the module:disable and module:enable cases for all our modules.
Fixed issue when mapping disappears after disabling modules
2.7.88 - Jun 25, 2022
Some quotes are blocked and not pushed to Salesforce
editable "is_sync_blocked" checkbox is added to the B2BQuote page
2.7.87 - Jun 22, 2022
Product prices in Magento and SF do not match in some cases
new mappings options are added for the following entities:
OrderItem
OpportunityItem
B2BOpportunityItem
B2BQuoteItem
Abandoned Cart Item
2.7.86 - Jun 20, 2022
Error during installation.
Fixed issue with modules installation ( bin/magento setup:install)
2.7.84 - Jun 15, 2022
An exception occurs when trying to change Magento Admin password if connection to SF is lost
Fixed exception when trying to change Magento Admin password if connection to SF is lost (wrong/expired password)
2.7.83 - May 31, 2022
Company admin user synced with incorrect Contact owner
Fixed issue with incorrect synchronization of Contact owner for Company administrator. 'Retain Owner from Existing Account' option worked incorrectly
2.7.82
SF -> Magento. Account reverse sync does not work - Fixed error during reverse sync
2.7.81
Can't change quote owner. Enable quotes without parent opportunities.: Owner ID, fields [OwnerId]
Changed the B2BQuote➝SFQuote "OwnerId" field to "InsertOnly". ERROR: Can't change quote owner. Enable quotes without parent opportunities.: Owner ID, fields [OwnerId]
2.7.80
Minimum Search Length option does not apply. "Please enter… 4 or more characters". Searching starts when type only 4 characters - Issue fixed
2.7.79
SF -> Magento Account sync - change to existing Company Administrator (exception) - Exception message fixed to correct error message
2.7.78
Sync all Quotes (in configuration) should be yes by default. - Issue fixed
2.7.77
Sorting does not work on User grid for Salesforce columns - issue fixed
2.7.76
Some options are hidden when "Enable B2B Quote Synchronization" is set to "No" - Issue fixed
2.7.75
"Validate with Salesforce" button is unnecessary. it duplicates the functionality of the "Sync with Salesforce" button - Button removed
2.7.74
Add 'Default Owner' dropdown for Abandoned Card configuration
Implemented new functionality:
'Default Owner' dropdown is be added to the Salesforce - Abandoned Cart configuration to determine which Owner should be used on Salesforce Opportunity page
2.7.73
Error on modules config page. An error has happened during application run. See exception log for details.
Fixed exception on modules configuration pages. The issue appears when try to open config pages and Salesforce password was expired or incorrect
2.7.72
Closed Opportunity Date is equal to sync date
2.7.71
Sync from M to SF starting immediately after syncing from SF to M containing empty values - Issue fixed
2.7.70
Salesforce ID link not created for a company account if non of Magento admin users are synchronized - Issue fixed
2.7.69
Quote ID: id value of incorrect type / Opportunity ID: id value of incorrect type - Issue fixed
Issue appears after deleting Opportunity in Salesforce org and re-syncing B2B quote
2.7.68
Use Invoice date as close date" - "No" option does not work - Issue fixe
2.7.67
Opportunities are not synchronizing from Magento to SF. “Can’t change opportunity. Enable quotes without parent opportunity..“- Issue fixed
2.7.66
Opportunity owner isn’t syncing from Magento to Salesforce. - Fixed synchronization of Sales Rep on B2B quotes
2.7.65
Multiple records for order, opportunity, b2b quote appear in queue - Issue fixed
2.7.63
B2BQuote deletion fails our PreQueue with FatalError. - issue fixed
The issue appears when synchronizing order created from 2nd B2BQuote version and nd B2BQuote version was removed
2.7.62
Magento Company account synchronized automatically when auto-sync is disabled.
Salesforce - B2B & Customer - Company Configuration - "Enable B2b Company Synchronization" option was remove
2.7.61
Negotiable Quotes - Sales Representatives "Automated Synchronization - No" option does not work. Representatives are synchronized automatically - Issue fixed
2.7.60
Add pricebook validation
Implemented new functionality:
Possible to assign only a unique pricebook for each Website. Added validation for that.
Skip Order/Opportunity/PricebookEntry sync if the related website pricebook is not defined
Added warning message if the related website pricebook is not defined
2.7.59
Magento customer account information will be synchronized with Salesforce when 'Disable sync' option is set to 'Yes' - Issue fixed
2.7.58
Magento customer account will be synchronized automatically
Salesforce - B2B & Customer - Account Configuration - "Automated Synchronization" option was removed
2.7.57
Create sql patch to change for Magento to SF
When TNW_SForceEnterprise module is installed "owner" mappings are “insert Only'
When TNW_SForceB2B module is installed all "owner" mappings are changed to “Upsert”
2.7.56
"NOT LOGGED IN" customer group is missing in Sync All Groups - Customer group list - Issue fixed
2.7.55
Default Owner option for Customer account does not take effect - Issue fixed
2.7.54
"Minimum Search Length" option does not work correctly - Issue fixed
2.7.53
Customers from not selected customer groups are synchronized
2.7.52
Exception appears when visit Magento admin users page - Issue fixed (issue appears for Magento developer mode)
2.7.51
Move mappings from the menu to the own page
Created new “Manage Mappings“ page which contains all modules mappings grouped by type
2.7.50
Error "pricebook entry is in a different pricebook" in queue when create order from second website. - Issue fixed
2.7.49
Empty menu item is present in Opportunity Status drop-down lists
Removed empty menu item from “Opportunity Stage Name“ drop-down lists for Abandoned Cart, Default Opportunity Draft Status (Orders), Default Opportunity Status (B2B quote)
2.7.48
Some quotes with the Draft status get created in Salesforce
Added new functionality: Salesforce (sidebar menu) - Negotiable Quotes - Negotiable Quotes tab “Sync all Quotes”. This option allows you to select specific B2BQuote status when B2B Quote and B2b Opportunity will be created
2.7.47
Custom B2BQuoteItem mapping does not work - Fixed mapping from Magento Attribute “Quote: <items>”
2.7.46
Custom OpportunityLineItem mapping does not work - Fixed mapping from Magento Attribute “Product: <items>”
2.7.44
Opportunity sync errors - made some improvements
2.7.43
SF Order and opportunity subtotal has an incorrect value in case of "Which currency should be used - Base store currency" option"
Fixed issue when SF Order and opportunity subtotal received value from the currency selected by the customer instead of base store currency
2.7.42
Abandoned Cart Opportunity not converted into Negotiable Quote Opportunity - Issue fixed
2.7.41
New Abandoned Cart logic
Implemented new logic for Cart/Quote sync process by time limit:
Created a new config page for Abandoned cart sync under Admin panel - Salesforce - Abandoned carts
Updated Order config page: Added the "Opportunity Record type" dropdown config.
Updated Negotiable quotes config page: Added the "Record type" dropdown config.
Added the RecordType mapping items
Created a new Magento cron job: it runs every 5 minutes
Created a new MQ consumer.
Created a new grid page: admin panel - Sales - Abandoned cart
Improved the Customer page: Added the "Opportunity link" and "Sync with Salesforce" button to the "Shopping cart" tab
Removed old logic where we start Cart sync on the checkout page.
2.7.40
B2BQuote sync problem: multicurrency.
We implemented multicurrency support for the B2BQuote sync.
Also, we added the "Which currency should be used" config options and it helps you control the price currency you need to send to the Salesforce
2.7.39
Guest B2BQuote add to Queue issue - Issue fixed
2.7.37
Cannot upload WSDL file via Admin - Issue fixed
2.7.36
Order opportunity is overwritten by New Quote Opportunity
Fixed issue when Quote Opportunity Relater products were missing if create a negotiable quote from the order
Fixed issue when Order opportunity was overwritten by New Negotiable Quote Opportunity which was created from the existing order
2.7.35
Adding B2B Quotes to queue, not adding all to queue - Issue fixed. Added new the "Is sync blocked" column on the B2BQuote grid
2.7.34
State Country picklist configuration is not working on Company mappings - Issue fixed when you Enable Country/State picklist in SF, are missing BillingCountryCode the integration mappings for the company.
Added new mapping BillingCountryCode and BillingStateCode on the Company mapping page
2.7.33
Account SalesRep Reverse Sync
Fixed issue when Account updates are not being synced in Magento when changes are made in SF
2.7.32
Implement sync logic for both product option types: Custom Options and Super Attributes.
2.7.31
Unable to edit B2BOpportunityLineItem.
Fixed issue with editing and creating B2BOpportunityLineItem mappings
2.7.30
Use a single source for all Opportunity Status picklists
2.7.29
Quote expiration Date & Opportunity Close Date
Fixed issue when Magento Quote Expiration date does not match Salesforce Close Date
2.7.28
Order from deleted website sync
2.7.27
B2B Quote sync issue
2.7.26
The opportunity amount is $0.00, deleting items that should NOT be deleting - issue fixed
2.7.25
The order created from the Magento Quote must be linked with the Opportunity that is linked to the Magento Quote - issue fixed
Opportunity name must inherit the last quote name from Magento - issue fixed
2.7.24
Opportunity duplication (when using Magento B2B) - issue fixed
2.7.23
Correct Admin area menu for the B2BSforce module - issue fixed
Opportunity Name updates (w/ B2B integration)
2.7.22
Opportunity duplication on Quote Edit: New name radio button - issue fixed
2.7.20
Customer sync failed (issue with SF IDs) - issue fixed
2.7.19
OpportunityID missing - issue fixed
2.7.18
"Required fields are missing: [OpportunityId]" - issue fixed
2.7.17
Opportunity duplication on Quote Edit: Parent Quote ID field - issue fixed
Opportunity duplication on Quote Edit: New radio button - issue fixed
Amount is not populated - issue fixed
2.7.16
B2BQuote infinity loading - issue fixed
2.7.15
B2BQuote Items with deleted products sync - issue fixed
2.7.14
Ordered B2BQuote sync improvement
2.7.12
B2BQuote fields sync - issue fixed
2.7.11
B2BQuote Item/Contactrole sync - issue fixed
2.7.10
Config improvement
2.7.9
B2B/EL Quote sync: when we create Order from the Quote - it creates double Opportunities - issue fixed
2.7.8
Show item status "Pending"
Inherit order owner from the Account record
2.7.7
Cleanup dependencies in the Queue
Admin user sync - issue fixed
Notice: Undefined offset for OpportunityItemCleanup - issue fixed
2.7.3
B2BOpportunityItem/ContactRole sync fix: check if ordered already - issue fixed
2.7.2
B2BQuoteItem sync fix: check if item deleted
2.7.1
RabbitMQ fix