Overriding Credit limits and Blocked customers for data load

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…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s