on 06-23-2016 10:03 AM
Hi experts,
I am getting this error for Country- PH when I fill tax number for a customer.
Entry in field Tax Number 1 is longer than 13 characters.
Where can I edit the validation with the following?
Min Length : 12
Max Length : 14
Best Regards,
Fred
Hi Fred,
There will be some validations in the backend unless those are satisfied you will not be able to enter the tax number with more than 13 characters.
here, the validation could be that for country PH, the number should not exceed 13 characters.
If this is false and tax number could be more than 13 characters, Please provide some legal document and report an incident.
No edit validations activity from UI for Min & Max Length.
Please mark the thread as answered/helpful if your query is answered.
Thanks
Lokesh Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lokesh,
Thanks.
We are using SAP Business ByDesign Localization Toolkit - Create Tax Number Validation for Non-Localized Countries in SAP Cloud Applications Studio .
if(taxNumber.Length() < 12) {
outPutItem.NodeID = item.NodeID;
outPutItem.MessageText.content = "Invalid TIN. Minimum Length is 12.";
outPutItem.MessageSeverityText = "E";
outPutItems.Add(outPutItem);
}else if(taxNumber.Length() > 14) {
outPutItem.NodeID = item.NodeID;
outPutItem.MessageText.content = "Invalid TIN. Maximum Length is 14.";
outPutItem.MessageSeverityText = "E";
outPutItems.Add(outPutItem);
}
1. When the length is less than 12, it shows our error message "Invalid TIN. Minimum Length is 12."
2. When the length is 12 or 13 , it shows no error.
3. When the length is 14 or greater than 14, it shows system message which is not our message.
Entry in field Tax Number 1 is longer than 13 characters.
Best Regards,
Fred
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.