Notifications

43 views

Symptoms


When the procurement plugin is active, on the catalog tasks related to Requests you may use have the "Source Request" action to place orders related to the requested item model (more information on our docs page).

When clicking the UI action, the opened UI page has no model information.

 

Release


London

 

Cause


The related requested items do not have a state set.

When the "Source Request" UI action is clicked, it eventually lands up in the _getRecordObject() method of the ProcSourceRequestManager script include. There, it checks for the table (sc_req_item) and adds additional query:

if (table === "sc_req_item") { 
	gr.addEncodedQuery("stateNOT IN3,4,7"); 
}  

If the state field is empty, this method returns empty records and an empty (not broken) page is displayed.

 

Resolution


 Please check on why the requested item record created doesn't have a state value. As a validation of the root cause, manually set the state on the requested item open again the source request page.

Article Information

Last Updated:2019-05-21 11:50:31
Published:2019-01-15