- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 04:52 AM
HI Team,
I can see below function in one of the script include used in our environment.
processOrder: function(order, lineitem) {
this._log('SF SI Order: ', JSON.stringify(order));
this._log('SF Order Line Item Payload: ', JSON.stringify(lineitem));
Can you tell what is meant by this._log ?
BR,
Ankur
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 05:04 AM
Hi,
This would be a function in the same script and its a private function, so cannot be called from out of this script.
Check Berny's response here
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 05:03 AM
There must be a method defined in that script include with that name. All the methods that starts with _ are private methods which can be called from inside the script include only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 05:04 AM
Hi,
This would be a function in the same script and its a private function, so cannot be called from out of this script.
Check Berny's response here
-Anurag