× 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.



On 9/15/2023 4:01 PM, joe wrote:

from 2nd page for very first record it looks like below:-

and answers are as followings:-

1) Data is missing from 2nd page for very first record only for following
fields:-

1) Pick# 2) Item Number 3) Description 4) Or Qt 5) Sh Qt

2) Pick Loctn and Pk Qt always gets printed on 2nd page

and Just below SH Qt it prints like below :-

SKU Total Qty = some number

Reports on 2nd page looks like below :-



Pick# Item Number Description Or
Qt Sh Qt Pick Loctn
Pk Qt

some
alphanumeric value some number

SKU Total Qty = some
number



some number some number some text some number
some number some alphanumeric value some number


some number some number some text some number
some number some alphanumeric value some number


some number some number some text some number
some number some alphanumeric value some number

Looking at the DDS, take the example of one field defined in DTL001, RP_PICKNBR. This is one of the ones you aren't seeing at the top of the second page.

Following the logic through the program, the subroutine that is doing the printing is Sr_WrtSkuDetlNew. Looking at line 1429, there's a LOOKUP in array Ar_SklItem#, which sets ZZ. If ZZ is zero, it prints DTL001. I think this is the last line of page one.

Shortly after that, at line 1437, the program clears RP_PICKNBR (but NOT RP_SKULOCN!!)

Then there's a loop starting at 1449, and the program tests for overflow - I believe this is HDR001 - the top of page two. Because the program printed SKUTOT, we know that the WRITE at line 1496 was executed. Therefore, the WRITE DTL001 at 1485 was executed. Since RP_PICKNBR was cleared earlier, it is blank here. I believe this is the detail line at the top of page two, under the headings.

If this behaviour is undesired, you need to include logic to populate the 6 cleared fields before the WRITE DTL001 at 1485. Note that the lines between 1461 and 1481 populate the two fields you are seeing at the top of page two...

One way to verify these conditions is to put the program into debug mode and step through it.


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.