cancel
Showing results for 
Search instead for 
Did you mean: 

Tax Number validation

former_member200567
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

lokesh2
Advisor
Advisor
0 Kudos

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

former_member200567
Active Contributor
0 Kudos

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

former_member200567
Active Contributor
0 Kudos

Hi Lokesh,

Anywhere we can disable standard Tax Number validation?

Best Regards,

Fred