× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Fwd: Negative Orders
  • From: "Rose Sandrone" <RSandron@xxxxxxxxxxxx>
  • Date: Wed, 15 Nov 2000 13:21:37 -0600

     Don't know if this will help in your situation but this is what one of our 
programmers had found and I had forwarded to the list a couple of months back.  
Hope it helps solve your problem.


We had some problems in this area that were coming from Vendor Scheduling.
First, the negative orders were existing orders that Vendor Scheduling was 
trying to change the quantity needed.

Program code that was changing the quantity to a negative was in VS203.
              PEXC45   IFEQ     '11'
              PEXC45   OREQ   '21'
              PEXC45   OREQ   '30'
                              Z-ADD  *ZERO       WRKFD1
              LQTY45   SUB      PSQT45    WRKFD1
                              ADD      WRKFD1   OQTY03
                              ADD      WRKFD1   QTOS03

 Codes '11', '21', '30',  are change order codes.

 
There were times when PSQT45 was larger than LQTY45 and QTOS03.  Thus, creating 
a negative quantity.  This is usually an order where demand has dropped, and 
possible something has been received against the order before Vendor Scheduling 
is run.

You can check this by looking at LQTY45  and PSQT45 in the file VSP45.

These fields are loaded from VSPWA in the program VS150 which in turn get 
loaded from MRP73 or MSP73 in VS102.

By the way, there is some code in the receiving program PM010 which should be 
comment out in my opinion.  This is a call to the program VS078 which deletes 
records in VSP45 incorrectly. 




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.