amarpreet
11th December 2002, 07:45
We are on BIVc4.

I am trying to block shipments to customer when the customer is having unpaid overdue invoices.

Parameter "Block if invoices are overdue " is set to YES in maintain SLS parameters.

Sytem works fine for the orders thise are created after customer is having unpaid invoices. Sales order is blocked at the time of creation of sales orders & nothing can be invoiced in the sales order.

But the problem is that system allows to process orders which are created before the date on which customer is having unpaid overdue invoices. System doesn't have any control on these orders & these can be processed without any blocking.

In the maintain order type the parameter "block as of step" is maintain deliveries.

MariaC
11th December 2002, 10:50
Were these orders already in the system before the blocking was set up? If so Baan only does the credit checking at time of order entry so these orders would not be blocked. Maybe what you can do is try and block these manually.

amarpreet
11th December 2002, 11:40
These orders are created after the blocking was set up.

robertvg
12th December 2002, 12:57
The blocking check takes place when new order(lines) are created or changed. So any order that is already beyond the step that you have set as 'Block as of step' will process normally.
Also, any order that is never touched by anyone after the customer's status has changed (there are overdue invoices) will never check the blocking conditions and thus will not be blocked.
Now, you don't want to go in every order and make fake changes every day do you ?

There are two problems in the standard BaaN logic i.m.h.o.:
1) Actually I believe the logic in the BaaN sessions is incorrect, as the blocking logic in the sessions is actually "block as *on* step", whereas I believe it to be desirable that it should be "block as *from* step"; the orderprocess should be halted as on the specified step and all further ordersteps.
Or else at least the description and explanation of the field should be more clear.
2) Besides the order status (blocked/not blocked) the sessions in the order procedure should check the current customer status: are there overdue invoices, is the credit limit exceeded ?

There is no other solution to your problem then to customize the 'maintain deliveries' session to do the check as in 2). Or have accounting department send a signal to sales and block the orders manually.

Robert