Skip to main content
Question

This customer order line is not valid for use on this RMA line.

  • December 27, 2024
  • 3 replies
  • 26 views

Forum|alt.badge.img+7

Receiving the error “This customer order line is not valid for use on this RMA line.” when adding customer order line into an RMA. 

 

Original customer order is Invoiced/Closed and not used on any other RMA. 

 

Tried with both Customer order and Shipment ID options but the result is same. 

 

 

Any idea why this is happening? 

Note : This is order specific error. 

3 replies

Forum|alt.badge.img+16
  • Superhero (Employee)
  • 313 replies
  • December 27, 2024

Hi ​@Kavindu911 ,

Please, check if currency in customer order line is the same one that the currency in RMA.

Another option: Have you checked if the Credit Customer No and Credit Address Id shown in RMA/Misc Info is the same one you have in your customer order for Invoicing Customer and Address Id?

Regards,

Pilar


Forum|alt.badge.img+16
  • Superhero (Employee)
  • 313 replies
  • December 27, 2024

Error is shown if any of the following conditions are not met:

IF NOT ((ordrow_rec_.contract = newrec_.contract) AND
                 (ordrow_rec_.catalog_no = newrec_.catalog_no) AND
                 (ordrec_.customer_no = rma_rec_.customer_no) AND
                 (ordrec_.currency_code = rma_rec_.currency_code) AND
                 (ordrow_state_ IN ('Delivered', 'PartiallyDelivered', 'Invoiced'))) THEN
            Error_SYS.Record_General(lu_name_, 'ORDLINENOTVALID: This customer order line is not valid for use on this RMA line.');
         END IF;

Being:

ordrow, ordrec, the values fetched from customer order line or customer order header

rma_rec, newrec: the values fetched from rma header or new line intended to be saved.


Forum|alt.badge.img+28
  • Superhero (Customer)
  • 1482 replies
  • December 29, 2024

Start the RMA from the customer order line so that it pulls in all of the correct information rather than trying to create the RMA and then connect to the order.  You will continue to get that error which will prevent saving until every value mentioned by ​@Pilar Franco is satisfied.

 

It is just easier to start from the customer order line and then there are no concerns with missing a field of information.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings