Question

Client_SYS.Add_Info message not alerted for Purchase Requisition MOQ

  • 29 April 2024
  • 0 replies
  • 30 views

Userlevel 1
Badge +2

Hi team,

 

The Supplier For Purchase Part screen contains a field named 'Min Order Qty', which according to the system help should trigger a warning/alert if a Purchase Requisition or Purchase Orders is raised for a lesser quantity. 

When adding a part requisition line in Purchase Requisition, PURCHASE_REQ_LINE_PART_API.NEW__ method is called.
Inside this method it calls Check_Insert___ method and that method checks below condition.

IF (newrec_.original_qty < part_supp_rec_.minimum_qty) THEN
p3_ := part_supp_rec_.minimum_qty||' '||newrec_.buy_unit_meas;
Client_SYS.Add_Info(lu_name_, 'LESSMIN: The minimum quantity when ordering Part No :P1 from Supplier :P2 is :P3.', newrec_.part_no, newrec_.vendor_no, p3_);
END IF;

This info message is alerted when the quantity is less than the MOQ in dev envs.

Test behavior:

When testing the same in the Test env I have noticed that this info message is not alerted. The code flow is same compared to dev and other messages like Client_sys.system_general is alerted expect Client_SYS.Add_Info. 

 

What can be the possible cause for this kind of issue?


0 replies

Be the first to reply!

Reply