Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
-
mwilliams
- Posts: 17
- Joined: Fri May 19, 2017 1:34 am
Post
by mwilliams » Wed Jul 03, 2019 7:25 am
I was wondering if there has been any reported issues using the database upload process. We have an offline mobile application that hasn't been changed in a long time. In that application we have a posting process that uploads data when the phone is connected to the server. It used to work but now, when it tries to post, the property /DB.BATCHTABLECOUNT is always 0. It's as if nothing is being sent up. I am using android's LongRange version 35 and axes 311.
Any ideas as to what it could be would be helpful.
javascript
Code: Select all
function () {
this.q_setProperties({
"RunOperation.Type": "PerformAction",
"RunOperation.Pgm": "MOR3598",
"RunOperation.Action": "",
"RunOperation.SendDBData": "Y"
});
},
RPGLE
Code: Select all
tblCount = lrng_getNumProperty('/DB.BATCHTABLECOUNT');
tblStrIdx = lrng_getNumProperty('/DB.BATCHTABLESTARTIDX');
tblEndIdx = tblStrIdx + tblCount - 1;
tblHasMore = lrng_getPropAsBool('/DB.HASMOREDATA');
if (tblStrIdx > 0);
// do stuff
endif;
-
jasonzhou
- Posts: 130
- Joined: Wed Jan 11, 2017 3:26 pm
Post
by jasonzhou » Wed Jul 03, 2019 11:15 am
Did you do any modification for local data? The data won't be re-uploaded if there is no change and the row submit mode is "Submit when Modified"