Recently we found a big problem in our process. One of the customers has a past due of 1 million, but we still ship the orders to them. Is there any way to put a trigger in the sales order form or post invoice form. When the customer has passed the credit limit, the system will give us a warning message saying the customer has passed a credit limit. In our current system, we can't don any coding in the form as we don't have the right. Only we can do is doing something in the report. Can anybody give me a good suggestions?
0
Comments
A good place is report 204 and 206 - order confirmation and sales shipment.
However, it is not perfect. It still possible to take the order ship it, just not print it.
Why can't you just make a blacklist for salespeople and make their responlisibility to not take orders?
Do It Yourself is they key. Standard code might work - your code surely works.
1)No Warnings
2)Credit Limit Warning
3)Overdue Balance Warning
4)Both Warnings
This is exactly what you need.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Do It Yourself is they key. Standard code might work - your code surely works.
We also run a nigthly routine the resets any prior days, credit limit increases back to a set limit, and blocks any customers that have a invoice more then 30 days past due.
To reset credit limit you need to have a new field on the customer card, in our database we labeled it "Set Credit Limit"
We also added a few fields to the customer table so we could have some customers that are never blocked, and others that are never unblocked by the routine. Our collection person sets these fields depending on her current collection effors.
Here is the cal code in the report, kind of crude, but it works, this runs each night automatically.
Window.OPEN('Processing Customer #1#############');
// Set datefilter to be today - 30 days
// and then have system calculate Balance due with the datefilter
dt := WORKDATE -30;
Customer.SETFILTER("Date Filter", '..%1', dt);
Customer - OnAfterGetRecord()
Window.UPDATE(1,"No.");
ResetLimitTo := "Set Credit Limit";
VALIDATE("Credit Limit (LCY)",ResetLimitTo);
Blocked := 0;
IF "Do Not UnBlock"
THEN
Blocked := 3 // 0-not blocked 1-SHIP 2-INVOICE 3-ALL
ELSE;
IF "Do Not Block"
THEN
Blocked := 0
ELSE
IF "Balance Due" > 0
THEN Blocked := 0
ELSE ;
MODIFY;
MODIFY;
"Set Credit Limit" := "Credit Limit";
Modify;
Run this report once and all customer will have the field filled in.
The "do not block" or "do not unblock", is set on a customer specific basis over time, no need to do a mass edit or anything. You may not even want these fields, we use them because we have some customers that we do not want to block period, they may have a dispute on an invoice. so it may be past due, be we do not want to hold up further sales for this. We also find the block routine, helps to trigger collection calls, it is very handy to call a customer and say your service guy is at our parts counter, but we can't release the order until I can get a promiss to pay the past invoice on your account. We usally have a check number from the customer before we hang up the phone.
The answer for making customer pay over limit amount has already been stated, you need to set up the "credit warning" option in Sales and Receivable setup. Then instruct your users to require cod payment for amount above it. There is no realistic way to change an invoice to be partial on account and partial cod, that I can think off. But I imagine you could come up with some elaborate code to split a sales order into multiple invoices. But that is beyond my Friday morning thinking.
When entering an order - the second the amount get's over there credit limit I get a pop window that shows
"the customers credit limit has been exceeded. Do you still want to record the amount?
Customer No...1234
Customer Name: Test Name
Balance: $800.00
Current Amount: 201.00
Total Amount: 1001.00
Credit Limit: 1000.00
etc.etc
Isn't this what you are asking for? I think most people turn off this feature because if I say "YES" to keep going with the order. the pop-up appears on every item I try to add after that.
http://www.BiloBeauty.com
http://www.autismspeaks.org
You would need to change the posting routine to preform the credit limit check, or maybe you could put a trigger on the sales order so when it is open the credit check is ran, so your account department would know it when they opened it.
or add "YOU BETTER TELL SOMEONE" on the Credit Limit warning message
http://www.BiloBeauty.com
http://www.autismspeaks.org