OrderItem optimization: skip PricebookEntry sync

  • Go to Magento admin panel - Salesforce - General Configuration - Advanced

Don't sync Product/PricebookEntry if we have it's SalesforceId in Magento

The related entities wouldn't be added to the sync Queue by syncing the main object if we have it's SalesforceId in the Magneto already.

the list of entities which will not be added to the queue:

Parent entity → Related entity

Customer ➝ B2BQuote
B2BCompany ➝ Customer
Comapny ➝ Address(Location)
Company ➝ Order
Address(Location) ➝ Order need to check
Order -> orderNote
Shipment -> orderShipmentNote
Shipment -> orderShipmentTrack
Invoice -> orderInvoiceNote
Customer -> RMA
PricebookEntry -> RMAItem
RMA -> rmaNote
product -> TierPrice
Website -> B2BQuote
Customer -> B2BCompany

AbandonedCartItem➝PricebookEntry
OrderItem -> PricebookEntry
B2BQuoteItem -> PricebookEntry
Opportunity -> Customer
Order -> Customer
OrderSipment -> Customer
OrderInvoice -> Customer
AbondedCart -> Customer
Customer -> CustomerGroup
TierPrice -> CustomerGroup
Order -> CustomerGroup
Customer -> Website
Opportunity -> Website
Order -> Website
TierPrice -> Website
Rma -> Website
OrderInvoice -> Website
OrderShipment -> Website