-
NC365 Price Calculation Events (11260724)IntegrationEvent: OnBeforeGetPrice OnBeforeGetPrice(var Price: Decimal; ItemNo: Code[20]; VariantCode: Code[10]; WebsiteID: Integer; CustomerNo: Code[20]; Quantity: Decimal; var Handled: Boolean) This event is fired before calculating a price that is sent to Magento.If you want to take over price calculation you should use this event in combination w...
-
NC365 Staging Order Events (11260726)IntegrationEvent: OnBeforeCreateSalesDocument OnBeforeCreateSalesDocument(var StagingOrderHeader: Record "NC365 Staging Order Header"; var Handled: Boolean); This event is fired right before converting a staging order into a real BC sales document (quote or order). Parameters: StagingOrderHeader - The staging order header record (table 1...
-
NC365 Store View Events (11260696)IntegrationEvent: OnAfterGetStoreViewFromMagento OnAfterGetStoreViewFromMagento(var StoreView: Record "NC365 Store View"; MageStoreView: JsonObject) This event is fired after synchronizing a Magento store view with Business Central. Parameters: StoreView - The Store View record (table 11260663) MageStoreView - The Magento Store View JSO...
-
NC365 Website Events (11260695)IntegrationEvent: OnAfterGetWebsiteFromMagento OnAfterGetWebsiteFromMagento(var Website: Record "NC365 Website"; MageWebsite: JsonObject) This event is fired after synchronizing a Magento website with Business Central. Parameters: Website - The Website record (table 11260679) MageWebsite - The Magento Website JSON object
-
NC365B2B Sales Document Events (11261216)IntegrationEvent: OnAfterCreateDocumentLine OnAfterCreateDocumentLine(var SalesDocumentLineRecRef: RecordRef; var SalesDocumentLine: JsonObject) This event is fired directly after a sales document line was constructed and before it is added to the document that will be synchronized.Use this event if you want to add, update or remove line level data. ...
-
NC365 Contact API (11260816)CreateNC365Contact CreateNC365Contact(Contact: Record "Contact") Creates a Magento customer account / record for the given customer record. Parameters: Customer - Customer record (table 18) Returns: nothing ReleaseNC365Contact ReleaseNC365Contact(ContactNo: Code[20]) Marks a Magento customer account as released. Once an account...
-
NC365 Inventory Calculation Provider (interface)Commerce 365 for Magento uses AL's Interface + Enum pattern for inventory calculation. This allows you to plug in your own custom inventory calculation strategy from a per tenant extension (PTE). The Commerce 365 for Magento core app ships with three built-in methods (Magento Reservations Enabled, Magento Reservations Disabled, and Disabled). You...
-
NC365 Predefined Mapping (Interface)Commerce 365 for Magento uses AL's Interface + Enum pattern for item attribute value mapping. This allows you to plug in your own data mapping logic from a per tenant extension (PTE). When looking for just a simple mapping where pointing at a table number and field is sufficient, you could use a Manual mapping, like mapping the EAN/GTIN field in ...