You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to validate Indian Defense PAN/GST number using Validation Rule?

edited Aug 9, 2023 6:59AM in Fusion Service 1 comment

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!