Experts,
I'm working on a canvas app to save online data to offline collections.
Following temporary table structure,
ClearCollect(TableTempx,{priority: "xx",
state: "xx",
sequence: 0,
breakdownSymptomGroupCode:"xx" ,
breakdownSymptomCode:"xx" ,
shortText: "xx",
orderNumber: "xx",
orderClass: "xx",
customerCode: "xx",
center: "xx",
equipmentCode: "xx",
activityClass: "xx",
adviceText: "xx",
orderDate: "xx",
serviceType: "xx",
routeId: "xx",
syncType: "xx"
});
Now i am trying to copy the data from collections(opernorder) to temporary table Tabletempx with following code,
ForAll(openorder,Patch(TableTempx,
Defaults(TableTempx),
{
orderNumber: orderNumber,
customerCode: customerCode,
equipmentCode: equipmentCode,
activityClass: activityClass,
adviceText: adviceText,
orderDate: orderDate,
serviceType: serviceType,
routeId: routeId,
syncType: syncType,
orderClass: orderClass
}
)
)
Data is getting copied. But during offline this temporary data is disappearing. Please guide me to debug the same.