23 lines
815 B
JavaScript
23 lines
815 B
JavaScript
// --------------------------------------------------------------------------------------
|
|
// F_PutSync.js
|
|
// Copyright 2014 SG|facilitor. 053-4800 700, helpdesk@sgfacilitor.nl
|
|
// Written by MB (2014)
|
|
//
|
|
// MAREON Connector/Adapter Ax -> FACILITOR en Facilitor -> Ax
|
|
// Registreert de start of einde van de totale synchronisatie alle gegevens.
|
|
// --------------------------------------------------------------------------------------
|
|
|
|
// v_mode = 0 of 1: 0 = start sync, 1 = einde sync
|
|
function F_PutSync(v_mode)
|
|
{
|
|
var v_API = "AX_SYNC";
|
|
var v_APIKEY = G_fclt_apikey;
|
|
var v_req = "<axsync><mode>" + v_mode + "</mode></axsync>"
|
|
var v_type = 1; // xml
|
|
var v_soap_envelop = 0;
|
|
__Log(v_req,2);
|
|
|
|
apiFCLT(v_API, v_APIKEY, v_req, v_type, v_soap_envelop);
|
|
|
|
}
|