-
Internal API’sTo make working with our data models as easy as possible, we have added a long list of so called internal API’s to our solution. This means that as a developer you don’t have to study how complex table structures like the item attribute values are stored. You simple use the SetAttributeValue(..) method, and we will take care of the rest. On the next ...
-
NC365 Attribute API (11260727)SetAttributeValue SetAttributeValue(ItemNo: Code[20]; AttributeCode: Code[50]; "Value": Variant) Sets the attribute value for a specific item and attribute code.The value is of type Variant. So it can be any data type. The system will automatically try to convert the value to the data type that is set for the given attribute.If the attribut...
-
NC365 Category API (11260756)GetBreadcrumbs GetBreadcrumbs(CategoryNo: Code[20]): Text Returns the breadcrumbs for the given category. Parameters: CategoryNo - The Category No Returns: nothing GetCategoryNoByExternalId GetCategoryNoByExternalId(ExternalId: Text[100]): Code[20] Use this method to retrieve a category based on its external id field.The external id is a...
-
NC365 Customer API (11260749)CreateNC365Customer CreateNC365Customer(Customer: Record "Customer") Creates a Magento customer account / record for the given customer record. Parameters: Customer - Customer record (table 18) Returns: nothing ReleaseNC365Customer ReleaseNC365Customer(CustomerNo: Code[20]) Marks a Magento customer account as released. Once an ...
-
NC365 Integration API (11260692)QueueRecord QueueRecord(Rec: Variant) Hand any possible record to the queueing mechanism. The internal logic will further determine whether a record can be queued. Parameters: Rec - Any BC record Returns: nothing QueueRecord QueueRecord(Rec: Variant; SkipTableCheck: Boolean) Hand any possible record to the queueing mechanism and use or s...
-
NC365 Inventory API (11260732)CalculateInventory CalculateInventory(ItemNo: Code[20]): Decimal Calculates and returns the web inventory number for a given item number. The calculation takes the Inventory Location Filter setup field into account.If you want to further customize or overrule this calculation please use "NC365 Inventory Events" (codeunit 11260723). Paramet...
-
NC365 Item API (11260729)CreateNC365Item CreateNC365Item(Item: Record Item) Create a Magento item from a standard BC item. Parameters: Item - The item record Returns: nothing CreateNC365Item CreateNC365Item(Item: Record Item; RaiseEvents: Boolean) Create a Magento item from a standard BC item. Parameters: Item - The item record RaiseEvents - Boolean to indic...
-
NC365 Magento API (11260728)GetAttributeDataFrom GetAttributeDataFrom() Triggers the process that imports all existing attributes and attribute sets from the Magento environment. Parameters: none Returns: nothing
-
NC365 Sales Order API (11260734)GetMagentoOrder GetMagentoOrder(orderID: Integer): JsonObject Retrieve a specific Magento sales order. Parameters: orderID - The Magento order ID Returns: The Magento sales order as a JSON object GetMagentoOrder GetMagentoOrder(StagingOrderHeader: Record "NC365 Staging Order Header"): JsonObject Retrieve a specific Magento sale...
-
NC365 Invoice API (11260770)CreateHeader CreateHeader(DocumentNo: Code[20]; StagingOrderNo: Code[20]): Record "NC365 Invoice Header" Creates an NC365 Invoice Header based for a custom implementation. Parameters: DocumentNo - The no. of the source document (e.g., the sales invoice no.) StagingOrderNo - The staging order no Returns: The created NC365 Invoice Heade...