Is it possible to validate Indian Defense PAN/GST number using Validation Rule?
We are validating the Normal PAN and GST number as per the GST/PAN number format provided by Government portal, Attaching PDF.
But No information available for Defense PAN/GST Format on google.
Goal : Is to able to Validate an Indian Defense Customer PAN/GST number using groovy.
For which I require a GST format to add it to our GST/PAN validation script.
We are getting following error msg for Defense Pan/GST.
For GST using validation rule, For Pan using Before Update Trigger:
GST:
if(isAttributeChanged('GSTREGISTRATIONNO_c'))
{
def gstnumber = getAttribute('GSTREGISTRATIONNO_c');
println("GST NUMBER "+gstnumber);
if(gstnumber != null)
1