Avatar

Copy data detail show to index show.

NDC ELOG

i did customize my code to total money each of the month(details show). so i want to copy this value (9 month) paste in index show on this records.

below picture:

9月: 300000

Follow 2 followers
0

6 comments

Avatar
NDC ELOG 0 votes

thanks all, and have a nice day.

i need to copy the value of  9month(detail show)   move to index show( number rows(6), and another rows copy and move value same!

0
Comment actions Permalink
Avatar
William Sayama 1 vote

Hi NDC

Please could you share the code you are using now, and the community can help you based on that.

1
Comment actions Permalink
Avatar
NDC ELOG 1 vote

hi William Sayama,

tks your quickly support,

(function () {
"use strict";

//In index page
kintone.events.on('app.record.index.show', function (event) {
vargetData9MonthIndex = kintone.app.getFieldElements('m9_total');

// Automatic run detail page and get value of 9month add to 9month of index show
kintone.events.on('app.record.detail.show', function (event) {
varpostData9MonthDetail = kintone.app.getFieldElements('m9_total').value;
getData9MonthIndex.textContent = postData9MonthDetail;
});

});
})();
1
Comment actions Permalink
Avatar
William Sayama 1 vote

Hi NDC, would you mind sharing with the community on how you solved it? Thanks!

1
Comment actions Permalink
Avatar
NDC ELOG 0 votes

Hi William Sayama,

Because i can not do it, so i am remove this function. and do it another way.

 

0
Comment actions Permalink