The mi_jvx_pck_custom.get_mrr_recv_qty function is used to get the item received quantity while integrating MRRs from Jovix to Smart Materials. This function decides whether the received quantity must be based on Jovix packingList quantity, Jovix received quantity, Smart Materials expected quantity, or Jovix Status.
Default Logic
-
If the input parameter of a Receipt item, Jovix Status, is set to Damaged then, its receive quantity is set to zero. Hence, this item is not integrated.
-
For MRR by PO and MRR by RN, by default, minimum of Jovix packingList quantity or Jovix received quantity is set as the received quantity.
-
For Direct MRRs, Jovix received quantity is set as received quantity.
Items with quantity 0 (zero) are not integrated.
Parameter name |
Parameter type |
Description |
p_jvx_packinglist_qty |
Input |
Jovix packing list quantity of the Receipt item. |
p_jvx_recv_qty |
Input |
Jovix received quantity of the Receipt item. |
p_jvx_status |
Input |
Status of the Receipt item in Jovix. |
p_smat_ecpected_qty |
Input |
Expected quantity of the Receipt item in Smart Materials. |