When importing starting balances for customers, it is often the case the credit limits might been exceeded, or customer accounts are blocked. Regardless as this is importing starting balances we need to override standard functionality to allow them to post, and we don’t want to have to edit each account that is effected manually.
We can modify the system code to allow these features to be bypassed.
Customer Blocked: The code used to check this is located on the table CustTable under the method checkAccountBlocked. Simply edit the code to return true.
Customer Credit Limits: The code used to check this is located on the class CustCreditLimit under the method check. Simply edit the code to return true.
REMEMBER to remove the changes once the journal is posted…