on 2015 May 23 5:32 PM
Hi,
When loading Master Data for GL_Account we are getting Parent Nodes with Invalid Char like "/".
Ex: INT 1044000/23.
I want only 1044000. I have removed "INT ".
Not able to remove /.
I tried conversion file with:
Internal External
* js:%external%.replace("/","")
Internal External
* js:%external%.toString.replace("/","")
Also tried replacing Internal with /, */*, /*.
Nothing helped me.
Please Suggest a solution.
Request clarification before answering.
Hi,
You can test below code in Online Javascript Editor
<!DOCTYPE html>
<html>
<body>
<script>
var external = "1044000/23";
var str;
str =external.split("/").join("")
alert(str)
</script>
</body>
</html>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try js:%external%.toString().split("/").join("")
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.