webERP Forum
Internal Stock Request - No Control - SOLVED - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Internal Stock Request - No Control - SOLVED (/showthread.php?tid=8086)



Internal Stock Request - No Control - SOLVED - VortecCPI - 02-09-2018

While working on another related issue I noticed that the Internal Stock Request feature does not take into account controlled Stock. When issuing stock we should be presented with an interface showing what is available and how much to move.

Has anybody else noticed this and, if so, do you happen to have revised code to manage issue of controlled stock?
Can we make use of code existing in StockTransferControlled.php and includes/DefineSerialItems.php?


RE: Internal Stock Request - No Control - TimSchofield - 02-09-2018

The internal stock request system was created to satisfy demand for consumables, stationery etc. So controlled items didn't really come into it.

The other discussion is widening it's use so maybe controlled items should now come onto it.


RE: Internal Stock Request - No Control - VortecCPI - 02-09-2018

Ah... Very good point on consumables but with certain things, like weld wire for ASME VIII, controlled items must also be tracked.

Had we used webERP for our steel mill startup this would have also been a requirement.


RE: Internal Stock Request - No Control - VortecCPI - 02-10-2018

Looking at ConfirmDispatchControlled_Invoice.php and StockTransferControlled.php...

More nit-picky input but it would seem these two scrips could be better reconciled, if not even combined and shared in some way...

My plan is to use one of them as the starting point for Internal Stock Requests of controlled items but...

If they could somehow be combined and abstracted perhaps one script could serve all three...


RE: Internal Stock Request - No Control - VortecCPI - 02-10-2018

in the mean time I am going to beat and hack something into submission like so:

[attachment=723]


RE: Internal Stock Request - No Control - VortecCPI - 02-10-2018

Attached is my quick and dirty solution based upon screenshot above...


RE: Internal Stock Request - No Control - TurboPT - 02-10-2018

Changes committed to SVN.

I applied a couple of minor layout changes above yours: added CSS to center the 'Requested Date' and the 'Controlled' checkbox.


RE: Internal Stock Request - No Control - VortecCPI - 02-10-2018

What? You are THE MAN!

Thank you for tidying up my hack job!

I sure hope others can make use of this as well...


RE: Internal Stock Request - No Control - TurboPT - 02-10-2018

Me too!

I don't have any handling with lot/serial related stuff, so it'll take input from people like you, HDeriauFF, and others that do work with this kind of information to know.


RE: Internal Stock Request - No Control - VortecCPI - 02-10-2018

This need came from here: http://www.weberp.org/forum/showthread.php?tid=8079