- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021 03:01 AM
Hi,
I am loading data using a transform map ,I unchecked the "run business rule " on transform map . The thing is the numbering of field in the table is set in a business rule every time a new record is inserted with this function global.getNextObjNumberPadded() .
Now since I unchecked the run business rule field that number field is populating as empty.
I tried the same function in that field source script of that field in transform map but that fucntion global.getNextObjNumberPadded() is not working and creating record with empty number field.
I like to know how this can be done.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021 04:40 AM
Hi, have you tried using the full API name in your transform script?
answer = (function transformEntry(source) {
return new global.NumberManager().getNextObjNumberPadded();
})(source);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021 04:40 AM
Hi, have you tried using the full API name in your transform script?
answer = (function transformEntry(source) {
return new global.NumberManager().getNextObjNumberPadded();
})(source);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021 09:09 AM
Thank You !
It is working for me ,i used like this
new global.NumberManager('Table name').getNextObjNumberPadded();;