-
NC365 Shipment API (11260771)CreateHeader CreateHeader(DocumentNo: Code[20]; StagingOrderNo: Code[20]): Record "NC365 Shipment Header" Creates an NC365 Shipment Header for a custom implementation. Parameters: DocumentNo - The no. of the source document (e.g., the sales shipment no.) StagingOrderNo - The staging order no Returns: The created NC365 Shipment Header ...
-
NC365 Website API (11260740)GetPublicPriceCustomerNo GetPublicPriceCustomerNo(): Code[20] Retrieve the Public Price Customer No. field from the general setup.If specified, this is the customer number that is used for calculating the base price which is (by default) visible for all web visitors.This value can be overruled on website level. Parameters: none Returns: A customer ...
-
EventsAs software developers we know how important it is for other developers to be able to properly extend our applications. To accomplish most of the development requirements we mainly focus on 2 things. Events and internal API’s. Events everywhere Using events is the preferred way to extend our application, and we try to add them everywhere where it m...
-
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...
-
NC365 Attribute Set Events (11260697)IntegrationEvent: OnAfterGetAttributeSetFromMagento OnAfterGetAttributeSetFromMagento(var AttributeSet: Record "NC365 Attribute Set"; MageAttributeSet: JsonObject) This event is fired directly after a Magento item attribute set is imported into Business Central.In case you want to add some logic on top of the attribute set import process, t...
-
NC365 Customer Events (11260742)IntegrationEvent: OnAfterReleaseWebCustomer OnAfterReleaseWebCustomer(var NC365Customer: Record "NC365 Customer") This event is raised directly after a Magento customer record (NC365 Customer, table 11260678) is marked as released.Setting the released field to true means that from that point on the account will be created in Magento,and any...
-
NC365 Inventory Events (11260723)IntegrationEvent: OnBeforeCalculateInventory OnBeforeCalculateInventory(ItemNo: Code[20]; VariantCode: Code[10]; var Inventory: Decimal; var Handled: Boolean) This event is trigged right before the actual inventory calculation. If you want to either do some prework, or if you want to completely overrule inventory calculation, this is the event to wor...
-
NC365 Item Events (11260737)IntegrationEvent: OnBeforeSync OnBeforeSync(NC365Item: Record "NC365 Item"; var MageItem: JsonObject; var SyncResult: Enum "NC365 Sync Result") This event is triggered just before a item data object is sent to Magento.If you want to manipulate any data on the item object then this is the event to use. Parameters: NC365Item - Th...
-
NC365 Location Events (11260754)IntegrationEvent: OnBeforeSync OnBeforeSync(NC365Location: Record "NC365 Location"; var MageLocation: JsonObject; var SyncResult: Enum "NC365 Sync Result") This event is triggered just before a item data object is sent to Magento.If you want to manipulate any data on the item object then this is the event to use. Parameters: NC...
-
NC365 Master Data Events (11260725)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 wan...