Hi
I tried solving a problem that I had and I think I actually managed to do it.
I would like to invite some comments about the way I am doing this …
Here is the situation…
Person A raises Material request ( purchase )
Person B in buying dept raises Purchase order
Person C in Goods-receiving dept receives order items
If person C should do a stock entry for an item, he cannot select the relevant purchase oder.
( Purchase order is only visible on Stock entry under limited conditions)
So if Person C does a Stock Entry, it is not linked to the correct purchase order for a GR
(Goods received to be done)
Here is what I did.
I customised “Stock Entry Item” and added a field “purchase Order”
I also customised “Purchase Receipt Item” and added a field “stock Entry”
And here are examples of such entries when I did a transaction…
And i understand that adding fields to docs may cause problems if Frappe gets updated.
But appart from that , is this an acceptable way order is there a better way.