Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal Stock Request - No Control - SOLVED
02-09-2018, 12:21 AM (This post was last modified: 02-13-2018 05:13 AM by VortecCPI.)
Post: #1
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-09-2018, 01:09 AM
Post: #2
RE: Internal Stock Request - No Control
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-09-2018, 01:22 AM (This post was last modified: 02-09-2018 01:24 AM by VortecCPI.)
Post: #3
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2018, 12:25 AM (This post was last modified: 02-10-2018 12:48 AM by VortecCPI.)
Post: #4
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2018, 02:00 AM (This post was last modified: 02-10-2018 02:02 AM by VortecCPI.)
Post: #5
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2018, 04:21 AM (This post was last modified: 02-10-2018 05:25 AM by VortecCPI.)
Post: #6
RE: Internal Stock Request - No Control
Attached is my quick and dirty solution based upon screenshot above...


Attached File(s)
.php  InternalStockRequestFulfill.php (Size: 16.41 KB / Downloads: 1)

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2018, 10:08 AM (This post was last modified: 02-10-2018 10:09 AM by TurboPT.)
Post: #7
RE: Internal Stock Request - No Control
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.
Find all posts by this user
Quote this message in a reply
02-10-2018, 10:26 AM
Post: #8
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-10-2018, 10:58 AM
Post: #9
RE: Internal Stock Request - No Control
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.
Find all posts by this user
Quote this message in a reply
02-10-2018, 10:38 PM (This post was last modified: 02-10-2018 10:38 PM by VortecCPI.)
Post: #10
RE: Internal Stock Request - No Control
This need came from here: http://www.weberp.org/forum/showthread.php?tid=8079

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)