VoorwaardenReplica 365 is succesfully configured in Business Central, using the “Replica 365 Setup page” Azure Table Storage (“ATS”) is configured (more information can be found in the article describing how to setup Replica 365.
Business Central SetupSign in to Meld je aan bij Business Central Search for the page Zoek naar de pagina “Replica 365” and open this page to start entering the tables you want to replicate. Image RemovedStart by entering the first Table you want to replicate. You can either search by name or table number. Image RemovedSelect the appropiate table. Once the table is selected, a couple of informative fields is shown and options to configure the behaviour of the replicate actionen open deze pagina om de tabellen in te voeren die je wilt repliceren.
Image Added |
---|
Begin met het invoeren van de eerste tabel die je wilt repliceren. Je kunt zoeken op tabelnaam of op tabelnummer.
Image Added |
---|
Zoek op naam of tabelnummer |
Note |
---|
Gebruik geen speciale karakters in de “External name” van de tabel, hier kan Azure table storage niet mee omgaan. Gebruik alleen letters en cijfers. |
Selecteer de juiste tabel uit de zoekresultaten. Zodra de tabel is geselecteerd, worden een aantal informatieve velden weergegeven en opties om het gedrag van de replicatieactie te configureren
| Field | Explanation |
---|
a | No. of Records | Number of Aantal records (rowsrijen) in the tablede tabel |
---|
b | Fields | Number of selected fields in the table. Click on the field to open the Field Selector. Replica supports up to 250 fields for each destination table, due to limitations of ATS. ATS supports a maximum of 255 fields, 5 are needed for system properties. When your table contains more than 250 fields you need to make a subselection within the existing columns or replicate the table in multiple partsVelden | Aantal geselecteerde velden in de tabel. Klik op het veld om de veldkiezer te openen. Replica ondersteunt maximaal 250 velden voor elke doeltabel, vanwege beperkingen van ATS. ATS ondersteunt maximaal 255 velden per tabel, waarvan er 5 velden nodig zijn voor systeemeigenschappen. Wanneer je tabel meer dan 250 velden bevat, moet je een subselectie maken binnen de bestaande kolommen of de tabel in meerdere delen repliceren. |
---|
c | Exclude Flowfields uitsluiten | When flow fields Wanneer flowfields ("calculated fieldsberekende velden") are excluded, a replication action will be faster. For large tables, you can choose to replicate the table in multiple parts, each with part of the flow fieldsworden uitgesloten, zal een replicatieactie sneller verlopen. Voor grote tabellen kun je ervoor kiezen om de tabel in meerdere delen te repliceren, elk met een deel van de stroomvelden. |
---|
d | Replication Type | Choose between [Full] and [ChangesRepliceertype | Kies tussen [Volledig] en [Wijzigingen]. Met [Full] will replicate the table in full for each replication roundVolledig] wordt de tabel voor elke replicatieronde volledig gerepliceerd. [Changes] will only replicate the changed records compared to the previous replication. This is determined using the attribute Wijzigingen] repliceert alleen de gewijzigde records in vergelijking met de vorige replicatie. Dit wordt bepaald met behulp van het attribuut "Last Modified Date Time" of the selected table. Warning: when you change the Replication Type from [Changes] to [Full], this will result in an entire new copy of the table “as is” at that moment. This results in losing history in ATS, handle this with care Image Removed |
---|
e | Full Sync Required | When you change the selected fields, for example (de)select Fields, this will trigger a Full Sync the next replication round. This is necessary to keep the number of fields per row in ATS consistent. Warning: This results in losing history in ATS. All records that do not longer exist in BC, will no longer be available in ATS. Handle this with care. |
---|
f | Track Deletes | Check this field when you want Records that are deleted in BC to be marked “as deleted” in ATS. If this option is not checked, deleted Records in BC The field “DeletedAt” in ATS will be updated with the DateTime of the actual Deletion in BC (not the DateTIme of updating the record in ATS). Remark: When [Track Deletes] is combined with [Replication Type] = “Full”, this will result in retaining deleted Records in ATS. So even though the Record has been deleted in BC, it will continue to exist in ATS. However, the attribute "DeletedAt" is updated in ATS to mark the Record as being deleted. |
---|
g | No. of Deleted Records | Shows the No. of Deleted Records that need to be processed. For each Table that is configured in Replica 365, a log is kept with deleted records in BC. So that these deletes can be implemented in ATS. |
---|
h | Status | Shows the Status (“Finished”, “Processing”, “Error”) when the manual Export is triggered. |
---|
i | Start | Date/Time of Start of the last Export |
---|
j | Duration | Duration of the last Export. |
---|
k | Unprocessed Messages | Exports are being processed to ATS in batches. This shows the number of Unprocessed batches. |
---|
l | No. of Errors | Number of Errors that occured during the last Export. Click on the number to show more details. |
---|
Image RemovedSelect fieldsFor each Table you can select the desired fields you want to Replicate. Use the “Select All” button to select Fields. Replica supports up to 250 fields for each destination table, due to limitations of ATS. ATS supports a maximum of 255 fields, 5 are needed for system properties. When your table contains more than 250 fields you need to make a subselection within the existing columns or replicate the table in multiple parts. Warning: selecting more than 250 fields will result in an Error during Processing to ATS. Use the “Deselect All” button, to unselect all Fields. Use the “Update Fields” button to reload the available Fields. This is necessary when fields have been added to a table, for example after installing a new Extension. New fields are not included by default. Image RemovedImage Removedvan de geselecteerde tabel. Note |
---|
Waarschuwing: wanneer je het Replicatietype wijzigt van [Wijzigingen] naar [Volledig], resulteert dit in een geheel nieuwe kopie van de tabel “zoals deze op dat moment is”. Dit resulteert in het verlies van de geschiedenis in ATS, ga hier voorzichtig mee om. | Image Added | Image Added e | Volledige synchronisatie vereist | Wanneer u de geselecteerde velden wijzigt, bijvoorbeeld Velden (de)selecteert, activeert dit een Volledige synchronisatie in de volgende replicatieronde. Dit is nodig om het aantal velden per rij in ATS consistent te houden. Note |
---|
Waarschuwing: hierdoor gaat de geschiedenis in ATS verloren. Alle records die niet meer bestaan in BC, zullen niet langer beschikbaar zijn in ATS. Ga hier zorgvuldig mee om. |
|
---|
f | Verwijderingen markeren | Vink dit veld aan als je wilt dat records die in BC zijn verwijderd, in ATS als “verwijderd” worden gemarkeerd. Als deze optie niet is aangevinkt, worden verwijderde records in BC ook verwijderd in ATS. Wanneer dit veld is aangevinkt, wordt het veld “DeletedAt” in ATS bijgewerkt met de DateTime van de daadwerkelijke verwijdering in BC (niet de DateTIme van het bijwerken van het record in ATS). Info |
---|
Wanneer [Track Deletes] wordt gecombineerd met [Replication Type] = “Full”, resulteert dit in het behouden van verwijderde records in ATS. Dus ook al is het record in BC verwijderd, het blijft bestaan in ATS. Het attribuut "DeletedAt" wordt echter bijgewerkt in ATS om de record als verwijderd te markeren. |
|
---|
g | Aantal verwijderde records | Toont het aantal verwijderde records dat moet worden verwerkt. Voor elke tabel die in Replica 365 is geconfigureerd, wordt een logboek bijgehouden met verwijderde records in BC. Zodat deze verwijderingen in ATS kunnen worden geïmplementeerd.. |
---|
h | Status | Toont de status (“Voltooid”, “In verwerking”, “Error”) wanneer de handmatige export wordt geactiveerd. |
---|
i | Start | Datum/tijd van start van de laatste export. |
---|
j | Duur | Duur van de laatste export. |
---|
k | Onverwerkte berichten | Een export wordt batchgewijs naar ATS verwerkt. Hier wordt het aantal onverwerkte batches weergegeven. |
---|
l | Aantal foutmeldingen | Aantal fouten dat is opgetreden tijdens de laatste export. Klik op het nummer om meer details weer te geven. |
---|
Image Added |
---|
Configuratie van Replica 365 |
Veld SelectieVoor elke tabel kun je de gewenste velden selecteren die je wilt repliceren. Gebruik de knop “Selecteer alles” om Velden te selecteren. Replica ondersteunt maximaal 250 velden voor elke doeltabel, vanwege beperkingen van ATS. ATS ondersteunt maximaal 255 velden, waarvan er 5 nodig zijn voor systeemeigenschappen. Wanneer je tabel meer dan 250 velden bevat, moet je een subselectie maken binnen de bestaande kolommen of de tabel in meerdere delen repliceren. Waarschuwing: het selecteren van meer dan 250 velden zal resulteren in een fout tijdens de verwerking naar ATS. Gebruik de knop “Deselecteer alles” om alle velden te deselecteren. Gebruik de knop “Velden bijwerken” om de beschikbare velden opnieuw te laden. Dit is nodig als er velden aan een tabel zijn toegevoegd, bijvoorbeeld na het installeren van een nieuwe extensie. Nieuwe velden worden standaard niet opgenomen.
Image Added |
---|
Image Added |
---|
Selecteer niet meer dan 250 kolommen per tabel om fouten in de export te voorkomen. |
|