Date of Correction
Total Page:16
File Type:pdf, Size:1020Kb
POWER PLUS PATCH
Date of Correction: 3/13/03 Module: AP
Markid: P6.22 Program Nbr: 001
Description:
IC-MAN-DATE not being properly updated, which causes patch P6.21 to not work.
Solution:
683020 MOVE TODAYS-DATE TO 730-INPUT-DATE-USER 683040 PERFORM 730-CONVERT-DATE-TO-YMD 683060 THRU 730-CONVERT-DATE-TO-YMD-EXIT 683100 MOVE 730-OUTPUT-DATE-YMD TO IC-MAN-DATE.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/27/03 Module: AP
Markid: P6.21 Program Nbr: 001
Description:
Allow for reverse date option when inquiring by purchasing vendor on AI01.
Note: Requires database reorg.
Solution:
SRC1/SYS/PLUSDB 014490 AH-PURCH-SET2 SET OF AH-DATA 014500 KEY (AH-COMPANY-ID, 014510 AH-VENDOR-NBR, 014550 INDEX SEQUENTIAL, 014560 DUPLICATES, 014570 LOADFACTOR = 50;
030750 AP-PURCH-SET2 SET OF AP-DATA 030760 KEY (AP-COMPANY-ID, 030770 AP-VENDOR-NBR, 030810 INDEX SEQUENTIAL, 030820 DUPLICATES, 030830 LOADFACTOR = 50; 030840
LIBPS/TCLAP 401260 "Reverse Date Option? ",A1,UL,US,A1,RSCR, 401265
SRC1/AP/001 192200 10 FILLER PIC X(534).
835150 IF ( 16-DATE-OPTION NOT = "Y" ) 835170 OR ( 0-PURCH-FLAG-77 = 0-TRUE-77 )
837900 FIND AP-PURCH-SET2 OF AP-DATA
838020 AND AP-DATE-INVOICE = 16-INVOICE-DATE
840120 FIND AH-PURCH-SET2 OF AH-DATA 840145 AND AH-DATE-INVOICE = 16-INVOICE-DATE
842221 MOVE AI02-VENDOR-NBR-I TO 990-REMIT-VENDOR-KEY-77. 842222 IF 0-PURCH-FLAG-77 = 0-TRUE-77 842223 MOVE 99999999 TO 990-DATE-KEY-77 842224 ELSE 842225 MOVE ZEROS TO 990-DATE-KEY-77.
Patch1stqtr03 POWER PLUS PATCH
AP/001 P6.21 CONTINUED (page 2 of 2)
842248 FIND AH-PURCH-SET2 OF AH-DATA
842278 FIND NEXT AH-PURCH-SET2 OF AH-DATA
866932 FIND NEXT AH-PURCH-SET OF AH-DATA
915510 FIND AP-PURCH-SET2 OF AP-DATA 915535 AND AP-DOCUMENT-NBR = 990-DOCUMENT-NBR-KEY-77
919610 FIND AH-PURCH-SET2 OF AH-DATA 919625 AND AH-DATE-INVOICE = 99999999 919630 AND AH-INVOICE-NBR = 990-AP-INVOICE-NBR-KEY-77 919635 AND AH-DOCUMENT-NBR = 990-DOCUMENT-NBR-KEY-77
922921 FIND NEXT AP-PURCH-SET2 OF AP-DATA
922961 FIND NEXT AH-PURCH-SET2 OF AH-DATA
946320 FIND NEXT AP-PURCH-SET2 OF AP-DATA
951220 FIND NEXT AH-PURCH-SET2 OF AH-DATA
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/26/03 Module: AP
Markid: P6.21 Program Nbr: 101
Description:
Show purchase vendor name on AP/101 report.
Solution:
420702 IF 0-AE80-PURCH-VENDOR-A-WS NOT = SPACES AND ZEROES 420703 FIND VM-SET OF VM-DATA 420704 AT VM-COMPANY-ID = BB-COMPANY-ID 420706 AND VM-NUMBER = 0-AE80-PURCH-VENDOR-WS 420708 ON EXCEPTION 420710 MOVE "*** VENDOR NOT IN MASTER ***" TO VM-NAME. 420712 IF 0-AE80-PURCH-VENDOR-A-WS = SPACES OR ZEROES 420714 FIND VM-SET OF VM-DATA 420716 AT VM-COMPANY-ID = BB-COMPANY-ID 420718 AND VM-NUMBER = 0-AE80-VENDOR-NBR-WS 420720 ON EXCEPTION 420725 MOVE "*** VENDOR NOT IN MASTER ***" TO VM-NAME.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/21/03 Module: AP
Markid: P6.21 Program Nbr: 150
Description:
A/P invoice maintenance report enhanced to allow you to run the report for a date range.
Solution:
156100 VALUE OF DEPENDENTSPECS IS TRUE 163000 05 FILLER PIC X. 163100 05 PAR-START-DATE PIC 9(6). 163200 05 FILLER PIC X. 163300 05 PAR-END-DATE PIC 9(6).
173100 77 0-START-DATE PIC 9(8) COMP. 173200 77 0-END-DATE PIC 9(8) COMP.
463050 MOVE PAR-START-DATE TO 730-INPUT-DATE-USER 463100 PERFORM 730-CONVERT-DATE-TO-YMD 463150 THRU 730-CONVERT-DATE-TO-YMD-EXIT 463200 IF 730-INVALID-DATE 463250 DISPLAY "INVALID START DATE " PAR-START-DATE 463300 ". FIX & RERUN" 463350 STOP RUN 463400 ELSE 463450 MOVE 730-OUTPUT-DATE-YMD TO 0-START-DATE. 463500 MOVE PAR-END-DATE TO 730-INPUT-DATE-USER 463550 PERFORM 730-CONVERT-DATE-TO-YMD 463600 THRU 730-CONVERT-DATE-TO-YMD-EXIT 463650 IF 730-INVALID-DATE 463700 DISPLAY "INVALID END DATE " PAR-END-DATE 463750 ". FIX & RERUN" 463800 STOP RUN 463850 ELSE 463900 MOVE 730-OUTPUT-DATE-YMD TO 0-END-DATE. 463950 DISPLAY "RUNNING FOR DATE RANGE " 0-START-DATE 463970 "-" 0-END-DATE. 463990
514100 IF ( IC-MAN-DATE < 0-START-DATE ) 514200 OR ( IC-MAN-DATE > 0-END-DATE ) 514300 GO TO 10-PROCESS-RECORDS-EXIT. 514400
WFL/AP/LIST/MAINTENANCE
00136000? %COL 01-02 COMPANY ID 00136100 %COL 04-09 STARTING DATE 00136200 %COL 11-16 ENDING DATE
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/17/03 Module: AR
Markid: P6.21 Program Nbr: 015
Description:
Option added to automatically reverse check based upon info in cash receipts journal. Eliminates need to enter invoice numbers and removes the limitation of reversing a maximum of 8 invoices.
Solution:
LIBPS/SCREENS15 118620 10 AR05-AUTO-REVERSE-DELIM-O PIC X. 118640 10 AR05-AUTO-REVERSE-ERROR-O. 118660 15 AR05-AUTO-REVERSE-O PIC 9. 119900 10 FILLER PIC X(1490).
LIBPS/TCLAR 746900 A1,UL,US,A6,RS, 746920 " or",CR, 746940 UL,"Automatically reinstate all invoices paid? ", 746960 A1,US,T(YNOUT,A3,1),RS,UL,CR, 747000 BR," To manually reinstate invoices that still exist, ", 747100 "enter invoice numbers",CR,BR, 747550 " Invoice Date",
748100 X57,"NEXT FORMAT ",@162,US,A5,RS,PARK,FORMS).
748500 4I6,T(YDNIN,A3,1),8(A2,I6,I7,2I1,I7,2I1,I5,I6),A5).
SRC1/AR/015 108020 01 PY-DATA INVOKE PY-DATA.
121050 05 1162-END-OF-PY-FLAG PIC 9 COMP VALUE 0. 121100 05 1164-END-OF-LI-FLAG PIC 9 COMP VALUE 0.
144120 10 AR05-AUTO-REVERSE-ERROR-I. 144140 15 AR05-AUTO-REVERSE-I PIC 9. 145700 10 FILLER PIC X(219).
204665 MOVE "INSUFFICIENT DATA IN CASH RCPTS JRNL" 204670 TO 703-ERROR-MSG-TABLE-LIT (19).
645310 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 645320 AND (AR05-INVOICE-NBR-I (0-ONE-77) > ZERO 645330 OR AR05-INVOICE-NBR-I (0-TWO-77) > ZERO) 645340 MOVE 0-TRUE-77 TO 703-ERR-MSG-93-INVALID-INPUT 645350 MOVE 0-ERR-HILITE-CHAR TO AR05-AUTO-REVERSE-DELIM-O 645360 MOVE 0-TRUE-77 TO 1-EDIT-ERROR-FLAG-77. 645370 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 645375 AND AR05-NEW-INVOICE-FLAG-I = 0-TRUE-77 645380 MOVE 0-TRUE-77 TO 703-ERR-MSG-93-INVALID-INPUT 645385 MOVE 0-ERR-HILITE-CHAR TO AR05-AUTO-REVERSE-DELIM-O Patch1stqtr03 POWER PLUS PATCH
AR/015 P6.21 CONTINUED (page 2 of 4)
645390 AR05-NEW-INVOICE-FLAG-DELIM-O 645395 MOVE 0-TRUE-77 TO 1-EDIT-ERROR-FLAG-77.
647450 AND AR05-AUTO-REVERSE-I = 0-FALSE-77
651720 IF AR05-AUTO-REVERSE-I NOT = 0-TRUE-77 AND 0-FALSE-77 651740 MOVE 0-TRUE-77 TO 703-ERR-MSG-93-INVALID-INPUT 651760 MOVE 0-ERR-HILITE-CHAR TO AR05-AUTO-REVERSE-DELIM-O 651780 MOVE 0-TRUE-77 TO 1-EDIT-ERROR-FLAG-77.
675460 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 675465 IF 990-DMERROR-88 675470 MOVE 0-TRUE-77 TO 703-ERR-MSG-93-INVALID-INPUT 675475 1-EDIT-ERROR-FLAG-77 675480 MOVE 0-ERR-HILITE-CHAR TO AR05-PAY-NBR-DELIM-O 675485 AR05-AUTO-REVERSE-DELIM-O 675490 GO TO 1162-AR05-EXTENDED-EDITS-EXIT. 675500 675510 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 675520 FIND FIRST PY-SET 675530 AT PY-BATCH-NBR = PR-BATCH-NBR 675540 AND PY-CUST-NBR = PR-CUST-NBR 675550 ON EXCEPTION 675560 MOVE 0-TRUE-77 TO 703-ERR-MSG-19-FRGT-CHRG 675570 1-EDIT-ERROR-FLAG-77 675580 MOVE 0-ERR-HILITE-CHAR TO AR05-PAY-NBR-DELIM-O 675590 AR05-AUTO-REVERSE-DELIM-O 675600 GO TO 1162-AR05-EXTENDED-EDITS-EXIT. 675605 675610 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 675615 IF ( PY-CHECK-NBR NOT = PR-PAYMENT-NBR ) 675620 OR PY-PAYMENT-VOIDED = 0-TRUE-77 675625 MOVE 0-FALSE-77 TO 1162-END-OF-PY-FLAG 675630 PERFORM 1162-NEXT-PY THRU 1162-NEXT-PY-EXIT 675635 UNTIL 1162-END-OF-PY-FLAG = 0-TRUE-77 675640 IF PY-CHECK-NBR NOT = PR-PAYMENT-NBR 675645 MOVE 0-TRUE-77 TO 703-ERR-MSG-19-FRGT-CHRG 675650 1-EDIT-ERROR-FLAG-77 675655 MOVE 0-ERR-HILITE-CHAR TO AR05-PAY-NBR-DELIM-O 675660 AR05-AUTO-REVERSE-DELIM-O 675665 GO TO 1162-AR05-EXTENDED-EDITS-EXIT 675670 ELSE 675675 FIND FIRST LI-DATA OF PY-DATA 675680 ON EXCEPTION 675685 MOVE 0-TRUE-77 TO 703-ERR-MSG-19-FRGT-CHRG 675690 1-EDIT-ERROR-FLAG-77 675695 MOVE 0-ERR-HILITE-CHAR TO AR05-PAY-NBR-DELIM-O 675700 AR05-AUTO-REVERSE-DELIM-O 675710 GO TO 1162-AR05-EXTENDED-EDITS-EXIT. 675750
Patch1stqtr03 POWER PLUS PATCH
AR/015 P6.21 CONTINUED (page 3 of 4)
676310 1162-NEXT-PY. 676320 FIND NEXT PY-SET 676325 AT PY-BATCH-NBR = PR-BATCH-NBR 676330 AND PY-CUST-NBR = PR-CUST-NBR 676335 ON EXCEPTION 676340 MOVE 0-TRUE-77 TO 1162-END-OF-PY-FLAG. 676350 IF PY-CHECK-NBR = PR-PAYMENT-NBR 676355 AND PY-PAYMENT-VOIDED = 0-FALSE-77 676360 MOVE 0-TRUE-77 TO 1162-END-OF-PY-FLAG. 676370 1162-NEXT-PY-EXIT. 676380 EXIT.
701320 MOVE AR05-AUTO-REVERSE-ERROR-I TO 701330 AR05-AUTO-REVERSE-ERROR-O.
706720 IF AR05-AUTO-REVERSE-I = 0-TRUE-77 706740 PERFORM 1164-AUTO-REVERSE 706760 THRU 1164-AUTO-REVERSE-EXIT 706780 ELSE
715020 PERFORM 702-FATAL-ERROR THRU 702-FATAL-ERROR-EXIT. 715040 1164-GET-AR05-RECORDS-EXIT. 715060 EXIT. 715100 715110 1164-AUTO-REVERSE. 715120 MOVE 0-FALSE-77 TO 1164-END-OF-LI-FLAG. 715130 FIND FIRST LI-DATA OF PY-DATA 715140 ON EXCEPTION 715150 MOVE 715130 TO 11-PARAGRAPH-NAME-PRT 715160 MOVE 11-FATAL-ERROR-MSG-PRT TO 702-USER-ERROR-MESSAGE 715170 PERFORM 702-FATAL-ERROR THRU 702-FATAL-ERROR-EXIT. 715180 PERFORM 1164-REVERSE-LI THRU 1164-REVERSE-LI-EXIT 715190 UNTIL 1164-END-OF-LI-FLAG = 0-TRUE-77. 715200 1164-AUTO-REVERSE-EXIT. 715210 EXIT. 715220 1164-REVERSE-LI. 715230 MOVE LI-ITEM-NBR TO 990-OI-INVOICE-NBR-KEY-77 715240 MOVE LI-TRANS-NBR TO 990-TRANS-NBR-KEY-77. 715250 MOVE 990-ACCESS-RANDOM-VA-77 TO 990-ACCESS-METHOD-77. 715260 MOVE 990-COMPARE-EQUAL-VA-77 TO 990-KEY-COMPARISON-77. 715270 PERFORM 997-OI-SET-MODIFY THRU 997-OI-SET-MODIFY-EXIT. 715280 IF 990-DMERROR-88 715290 DISPLAY "MISSING OI-DATA FOR LI " LI-ITEM-NBR 715300 "-" LI-TRANS-NBR 715310 DISPLAY "PAYMENT INFO = " PY-BATCH-NBR " " 715315 PY-CUST-NBR " " PY-CHECK-NBR 715317 MOVE 715280 TO 11-PARAGRAPH-NAME-PRT 715319 MOVE 11-FATAL-ERROR-MSG-PRT TO 702-USER-ERROR-MESSAGE 715320 PERFORM 702-FATAL-ERROR THRU 702-FATAL-ERROR-EXIT. 715325 715330 PERFORM 1164-UPDATE-INVOICES 715335 THRU 1164-UPDATE-INVOICES-EXIT. 715340 715350 PERFORM 997-AJ-DATA-CREATE THRU 997-AJ-DATA-CREATE-EXIT. Patch1stqtr03 POWER PLUS PATCH
AR/015 P6.21 CONTINUED (page 4 of 4)
715360 MOVE CM-SHIP-LOC TO AJ-BRANCH 715370 MOVE CM-CUST-NBR TO AJ-CUST-NBR. 715380 MOVE CM-ADDR-LINE-1 TO AJ-NAME. 715390 MOVE 11-ADJ-RETURNED-CHK-VA TO AJ-TYPE. 715400 MOVE AR05-PAY-AMT-I TO AJ-CM-CASH-AMT. 715410 MOVE OI-INVOICE-NBR TO AJ-INVOICE-NBR. 715420 MOVE OI-TRANS-NBR TO AJ-TRANS-NBR. 715430 MOVE 1164-TOTAL-REINSTATED TO AJ-ITEM-AMT. 715440 PERFORM 691-WRITE-JOURNAL-LINE 715445 THRU 691-WRITE-JOURNAL-LINE-EXIT. 715450 715460 FIND NEXT LI-DATA OF PY-DATA 715465 ON EXCEPTION 715470 MOVE 0-TRUE-77 TO 1164-END-OF-LI-FLAG. 715480 1164-REVERSE-LI-EXIT. 715490 EXIT.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/10/03 Module: EC
Markid: P6.26 Program Nbr: 010
Description:
Another program's abort can cause WCSC to abort.
Solution:
349400** 614600** 630600** 650100**
652500**
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/21/03 Module: EC
Markid: P6.25 Program Nbr: 010
Description:
If you inquire directly by quote number, WCSC allows you to pull up someone else's quote.
Solution:
408820 IF 990-DB-ERROR-77 NOT = 0-SIX-77 408840 IF RM-CUST-NBR NOT = CM-CUST-NBR 408860 MOVE 0-ONE-77 TO 990-DB-ERROR-77.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/20/03 Module: EC
Markid: P6.24 Program Nbr: 010
Description:
Program can get audit error when duping an item that does not exist at that branch.
Solution:
LIB/645PD 720440 IF 990-BATCH-DO-EOT-FLAG-77 = 0-FALSE-77 720460 PERFORM 999-BT-BEGIN-TRANSACTION 720480 THRU 999-BT-BEGIN-TRANSACTION-EXIT.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/12/03 Module: EC
Markid: P6.23 Program Nbr: 010
Description:
On quotes, sometimes says out of stock when really is not.
Solution:
377020 IF RM-HOLD-CODE > 1 377040 IF RI-QTY-ORDERED NOT > IW-QTY-AVBL 377060 GO TO 1143-PROCESS-VALID-LI-EXIT. 377080
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/03/03 Module: EC
Markid: P6.22 Program Nbr: 010
Description:
If customer uses quick entry screen and enters customer part numbers, the system correctly does the cross-reference, but does not carry the customer part number on the line item record.
Solution:
610910 IF RI-CUST-PART-NBR = SPACES 610920 FIND IX-DATA VIA IX-SET2 610930 AT IX-ITEM-NUMBER = RI-ITEM-NUMBER 610940 AND IX-CUST-NBR = RM-CUST-NBR 610950 ON EXCEPTION 610960 GO TO 607-BUILD-LI-RECORD-EXIT. 610970 IF RI-CUST-PART-NBR = SPACES 610980 MOVE IX-CUST-PART-NBR TO RI-CUST-PART-NBR.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/03/03 Module: EC
Markid: P6.21 Program Nbr: 010
Description:
If a quote is entered via regular order entry, and then released into an order by the customer via the Web Customer Service Center, it should retain the original prices.
Solution:
369110 IF (RM-SOURCE NOT = "E") 369120 AND (RI-UNIT-PRICE NOT = ZERO) 369130 MOVE RI-UNIT-PRICE TO 607-UNIT-PRICE 369140 MOVE RI-DISC-MULT TO 607-DISC-MULT 369150 MOVE RI-MAN-PRICE-FLAG TO 607-MAN-PRICE-FLAG 369160 IF RI-MAN-PRICE-FLAG = 0-TRUE-77 369170 COMPUTE 791-MANUAL-PRICE ROUNDED = 369180 RI-UNIT-PRICE * RI-DISC-MULT. 369190
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/24/03 Module: FM
Markid: P6.21 Program Nbr: 004
Description:
Current year sales totals and percentage of change are inaccurate on the SI85 inquiry when you use the "O" and "L" option combination.
Solution:
690450 + 11S-YTD-SALES 690600 + 11S-YTD-PROFIT.
693460 MOVE ZERO TO SI86-PCT-CHG-O.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/26/03 Module: FM
Markid: P6.22 Program Nbr: 016
Description:
Advise user that ROP on a temp item won't take.
Solution:
301035 MOVE "NOT WITH TEMP ITEMS" TO 301040 703-ERROR-MSG-TABLE-LIT (31).
455010 IF FM13-REORDER-POINT-I > ZERO 455020 IF IM-SOURCE-CODE = 0-ONE-77 455030 OR ((IW-SOURCE-CODE = 0-ONE-77) 455040 AND ( FM13-PROCUREMENT-SOURCE-I = 0-ONE-77 )) 455050 MOVE 0-TRUE-77 TO 703-ERR-MSG-31-PYMT-INV-NBR 455060 1-ERROR-IN-SCREEN-FLAG 455070 MOVE 0-ERR-HILITE-CHAR 455080 TO FM13-REORDER-POINT-DELIM-SO-O.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/10/03 Module: FM
Markid: P6.21 Program Nbr: 017
Description:
Holding cost percentage shifted one decimal to right when system parameters updated.
Solution:
120500 10 SP05-HOLD-COST-I PIC 9V99.
LIBPS/SCREENS17 108800 10 SP05-HOLD-COST-O PIC 9V99.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/21/03 Module: FM
Markid: P6.21 Program Nbr: 421
Description:
Vendor quote update program enhanced to allow you to also update vendor quote number and end date of quote.
Solution:
110300 05 FILLER PIC X(5) VALUE "U/M". 110400 05 FILLER PIC X(14) VALUE "BEFORE COST". 110520 05 FILLER PIC X(21) VALUE 110540 "VEND QUOTE NBR". 110560 05 FILLER
111200 05 PRT-UNIT-MEAS PIC X(5). 111500 05 PRT-AFT-COST PIC Z(10).99BB. 111520 05 PRT-VEND-QUOTE-NBR PIC X(23). 111540 05 PRT-END-DATE PIC Z9/99/99 BLANK WHEN ZERO.
114820 05 WS-QUOTE-NBR PIC X(20). 114840 05 WS-END-DATE-A. 114860 10 WS-END-DATE PIC 9(8).
310750 MOVE SPACES TO WS-UNIT-MEAS, WS-COST-A, 310770 WS-QUOTE-NBR, WS-END-DATE-A. 311100 WS-UNIT-MEAS DELIMITER IN GARBAGE 311120 WS-QUOTE-NBR DELIMITER IN GARBAGE 311140 WS-END-DATE-A DELIMITER IN GARBAGE. 311160
311400 "," WS-COST-A "," WS-UNIT-MEAS "," WS-QUOTE-NBR 311450 "," WS-END-DATE-A.
314620 314640 IF WS-END-DATE-A = SPACES 314660 MOVE ZEROES TO WS-END-DATE. 314720 IF WS-COST-A = SPACES 314740 MOVE ZEROES TO WS-COST 314800 ELSE 314900 IF WS-COST-A NOT NUMERIC
322750 AND WS-COST > ZERO
324550 AND WS-COST > ZERO
325850 AND WS-COST > ZERO
Patch1stqtr03 POWER PLUS PATCH
FM/421 P6.21 CONTINUED (page 2 of 2)
327630 IF WS-QUOTE-NBR NOT = SPACES 327640 MOVE WS-QUOTE-NBR TO IW-VEND-QUOTE-NBR 327650 MOVE 1 TO UPDATE-NEEDED-FLAG. 327660 IF WS-END-DATE-A NOT = SPACES AND ZEROES 327670 MOVE WS-END-DATE TO IW-EFF-DT-QUOTE 327680 MOVE 1 TO UPDATE-NEEDED-FLAG. 327690
331010 MOVE IW-VEND-QUOTE-NBR TO PRT-VEND-QUOTE-NBR. 331020 IF IW-EFF-DT-QUOTE = ZERO 331030 MOVE ZERO TO PRT-END-DATE 331040 ELSE 331050 MOVE IW-EFF-DT-QUOTE TO 732-INPUT-DATE-YMD 331060 PERFORM 732-CONVERT-DATE-FROM-YMD 331070 THRU 732-CONVERT-DATE-FROM-YMD-EXIT 331080 MOVE 732-OUTPUT-DATE-USER-N TO PRT-END-DATE.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/23/03 Module: GL
Markid: P6.21 Program Nbr: 001
Description:
Show G/L account description on the GM53 screen.
Solution:
LIBPS/TCLGL 988300 " Account Number ",UL,X1,FS,A8,RS,X5,A36,CR,
LIBPS/GLSSCR001 412600 10 GM53-DESCRIPTION-O PIC X(36). 442500 10 FILLER PIC X(1257).
LIBPS/GLS51PD 267410 FIND GL-DATA VIA GL-SET 267415 AT GL-COMPANY-ID = 990-COMPANY-ID-KEY-77 267420 AND GL-DIVISION-ID = 990-DIVISION-ID-KEY-77 267425 AND GL-ACCT-NBR = 990-ACCT-NBR-KEY-77 267430 ON EXCEPTION 267435 MOVE 0-TRUE-77 TO 703-ERR-MSG-17-INVALID-INPUT 267440 1-ERROR-IN-SCREEN-FLAG 267445 MOVE 0-ERR-HILITE-CHAR TO GM52-COMPANY-ID-DELIM-O 267450 GM52-DIVISION-ID-DELIM-O 267455 GM52-ACCT-NBR-DELIM-O.
269050 MOVE GL-DESCRIPTION TO GM53-DESCRIPTION-O.
356710 FIND GL-DATA VIA GL-SET 356720 AT GL-COMPANY-ID = 990-COMPANY-ID-KEY-77 356730 AND GL-DIVISION-ID = 990-DIVISION-ID-KEY-77 356740 AND GL-ACCT-NBR = 990-ACCT-NBR-KEY-77 356750 ON EXCEPTION 356760 MOVE "G/L MASTER NOT ON FILE" TO GL-DESCRIPTION. 356770
357150 MOVE GL-DESCRIPTION TO GM53-DESCRIPTION-O.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/17/03 Module: IN
Markid: P6.22 Program Nbr: 019
Description:
PO55 enhanced to allow you to go into manual addition of po line items by specifying ADD.
Solution:
LIBPS/PO55PD 605150 OR "ADD" 609015 IF PO55-NEXT-ITEM-NUMBER-I = "ADD" 609020 MOVE SPACES TO MCS-PROGRAM-DATA 609025 MOVE PO-ORDER-NBR TO IA21-ORDER-NBR-O 609030 MOVE "A" TO IA21-FUNCTION-CODE-O 609035 MOVE 100 TO MCS-MSG-SIZE-77 609040 MOVE "FIA21" TO MCS-FORMAT-ID 609045 ELSE 609050 IF PO55-NEXT-ITEM-NUMBER-I = "END" OR "CANCEL" OR "FAX"
609800 IF PO55-NEXT-ITEM-NUMBER-I = "END" OR "FAX" OR "PRT" OR "ADD"
614300 IF PO55-NEXT-ITEM-NUMBER-I NOT = SPACES AND "ADD"
LIBPS/SCREENS19 172700 172800 05 IA21-SCREEN-FORMAT-O REDEFINES MCS-PROGRAM-DATA. 172900 10 FILLER PIC X(77). 173000 10 IA21-ORDER-NBR-O PIC X(11). 173100 10 IA21-FUNCTION-CODE-O PIC XX. 173200 10 FILLER PIC X(1910).
LIBPS/TCLPO 409100 " P.O. ",FS,A10,RS," Next Item, END, ADD, CAN, FAX, PRT",
411190 " P.O. ",FS,A10,RS," Next Item, END, ADD, CAN, FAX, PRT",
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/28/03 Module: IN
Markid: P6.21 Program Nbr: 019
Description:
PO50 not handling 6 digit order numbers.
Solution:
SRC1/IN/019 124656 05 136-ORDER-NBR-6. 124657 10 136-ORDER-ROOT-6 PIC 9(6). 124658 10 136-ORDER-SUFFIX PIC X.
125100 COPY "LIBPS/710WS".
326350 COPY "LIBPS/710PD".
LIBPS/PO50PD 702210 MOVE PO50-ORDER-NBR-I TO 710-ORDER-NBR-ALPHA-I 702215 PERFORM 710-EDIT-ALPHA-ORDER-NBR 702220 THRU 710-EDIT-ALPHA-ORDER-NBR-EXIT 702225 IF 710-INVALID-NBR-FLAG = 0-TRUE-77 702230 OR 710-ORDER-NOT-FOUND-FLAG = 0-TRUE-77 702235 MOVE "ORDER NO LONGER ON FILE" TO PO51-NAME-O 702250 GO TO 1361-INITIAL-EDIT-TEST-EXIT 702270 ELSE 702290 MOVE 710-VALID-ORDER-NBR TO 136-MAJOR-ORDER
702370 MOVE ZERO TO 990-DB-ERROR-77.
702460 ON EXCEPTION 702470 MOVE 0-TRUE-77 TO 990-DB-ERROR-77. 702480 IF 990-DMERROR-88 702490 AND PO50-ORDER-NBR-I NOT = SPACES 702500 MOVE 710-ORDER-ROOT TO 136-ORDER-ROOT-6 702505 MOVE 710-ORDER-SUFFIX TO 136-ORDER-SUFFIX 702510 MOVE 136-ORDER-NBR-6 TO 136-MAJOR-ORDER 702515 MOVE ZERO TO 990-DB-ERROR-77 702520 FIND ORR-DATA VIA FIRST ORR-SET1 702525 AT ORR-MAJOR-ORDER = 136-MAJOR-ORDER 702530 ON EXCEPTION 702535 MOVE 0-TRUE-77 TO 990-DB-ERROR-77. 702540 IF 990-DMERROR-88 702550 MOVE 0-TRUE-77 TO 1-EDIT-ERROR-FLAG 702600 703-ERR-MSG-93-INVALID-INPUT 702650 IF PO50-ORDER-NBR-I = SPACES 702700 MOVE 0-ERR-HILITE-CHAR TO PO50-PO-NBR-DELIM-O 702750 ELSE 702800 MOVE 0-ERR-HILITE-CHAR TO PO50-ORDER-NBR-DELIM-O.
Patch1stqtr03 POWER PLUS PATCH
IN/019 P6.21 CONTINUED (page 2 of 2)
703150* IF PO50-ORDER-NBR-I NOT = SPACES 703200* FIND RM-DATA VIA RM-SET 703250* AT RM-ORDER-ROOT = PO50-ORDER-ROOT-I 703300* AND RM-ORDER-SUFFIX = PO50-ORDER-SUFFIX-I 703350* ON EXCEPTION 703400* MOVE "ORDER NO LONGER ON FILE" TO PO51-NAME-O 703450* GO TO 1361-INITIAL-EDIT-TEST-EXIT.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/5/03 Module: IN
Markid: P6.22 Program Nbr: 041
Description:
Items with no activity sometimes wind up with a ROP of 1.
Solution:
177400 MOVE ZERO TO 515-TEMP-FORECAST.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/13/03 Module: IN
Markid: P6.21 Program Nbr: 041
Description:
Period-end enhanced to save off month-end inventory value.
Solution:
SRC1/SYS/PLUSDB 173070 IW-PERIOD-VALUE NUMBER (S7); %PSI1202
SRC1/IN/041 188350 MOVE IM-SELL-UNIT-MEAS TO 752-UNIT-MEAS. 188400 PERFORM 752-UM-CONVERSION. 188450 COMPUTE IW-PERIOD-VALUE (1) ROUNDED = IW-AVERAGE-COST 188500 * IW-ON-HAND-BG-PER / IM-B-L-SELL-RATIO 188550 / 752-EXTENSION-DIVISOR.
192890 IW-PERIOD-PROFIT (0-DEMAND-INDEX-2) 192895 MOVE IW-PERIOD-VALUE (0-DEMAND-INDEX-1) TO 192900 IW-PERIOD-VALUE (0-DEMAND-INDEX-2). 192950*
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/6/03 Module: IN
Markid: P6.21 Program Nbr: 049
Description:
Receiving reports enhanced to show vendor quote numbers if applicable.
Solution:
112340 03 VEND-QUOTE-PRT PIC X(40). 112350
311110 CREATE IW-DATA
311565 MOVE SPACES TO VEND-QUOTE-PRT. 311570 IF PH-UNIT-COST = IW-VENDOR-QUOTE 311575 IF IW-VEND-QUOTE-NBR NOT = SPACES 311580 STRING "QUOTE#" DELIMITED BY SPACE 311585 IW-VEND-QUOTE-NBR DELIMITED BY SIZE 311590 INTO VEND-QUOTE-PRT.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/27/03 Module: IN
Markid: P6.21 Program Nbr: 604
Description:
If you enter an invalid new item nbr via an AX, you get a misleading error message.
Solution:
125700 DISPLAY "ITEM " NEW-ITEM-NUMBER-WS " DOES NOT EXIST"
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/31/03 Module: OE
Markid: P6.21 Program Nbr: 007
Description:
When OP50 creates direct/indirect purchase orders, the po line numbers should match up with the sales order.
Solution:
LIBPS/OP50PD 556450 MOVE RI-LINE-NUMBER TO PI-LINE-NUMBER.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/26/03 Module: OE
Markid: P6.22 Program Nbr: 009
Description:
Adjust quantity transferred at time of OP80 release, if quantities have changed on original sales order.
Solution:
587605 587610 IF (RI-QTY-RESERVED + RI-QTY-INPICKING) > RI-QTY-ORDERED 587615 MOVE ZERO TO RI-QTY-ORDERED 587620 ELSE 587625 SUBTRACT RI-QTY-RESERVED FROM RI-QTY-ORDERED 587630 SUBTRACT RI-QTY-INPICKING FROM RI-QTY-INPICKING. 587635 MOVE RI-QTY-ORDERED TO POT-QTY-ORDERED.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/21/03 Module: OE
Markid: P6.21 Program Nbr: 009
Description:
OP91 should check for current replacement cost and rebate info when you release quote to order.
Solution:
483380* IF 711-QTY-TO-RESERVE NOT > ZERO 483390* AND (RM-HOLD-CODE NOT = 608-QUOTATION-CODE) 483400* GO TO 11A2-LI-RESERVATION-EXIT.
483770 IF RM-RESRV-FLAG = 0-TRUE-77 483775 IF 711-QTY-TO-RESERVE > ZERO 483781 483782 IF RI-SOURCE-CODE NOT = 1 483783** IF IW-VENDOR-QUOTE > ZERO 483784** AND IW-VENDOR-QUOTE < IW-STANDARD-COST 483785** AND IW-EFF-DT-QUOTE > RM-ENTERED-DATE 483786** MOVE IW-VENDOR-QUOTE TO RI-UNIT-STD-COST 483787** ELSE 483788 MOVE IW-STANDARD-COST TO RI-UNIT-STD-COST. 483789 MOVE RI-QTY-ORDERED TO 709-B-L-UM-RESULT-QTY 483790 MOVE RI-ORDER-CONV TO 709-ORDER-CONVERSION 483791 MOVE ZEROES TO 709-MANUAL-PRICE 483792 MOVE ZEROES TO 709-MANUAL-DISC 483793 PERFORM 709-LINE-ITEM-PRICING 483794 THRU 709-LINE-ITEM-PRICING-EXIT. 483795 MOVE ZERO TO RI-REBATE-AMOUNT. 483796 IF 7091-CONTRACT-FOUND-FLAG = 0-TRUE-77 483797 MOVE RI-UNIT-STD-COST TO 709-STD-COST 483798 IF CO-SPECIAL-COST > ZERO 483799 AND CO-SPECIAL-COST < RI-UNIT-STD-COST 483800 MOVE CO-SPECIAL-COST TO RI-UNIT-STD-COST 483801 RI-UNIT-COST 483802 COMPUTE RI-REBATE-AMOUNT = 483803 709-STD-COST - RI-UNIT-STD-COST 483804 ELSE 483805 IF CO-SPCL-COST-MULT > ZERO 483806 PERFORM 7098-DETERMINE-COST 483807 THRU 7098-DETERMINE-COST-EXIT 483808 MOVE 709-SPC-COST TO RI-UNIT-STD-COST 483809 MOVE RI-UNIT-STD-COST TO RI-UNIT-COST 483810 COMPUTE RI-REBATE-AMOUNT = 483812 709-STD-COST - RI-UNIT-STD-COST. 483835 PERFORM 997-RI-DATA-STORE THRU 483840 997-RI-DATA-STORE-EXIT
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/26/03 Module: OE
Markid: P6.29 Program Nbr: 010
Description:
Allow transfer requests for sales orders that are on credit hold. Also, show stock status info if on credit hold and out of stock.
Solution:
459670 AND (( RM-HOLD-CODE = ZERO ) 459672 OR ( RI-QTY-ORDERED > IW-QTY-AVBL ))
498850 IF ( OE30-XFR-DIR-I = "D" 498860 AND RM-HOLD-CODE > ZERO ) 498870 OR ( RM-HOLD-CODE = 4 )
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/13/03 Module: OE
Markid: P6.28 Program Nbr: 010
Description:
Highlight contract prices on OE32 review screen (to be consistent with OE30 display). Also, patch P6.1S contained a typo.
Solution:
377265 MOVE RO-ADDR-LINE-2 TO EI41-SHIP-TO-ADDR-2 377270 MOVE RO-ADDR-LINE-3 TO EI41-SHIP-TO-ADDR-3 377275 MOVE RO-ADDR-LINE-4 TO EI41-SHIP-TO-ADDR-4.
LIBPS/SCREENS10 251035 15 OE32-PRICE-HILITE-O PIC X. 251040 15 OE32-UNIT-PRICE-O PIC Z(4).9999.
LIBPS/OE30PD 469645 IF RI-PRICE-METHOD = 2 OR 3 469650 MOVE @3F@ TO OE32-PRICE-HILITE-O (114-INDEX) 469655 MOVE @26@ TO OE32-MAN-PRICE-FLAG-O (114-INDEX).
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 2/4/03 Module: OE
Markid: P6.27 Program Nbr: 010
Description:
If column 3 price on Trade Service is zero, order entry can get a divide by zero when you create an item from Trade Service on the OE10 screen.
Solution:
LIBPS/NS1143PD 356591 IF TS-COL-3-PRICE = ZERO 356592 IF TS-COL-2-PRICE > ZERO 356593 MOVE TS-COL-2-PRICE TO TS-COL-3-PRICE 356594 ELSE 356595 IF TS-COL-1-PRICE > ZERO 356596 MOVE TS-COL-1-PRICE TO TS-COL-3-PRICE 356597 TS-COL-2-PRICE 356598 ELSE 356600 MOVE TS-LIST-PRICE TO TS-COL-3-PRICE 356601 TS-COL-2-PRICE 356602 TS-COL-1-PRICE. 356603 356605 IF TO-PRICE-COLUMN = "1"
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/28/03 Module: OE
Markid: P6.26 Program Nbr: 010
Description:
The pricing routine goes into a loop if the applicable contract for a line item is expired and happens to be the very last record in the file.
Note: Also recompile OE/003, FM/004, FM/008, OE/011, OE/030 and OE/032.
Solution:
130174 IF 990-DMERROR-88 130176 OR CO-CUST-NBR NOT = 990-CUST-NBR-KEY-77 130178 OR CO-ITEM-NBR NOT = 990-ITEM-NUMBER-KEY-77
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/23/03 Module: OE
Markid: P6.25 Program Nbr: 010
Description:
If you request a transfer on OE30 on your initial transmit (along w/ qty ordered), it sometimes picks up the wrong quantity to transfer.
Solution:
LIBPS/OE30PD 501015 IF OE30-QTY-ERROR-I = SPACES 501020 COMPUTE POT-QTY-ORDERED = RI-QTY-ORDERED 501025 - RI-QTY-RESERVED 501030 ELSE 501035 MOVE OE30-QTY-I TO POT-QTY-ORDERED.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/21/03 Module: OE
Markid: P6.24 Program Nbr: 010
Description:
Manual costs are now flagged. (1 = entered at O/E time, 2 = changed via maintenance, 3 = entered at O/E but changed during receiving time.)
Note: Must also compile IN/012, OE/009, OE/011 and OE/030.
Solution:
SRC1/SYS/PLUSDB 249670 RI-MAN-COST-FLAG NUMBER (1);
SRC1/OE/010 373415 MOVE 0-TRUE-77 TO RI-MAN-COST-FLAG 373425 MOVE 0-TRUE-77 TO RI-MAN-COST-FLAG 373428 ELSE
403622 IF OM51-I-88 403624 IF 682-UNIT-COST NOT = RI-UNIT-STD-COST 403626 MOVE 0-TWO-77 TO RI-MAN-COST-FLAG.
LIBPS/OE30PD 480450 MOVE 0-TRUE-77 TO RI-MAN-COST-FLAG
LIBPS/711PD 200780 MOVE IW-AVERAGE-COST TO RI-UNIT-STD-COST 200782 IF RI-MAN-COST-FLAG = 1 200784 MOVE 3 TO RI-MAN-COST-FLAG.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/10/03 Module: OE
Markid: P6.23 Program Nbr: 010
Description:
Patch P6.1S was incomplete.
Solution:
376527 COMPUTE RM-ORDER-COST = RM-ORDER-VALUE - 612-PROFIT 376529 MOVE 612-MISC-AMT TO RM-OTHER-AMT
382245* 382250* 382253*
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/10/03 Module: OE
Markid: P6.22 Program Nbr: 010
Description:
Allow for entry of N/C or NC for no-charge on OM61 stock return line item maintenance screen. Also, ending delimiter cut off when Returns are ended and order statistics screen brought up.
Solution:
114152 88 OM61-NO-CHARGE-88 VALUE "N/C" "NC" 114154 "N/C 0000" "NC 0000" 114156 "000N/C0000" "0000NC0000" 114158 "000000N/C0" "000000NC00".
116523 10 FILLER PIC X(24) VALUE 116524 " Optional Direct PO Nbr:".
116538 10 FILLER PIC X(13) VALUE " Printer Nbr".
347592 IF OM61-NO-CHARGE-88 (OM61-LINE-ITEM-INDEX-I) 347594 MOVE ZERO TO OM61-UNIT-PRICE-I (OM61-LINE-ITEM-INDEX-I).
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/7/03 Module: OE
Markid: P6.21 Program Nbr: 010
Description:
If you enter line item in two steps (first just xmit the item nbr with no qty), if the item has qty on display, the unit of measure should not be filled in, since this is where you enter Y or N to use display.
Solution:
LIBPS/OE30PD 460570 IF IW-QTY-ON-DISPLAY < 0-ONE-77 460580 MOVE IM-SELL-UNIT-MEAS TO OE30-UNIT-MEAS-O.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/22/03 Module: OE
Markid: P6.21 Program Nbr: 011
Description:
On-line invoicing should not create inventory audit records for parents of kits.
Solution:
472490 IF RI-ASSEMBLY-CODE NOT = 0-ONE-77
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/3/03 Module: OE
Markid: P6.21 Program Nbr: 030
Description:
Batch picking tickets not always sorting line items correctly (when there are kits on the order).
Note: Requires patch P6.21 to OE/060.
Solution:
LIBPS/PICKFLWS 214400 10 7-ITEM-DESCRIPTION PIC X(34). 214450 10 7-PRIMARY-BIN PIC X(6).
SRC1/OE/030 121700 77 0-BIN-LOCATION-SAVE PIC X(6) VALUE SPACES.
465320 IF RI-ASSEMBLY-CODE NOT = 0-TWO-77 465340 MOVE IW-BIN-LOCATION TO 7-BIN-LOCATION. 465350 0-BIN-LOCATION-SAVE 465360 ELSE 465370 MOVE 0-BIN-LOCATION-SAVE TO 7-BIN-LOCATION. 465400 MOVE IW-BIN-LOCATION TO 7-PRIMARY-BIN.
468265 MOVE 0-BIN-LOCATION-SAVE TO 7-BIN-LOCATION.
468315 MOVE 0-BIN-LOCATION-SAVE TO 7-BIN-LOCATION.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 1/3/03 Module: OE
Markid: P6.21 Program Nbr: 060
Description:
Batch picking tickets not always sorting line items correctly (when there are kits on the order).
Note: Requires patch P6.21 to OE/030.
Solution:
152050 1-SORT-RECORD-TYPE, 152100 1-SORT-BIN-LOCATION, 1-SORT-LINE-NBR, 152120 1-SORT-BOM-CODE,
184300 MOVE 7-PRIMARY-BIN TO 1-BIN-LOCATION-PRT.
Patch1stqtr03 POWER PLUS PATCH
Date of Correction: 3/3/03 Module: OE
Markid: P6.21 Program Nbr: 705
Description:
GD-DATE-ENTRY not being updated properly.
Solution:
400300 MOVE 0-TRUE-77 TO SP-DATE-FORMAT.
Patch1stqtr03 POWER PLUS PATCH
Patch1stqtr03