Implement code to Generate CreditAppId

Implement code to Generate CreditAppId