Skip to main content

NC365 Attribute Events (11260698)

IntegrationEvent: OnAfterGetAttributeFromMagento

OnAfterGetAttributeFromMagento(var Attribute: Record "NC365 Attribute"; MageAttribute: JsonObject)

This event is fired directly after a Magento item attribute is imported into Business Central.In case you want to add some logic on top of the attribute import process, then this is the event to work with.

Parameters:

  • Attribute - Attribute record (table 11260664)
  • MageAttribute - Magento attribute as JSON object

IntegrationEvent: OnBeforeGetMappedValue

OnBeforeGetMappedValue(NC365Attribute: Record "NC365 Attribute"; ItemNo: Code[20]; VariantCode: Code[20]; var AttributeValue: Variant; var Handled: Boolean)

Use this event to add functionality directly before a mapped attribute value is retrieved,or completely override this process by using the handled parameter.In case the standard mapping capabilities are insufficient then you can use this event to call your own fully customized mapping logic.

Parameters:

  • NC365Attribute - The attribute record (table 11260664)
  • ItemNo - This item no for which the mapped attribute value is being retrieved
  • VariantCode - The optional item variant code for which the mapped attribute value is being retrieved
  • AttributeValue - The actual attribute value that is being set
  • Handled - Use this parameter if you want to completely override the existing process

IntegrationEvent: OnAfterGetMappedValue

OnAfterGetMappedValue(NC365Attribute: Record "NC365 Attribute"; ItemNo: Code[20]; VariantCode: Code[20]; var AttributeValue: Variant)

Use this event to add functionality directly after a mapped attribute value is retrieved.

Parameters:

  • NC365Attribute - The attribute record (table 11260664)
  • ItemNo - This item no for which the mapped attribute value is being retrieved
  • VariantCode - The optional item variant code for which the mapped attribute value is being retrieved
  • AttributeValue - The actual attribute value that is being set

Fully automated installation and onboarding

Install via AppSource

Click on the AppSource button, install the free trial and just follow the instructions