Why is Parent stockroom reference field always empty while creating a new stock rule?

Mayank Das3
Tera Contributor

Hello all!

 

I have been trying to create a new stock rule (alm_stock_rule) for testing purpose in my PDI but the Parent stockroom is always empty!

 

MayankDas3_0-1703646855471.png

 

Can someone please tell me why? There is no Parent stockroom field on the 'alm_stockroom' table as well.

 

Has it got something to do with the 'Procurement plugin'?

 

Any help on this topic is highly appreciated!

 

Thanks

1 ACCEPTED SOLUTION

Sainath N
Mega Sage
Mega Sage

@Mayank Das3 : Parent stock rooms show the entries of the stockrooms if any entry of the model that you are trying to create exists in StockRoom Models [alm_m2m_stockroom_model]. In short, based on the model that you are going to create, the stock rule for exists mapping in StockRoom Models [alm_m2m_stockroom_model] shows up as parent stockrooms. Also, it can be considered as it only shows the stockroom that has similar models in it. Below are screenshots of the reference qualifier around the field.

 

Try to create some entries in the table and check the behavior.

 

sainathnekkanti_0-1703647945304.pngsainathnekkanti_1-1703647963079.png

 

sainathnekkanti_2-1703647997726.png

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

View solution in original post

2 REPLIES 2

Sainath N
Mega Sage
Mega Sage

@Mayank Das3 : Parent stock rooms show the entries of the stockrooms if any entry of the model that you are trying to create exists in StockRoom Models [alm_m2m_stockroom_model]. In short, based on the model that you are going to create, the stock rule for exists mapping in StockRoom Models [alm_m2m_stockroom_model] shows up as parent stockrooms. Also, it can be considered as it only shows the stockroom that has similar models in it. Below are screenshots of the reference qualifier around the field.

 

Try to create some entries in the table and check the behavior.

 

sainathnekkanti_0-1703647945304.pngsainathnekkanti_1-1703647963079.png

 

sainathnekkanti_2-1703647997726.png

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Mayank Das3
Tera Contributor

Thank you so much for the clarification! I can now understand this concept!