02-09-2018, 12:21 AM,
(This post was last modified: 02-13-2018, 05:13 AM by VortecCPI .)
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
Internal Stock Request - No Control - SOLVED
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?
https://www.linkedin.com/in/eclipsepaulbecker
02-09-2018, 01:22 AM,
(This post was last modified: 02-09-2018, 01:24 AM by VortecCPI .)
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
RE: Internal Stock Request - No Control
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.
https://www.linkedin.com/in/eclipsepaulbecker
02-10-2018, 12:25 AM,
(This post was last modified: 02-10-2018, 12:48 AM by VortecCPI .)
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
RE: Internal Stock Request - No Control
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...
https://www.linkedin.com/in/eclipsepaulbecker
02-10-2018, 02:00 AM,
(This post was last modified: 02-10-2018, 02:02 AM by VortecCPI .)
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
RE: Internal Stock Request - No Control
in the mean time I am going to beat and hack something into submission like so:
https://www.linkedin.com/in/eclipsepaulbecker
02-10-2018, 04:21 AM,
(This post was last modified: 02-10-2018, 05:25 AM by VortecCPI .)
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
RE: Internal Stock Request - No Control
Attached is my quick and dirty solution based upon screenshot above...
Attached Files
InternalStockRequestFulfill.php (Size: 16.41 KB / Downloads: 1)
https://www.linkedin.com/in/eclipsepaulbecker
02-10-2018, 10:26 AM,
VortecCPI
Paul Becker
Posts: 751
Threads: 211
Joined: Apr 2017
RE: Internal Stock Request - No Control
What? You are THE MAN!
Thank you for tidying up my hack job!
I sure hope others can make use of this as well...
https://www.linkedin.com/in/eclipsepaulbecker