ÃÛ¶¹ÊÓƵ

ÃÛ¶¹ÊÓƵ Commerce B2B backward-incompatible changes

Review the high-level reference information for all backward-incompatible changes in B2B for ÃÛ¶¹ÊÓƵ Commerce releases. See the highlights section for incompatible changes that have a major impact and require detailed explanation and special instructions.

Highlights

1.4.2 to 1.5.0

With the addition of mult-company assignment, company user accounts can now have multiple company_id values. The Magento\Company\Api\Data\CompanyCustomerInterface was updated to set the default company_id for a user. The default is set to the first company assigned to the company user account.

If you are upgrading from a previous release, ÃÛ¶¹ÊÓƵ recommends implementing the following methods in classes that use the Magento\Company\Api\Data\CompanyCustomerInterface.

  • Magento\Company\Api\Data\CompanyCustomerInterface::getIsDefault
  • Magento\Company\Api\Data\CompanyCustomerInterface::setIsDefault

Reference

1.4.2-1.5.0

Class changes b2b-BICs-142-150-class

What changed
How it changed
Magento\NegotiableQuoteDuplicate\Block\Quote\Info\Duplicate
Class was added.
Magento\NegotiableQuoteRequisitionList\Block\Quote\Item\Actions\MoveToRequisitionList
Class was added.
Magento\NegotiableQuoteTemplate\Block\Adminhtml\Template\View
Class was added.
Magento\NegotiableQuoteTemplate\Block\Customer\Account\Link\QuoteTemplate
Class was added.
Magento\NegotiableQuoteTemplate\Block\Quote\Action\CreateTemplate
Class was added.
Magento\NegotiableQuoteTemplate\Block\Template\View
Class was added.

Interface changes b2b-BICs-142-150-interface

What changed
How it changed
Magento\CompanyRelation\Api\Data\RelationInterface
Interface was added.
Magento\CompanyRelation\Api\Data\RelationSearchResultInterface
Interface was added.
Magento\CompanyRelation\Api\RelationManagerInterface
Interface was added.
Magento\Company\Api\CompanyCustomerAssignmentInterface
Interface was added.
Magento\Company\Api\CompanyUserRepositoryInterface
Interface was added.
Magento\Company\Api\Data\CompanyCustomerInterface::IS_DEFAULT
Constant has been added.
Magento\Company\Api\Data\CompanyCustomerInterface::getIsDefault
[public] Method has been added.
Magento\Company\Api\Data\CompanyCustomerInterface::setIsDefault
[public] Method has been added.
Magento\Company\Api\Data\CompanyCustomerSearchResultsInterface
Interface was added.
Magento\NegotiableQuoteDuplicate\Api\DuplicateNegotiableQuoteInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Data\TemplateInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\AcceptInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\CancelInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\CreateInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\DeclineInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\DeleteInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\EditParentQuoteInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\ExpireInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\GenerateQuoteInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\OpenInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\RemoveItemInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\SellerSendInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\SendInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\Actions\UpdateInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\DraftManagementInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Api\Template\RepositoryInterface
Interface was added.
Magento\NegotiableQuoteTemplate\Model\Template\ParentQuote\Messages\LabelProviderInterface
Interface was added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteInterface::STATUS_DRAFT_BY_CUSTOMER
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteInterface::STATUS_TEMPLATE_QUOTE
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::IS_DISCOUNTING_LOCKED
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::MAX_QTY
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::MIN_QTY
Constant has been added.
Magento\NegotiableQuote\Api\NegotiableQuoteBuyerDraftManagementInterface
Interface was added.
Magento\NegotiableQuote\Api\RenameNegotiableQuoteInterface
Interface was added.

Database changes b2b-BICs-142-150-database

What changed
How it changed
company_advanced_customer_entity/COMPANY_ADVANCED_CUSTOMER_ENTITY_CUSTOMER_ID
Unique key was removed
company_advanced_customer_entity/PRIMARY
Primary key was added
company_advanced_customer_entity/is_default
Column was added
company_quote_link
Table was added
company_relation
Table was added
negotiable_quote_item/is_discounting_locked
Column was added
negotiable_quote_item/max_qty
Column was added
negotiable_quote_item/min_qty
Column was added
negotiable_quote_template
Table was added
negotiable_quote_template_grid
Table was added
negotiable_template_generated_quote
Table was added

System changes b2b-BICs-142-150-system

What changed
How it changed
system.xml
System configuration file was added

Class API membership changes b2b-BICs-142-150-class-api-membership

What changed
How it changed
Magento\NegotiableQuote\Block\Quote\AbstractQuote
Class was added.

1.4.1-1.4.2

No changes.

1.4.0-1.4.1

No changes.

1.3.5-1.4.0

Class changes b2b-BICs-135-140-class

What changed
How it changed
Magento\NegotiableQuote\Block\Adminhtml\Quote\Create\Form
Class was added.
Magento\NegotiableQuote\Block\Adminhtml\Quote\Create\Store\Select
Class was added.
Magento\NegotiableQuote\Block\Quote\Item\Actions\Note
Class was added.

Interface changes b2b-BICs-135-140-interface

What changed
How it changed
Magento\NegotiableQuote\Api\Data\ItemNoteInterface
Interface was added.
Magento\NegotiableQuote\Api\Data\ItemNoteSearchResultsInterface
Interface was added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteInterface::STATUS_DRAFT_BY_ADMIN
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::NEGOTIATED_PRICE_TYPE
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::NEGOTIATED_PRICE_TYPE_AMOUNT_DISCOUNT
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::NEGOTIATED_PRICE_TYPE_PERCENTAGE_DISCOUNT
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::NEGOTIATED_PRICE_TYPE_PROPOSED_TOTAL
Constant has been added.
Magento\NegotiableQuote\Api\Data\NegotiableQuoteItemInterface::NEGOTIATED_PRICE_VALUE
Constant has been added.
Magento\NegotiableQuote\Api\ItemNoteRepositoryInterface
Interface was added.
Magento\NegotiableQuote\Api\NegotiableQuoteDraftManagementInterface
Interface was added.
Magento\NegotiableQuote\Model\Restriction\RestrictionInterface::ACTION_VIEW
Constant has been added.
Magento\SharedCatalog\Api\AssignTierPriceInterface
Interface was added.
Magento\SharedCatalog\Api\ResetTierPriceInterface
Interface was added.

Database changes b2b-BICs-135-140-database

What changed
How it changed
negotiable_quote_item/negotiated_price_type
Column was added
negotiable_quote_item/negotiated_price_value
Column was added
negotiable_quote_item_note
Table was added

System changes b2b-BICs-135-140-system

What changed
How it changed
sales_email/quote/new_quote_by_seller_template
A field-node was added

1.3.4-1.3.5

Interface changes b2b-BICs-134-135-interface

What changed
How it changed
Magento\PurchaseOrderRule\Api\Data\RuleInterface::getAppliesToRoleIds
[public] Method return typing changed.
Magento\PurchaseOrderRule\Api\Data\RuleInterface::getApproverRoleIds
[public] Method return typing changed.

System changes b2b-BICs-134-135-system

What changed
How it changed
catalog/magento_catalogpermissions/grant_catalog_category_view_groups
A field-node was added

1.3.3-1.3.4

System changes b2b-BICs-133-134-system

What changed
How it changed
btob/website_configuration/direct_products_price_assigning
A field-node was added

Class API membership changes b2b-BICs-133-134-class-api-membership

What changed
How it changed
Magento\NegotiableQuote\Model\Validator\ValidatorResult
Class was added.

Interface API membership changes b2b-BICs-133-134-interface-api-membership

What changed
How it changed
Magento\CompanyCredit\Model\HistoryInterface
Interface was added.
Magento\CompanyCredit\Model\HistoryRepositoryInterface
Interface was added.
Magento\Company\Api\CompanyUserManagerInterface
Interface was added.
Magento\Company\Model\Customer\PermissionInterface
Interface was added.
Magento\Company\Model\SaveValidatorInterface
Interface was added.
Magento\NegotiableQuote\Api\NegotiableCartRepositoryInterface
Interface was added.
Magento\NegotiableQuote\Model\Attachment\DownloadPermission\AllowInterface
Interface was added.
Magento\NegotiableQuote\Model\ProductOptionsProviderInterface
Interface was added.
Magento\NegotiableQuote\Model\Quote\ViewAccessInterface
Interface was added.
Magento\NegotiableQuote\Model\ResourceModel\QuoteGridInterface
Interface was added.
Magento\NegotiableQuote\Model\Restriction\RestrictionInterface
Interface was added.
Magento\NegotiableQuote\Model\Status\LabelProviderInterface
Interface was added.
Magento\NegotiableQuote\Model\Validator\ValidatorInterface
Interface was added.
Magento\OrderHistorySearch\Model\Filter\FilterInterface
Interface was added.
Magento\PurchaseOrderRule\Api\Data\AppliedRuleApproverSearchResultsInterface
Interface was added.
Magento\PurchaseOrderRule\Api\Data\AppliedRuleSearchResultsInterface
Interface was added.
Magento\PurchaseOrderRule\Api\Data\RuleSearchResultsInterface
Interface was added.
Magento\PurchaseOrderRule\Model\Rule\ConditionInterface
Interface was added.
Magento\PurchaseOrderRule\Model\Rule\ValidateInterface
Interface was added.
Magento\PurchaseOrder\Api\Data\PurchaseOrderInterface
Interface was added.
Magento\PurchaseOrder\Api\Data\PurchaseOrderSearchResultsInterface
Interface was added.
Magento\PurchaseOrder\Api\PurchaseOrderManagementInterface
Interface was added.
Magento\PurchaseOrder\Api\PurchaseOrderRepositoryInterface
Interface was added.
Magento\PurchaseOrder\Model\CommentRepositoryInterface
Interface was added.
Magento\PurchaseOrder\Model\Company\ConfigInterface
Interface was added.
Magento\PurchaseOrder\Model\Company\Config\RepositoryInterface
Interface was added.
Magento\PurchaseOrder\Model\Customer\Authorization\ActionInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\ActionNotificationInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\Action\Recipient\ResolverInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\Config\ProviderInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\ContentSourceInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\NotifierInterface
Interface was added.
Magento\PurchaseOrder\Model\Notification\SenderInterface
Interface was added.
Magento\PurchaseOrder\Model\Payment\DeferredPaymentStrategyInterface
Interface was added.
Magento\PurchaseOrder\Model\ProcessorInterface
Interface was added.
Magento\PurchaseOrder\Model\Processor\ApprovalProcessorInterface
Interface was added.
Magento\PurchaseOrder\Model\PurchaseOrderLogRepositoryInterface
Interface was added.
Magento\PurchaseOrder\Model\PurchaseOrder\LogManagementInterface
Interface was added.
Magento\PurchaseOrder\Model\Validator\ActionReady\ValidatorInterface
Interface was added.
Magento\PurchaseOrder\Model\Validator\ValidatorInterface
Interface was added.
Magento\RequisitionList\Model\Checker\ProductQtyChangeAvailabilityInterface
Interface was added.
Magento\SharedCatalog\Api\Data\PermissionInterface
Interface was added.
Magento\SharedCatalog\Api\SharedCatalogDuplicationInterface
Interface was added.
Magento\SharedCatalog\Model\Configure\Category\Tree\RendererInterface
Interface was added.
recommendation-more-help
88ad8589-1cb8-47eb-a79c-0e4726a4ac2a