IntegrationEvent: OnAfterCreateWebItem

OnAfterCreateWebItem(var NC365Item: Record "NC365 Item");

This is event is fired directly after a web item is created from a standard item.If you want to implement logic to automatically fill in certain fields or to automatically maintain configurable and linked simple items, then this is where you want to implement your logic.

Parameters:

  • NC365Item - The web item record that is created


IntegrationEvent: OnAfterCreateWebItemVariant

OnAfterCreateWebItemVariant(var NC365ItemVariant: Record "NC365 Item Variant");

This is event is fired directly after a web item variant is created from a standard item variant.If you want to implement logic to automatically fill in certain fields or to automatically maintain configurable and linked simple items, then this is where you want to implement your logic.

Parameters:

  • NC365ItemVariant - The web item variant record that is created


IntegrationEvent: OnAfterCreateWebLocation

OnAfterCreateWebLocation(var NC365Location: Record "NC365 Location");

This is the event that is fired when a web customer is created from a standard BC customer.Use this event to automatically set certain fields, customer attributes or to add any other custom logic.

Parameters:

  • NC365Customer


IntegrationEvent: OnAfterCreateWebCustomer

OnAfterCreateWebCustomer(var NC365Customer: Record "NC365 Customer");

This is the event that is fired when a web customer is created from a standard BC customer.Use this event to automatically set certain fields, customer attributes or to add any other custom logic.internal procedure OnAfterCreateWebLocation(var NC365Location: Record "NC365 Location");beginend;

Parameters:

  • NC365Customer


IntegrationEvent: OnBeforeCreateCustomerFromSalesOrder

OnBeforeCreateCustomerFromSalesOrder(var StagingOrderHeader: Record "NC365 Staging Order Header"; var CreatedCustomerNo: Code[20]; var Handled: Boolean)

This event is fired right before a new customer record is created from an incoming Magento sales order.

Parameters:

  • StagingOrderHeader - The staging order that is created based on the Magento sales order
  • CreatedCustomerNo - The customer number that was used for this new customer
  • Handled - If you want to take over this process, then set the Handled parameter to true


IntegrationEvent: OnAfterCreateCustomerFromSalesOrder

OnAfterCreateCustomerFromSalesOrder(var StagingOrderHeader: Record "NC365 Staging Order Header"; var Customer: Record Customer; var NC365Customer: Record "NC365 Customer")

This event is fired directly after a new customer record is created from an incoming Magento sales order.

Parameters:

  • StagingOrderHeader - The staging order that is created based on the Magento sales order
  • Customer - The customer record that was used for this new customer
  • NC365Customer - The web customer record that was created for this new customer