Business Central: Difference between revisions

Jump to navigation Jump to search
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 (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.
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.


There is the example of table extension for Customer (Apply the same principle for another Table):
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 do field mapping.
# Select Local entity, Primary Key, Version Number - RowVersionNumber and proceed with field mapping.


== Synchronization ==
== Synchronization ==

Navigation menu