Getting error while passing True/False value to netsuite

Hen we try to pass true or false to the backend using the SCA extension we must beware of the format. This means if we try to add code like this, we got an error

                if (pharmacyInclude || nonPharmacyInclude) {
                    options.custbody_vaccine_grouping = true;
                }

so we need to pass “T”,”F” values for the backend communication

                if (pharmacyInclude || nonPharmacyInclude) {
                    options.custbody_vaccine_grouping = "T";
                }

Leave a comment

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