Error message "The G/L account attached to gift certificate credit card should be sale type"

Error message "The G/L account attached to gift certificate credit card should be sale type"

Version: 

Not any specific version

Issue:

 Error message as below when mapping the Gift Certificate:

Solution:

 Open the Chart Of Account and click on the same account which is mapped with the Gift Certificate and check if this is a Sales Type account?
If not then please map the account with the Gift certificate which is a Sales type account.