10,730
edits
Line 90: | Line 90: | ||
=== How to add a new entity to integration? === | === How to add a new entity to integration? === | ||
Synchronization is effective if versionnumber of entity ( | Synchronization is effective if the versionnumber of entity (table in Business Central) is compared from the last sync. Therefore we recommend creating a table extension to access field(0) - versionnumber in Business Central. | ||
This is an example of an extension for the Customer table. Apply the same principles to other tables. | |||
<syntaxhighlight lang="pascal"> | <syntaxhighlight lang="pascal"> | ||
Line 155: | Line 155: | ||
Upload the created table and page extensions to your Business Central organization. | Upload the created table and page extensions to your Business Central organization. | ||
# Open Web Services in your Business Central. | # Open Web Services in your Business Central.<br>[[File:Open web services in business central.png|600px]] | ||
# Click New. | # Click '''New'''.<br>[[File:Create a new web service.png|600px]] | ||
# Select Page, Object ID of created Page and define Service Name (it will be displayed in Integration Editor in Woodford) and Save. | # Select Page, Object ID of created Page and define Service Name (it will be displayed in Integration Editor in Woodford) and Save. | ||
Return to Resco Cloud. | Return to Resco Cloud. | ||
# Open your integration, enable external entity for integration and do mapping. | # Open your integration, enable external entity for integration, and do the mapping. | ||
# Select Local entity, Primary Key, Version Number - RowVersionNumber and | # Select Local entity, Primary Key, Version Number - RowVersionNumber and proceed with field mapping. | ||
== Synchronization == | == Synchronization == |