Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Purpose of registration code and Account Code fields in customer_account(Accounts) table

G Balaji
Kilo Guru

Hi,

 

What is the purpose of the following OOB fields in Accounts(customer_account) table in Customer Service(sn_customerservice) module?

1. Registration Code 

2. Account Code

We're importing account information from third-party sources. In this case, which would be appropriate field to map Customer ID?

Folks here, please share the way you've utilized above fields and use-cases.

Thanks.

3 REPLIES 3

Pratiksha Kalam
Kilo Sage

Hi ,

Purpose of registration code:

A unique code for this account. The customer administrator can provide this code to customers for use when requesting a login on the customer portal. The registration code provides a method for validating the customer and the company before the login request is granted.

Enter an alphanumeric code in this field or click the Generate Code icon to generate a unique code.

 

Account Code fields in customer_account(Accounts) table:

The com.snc.cs_base.last.generated.code.tree.path system property stores the Account Code value for the most recently created customer account in the Account (customer_account) table.

When you create a new customer account record, the system uses this property to determine a unique account code value for the account. The property is then updated with this latest assigned value so that the next account code value can be set as a unique value for the next account record insert.

 

If my answer is help you please mark it as helpful and correct.

 

Regards,

Pratiksha

G Balaji
Kilo Guru

Thanks Pratiksha for the response.

I'd wish to listen to the use-cases around this fields. Could you please share how you used these fields in real-time scenarios.

 

Sunil Porwal
Kilo Contributor

Hello,

 

Please share the details about the below question.

 

I'd wish to listen to the use-cases around this fields. Could you please share how you used these fields in real-time scenarios.