what is the use of entitlement check box under attendance type. If I am not selected these option, how its going to affect the attendance system and salary processing
The leave type will allow to enter leave credits if that box is marked. You can enter the credits/entitlements at Leave > Entitlement. Are you using the leave balance variable in salary formula editor? Leave credit has to entered if you are using it.