Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-ulike domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-optimize domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121
How to transfer javascript values to suitescript file – knowledgebase JJ
Warning: Attempt to read property "ID" on null in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/link-template.php on line 409

How to transfer javascript values to suitescript file

var myJSON = JSON.stringify(values);
//console.log(“myJSON”,myJSON)
var service_url = Utils.getAbsoluteUrl(getExtensionAssetsPath(“services/custom.Service.ss”));
//console.log(“service_url”,service_url)

                                        if(!RESALEFILE.name){
                                            jQuery.get(service_url, {
                                                    myJSON: myJSON,
                                                    sender: this.sender,
                                                    recipient: this.recipient,

iam trying to resolve this issue by using this code..by adding this code in to view but i get more errors..not getting expected answers…

2 comments

  1. For passing values from javascript to suitescript filess, we need to use service calls
    For getting values from service controllert, “get” method is used.
    For sending values to service controllert, “post ” method is used.

    What is the error occuring, when using this code?
    Are the variables used here defined?

Leave a Reply to Vishnu KS Cancel reply

Your email address will not be published. Required fields are marked *