Functionality of OE_EXTERNAL_CREDIT_PUB.CHECK_EXTERNAL_CREDIT
Dear Experts
I have a requirement in OM that if a user try to book an order for customer whose credit limit has been exceeded then order should not be booked. To get this functionality I am using OE_EXTERNAL_CREDIT_PUB.CHECK_EXTERNAL_CREDIT API but it is not serving as I have expected. API is giving status as PASS even credit limit has been crossed. For example look at below case:
1. I entered an order for a customer with credit limit 100,000 When I tried to book order exceeding credit limit it gave an error. It was fine and expected. Then I reduced order value to 40,000 and booked order. This case is OK.