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



Our auditor made a distinction between the bill-to (6 digit customer #)
being state of MI or whatever, and the ship to state, which depends on
ship-to (4 digit #).

For example, we have customer whose HQ might be in Ohio or Michigan or some
other state, for bill-to, but the actual product gets shipped to Canada, or
Michigan or Indiana. Our auditor wanted actual sales totals based on where
shipped, not on where billed. The damn census wanted this based not on $,
but breakdown on type of product, not using our classification system.

During shipping, the clerk can over-ride the actual ship-to address & does
that show up in SIH invoice header? SIH has state shipped to, and $ total
of the invoice. You don't need to include SIL break down of invoice.

So you might want to get clarification from whoever wants this data.

Do they want total sales that were billed to state of MI? If so do a query
off of RCM customer master that shows total sales $ in month X that has
state code MI.

Do they want total sales that were actually shipped to state of MI? If so,
you need to delve into SIH invoice headers, or look at ESH shipping details.

Then there is the question of whether the state code MI is correctly
populated in the state code field ... can you rely on BPCS data, or do you
need to dig deeper?

We satisfied our auditor needs by using query/400.
We also have SQL/400, but did not use it for this purpose.
I use SQL primarily embedded within RPG, so once the statements have been
tested, the code is reliable.

-
Al Mac

-----Original Message-----
From: bpcs-l-bounces+macwheel99=wowway.com@xxxxxxxxxxxx
[mailto:bpcs-l-bounces+macwheel99=wowway.com@xxxxxxxxxxxx] On Behalf Of John
Quirk
Sent: Thursday, March 04, 2010 8:19 AM
To: bpcs-l@xxxxxxxxxxxx
Subject: [BPCS-L] Query

Running BPCS405cd

Looking to query the following.

Customers invoiced to the state of MI



Sales to invoice to customer(ID#) with state code MI



Breakdown by ID #



Any info would be helpful..





Best

John



BSM PUMP CORP



































































































BSM Pump Corp

180 Frenchtown Road

North Kingstown RI 02852

401 471-6391




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.