è un po' poco, quando so che success = false non è che so cosa fare.
Bisognerebbe sapere cos'è successo e su quale tabella/documento.
It is currently 8 June 2025, 17:50 Advanced search
if (!(Success))
{
messageBox("Sincronizzazione terminata con errori")
IDCollection sColl of IDDocument = new() --> conterrà i documenti andati in errore lato server
IDCollection cColl of IDDocument = new() --> conterrà i documenti andati in errore lato client
SyncService.getAllDocsInError(sColl, cColl)
for each IDDocument doc in cColl ---> lo stesso ciclo lo si può fare anche su sColl
{
int i = 0
Collection c = new() --> conterrà gli errori sul documento in oggetto
doc.getDocumentErrors(c)
while (i < c.count())
{
..... traccia errore ....
i = i + 1
}
}
}
Return to Proposte di modifica
Users browsing this forum: No registered users and 10 guests