(Sorry about the ALL CAPS, by the time I had realized that it was all caps, I was on the last sentence.)
WORK FOR A PRINTING COMPANY THAT USES EFI/PSI V. 11.2.4 AND CRYSTAL 8.0.1.0. HAVE AN EXISTING REPORT THAT GIVES ME A SUM OF 'ACTUAL' HOURS PER JOB (PROFITABILTY REPORT) AMONGST OTHER DATA. THE HOURS ARE ASSIGNED TO PROCESSES WHICH FALL UNDER THE CATEGORIES CHARGEABLE OR NON CHARGEABLE. MY REPORT WORKS FINE AND EVERYTHING IS GOOD EXCEPT NOW WE NEED THE REPORT TO CALCULATE ONLY CHARGEABLE HOURS. MY ISSUE IS THAT THE PROCESS NUMBERS ARE NOT SEQUENTIAL, HENCE I CAN NOT USE THE OPERATOR <=. IN OTHER WORDS, THERE ARE NOT 9001, 9002, 9003, AND SO ON. THEY ARE MORE LIKE 9110,9221, 9111, 9120. SO, WHAT I NEED TO DO IS FILTER THE NONCHARGEABLE HOURS OUT AND MY FORMULA/QUERY IS SOMETHING LIKE THIS
SELECT
BBJOBCST."LJOB",
BBJOBCST."PROCHOURS"
FROM
PSI_DB_F.dbo.BBJOBCST BBJOBCST
WHERE
BBJOBCST."PROCNO" <> 9010
OR
BBJOBCST."PROCNO" <> 9011
OR
BBJOBCST."PROCNO" <> 9020
OR
BBJOBCST."PROCNO" <> 9021
OR
BBJOBCST."PROCNO" <> 9030
OR
BBJOBCST."PROCNO" <> 9031
OR
BBJOBCST."PROCNO" <> 9110
OR
BBJOBCST."PROCNO" <> 9111
OR
BBJOBCST."PROCNO" <> 9120
OR
BBJOBCST."PROCNO" <> 9121
I KNOW I AM DOING SOMETHING WRONG, BUT I JUST CANNOT FIGURE IT OUT. CAN SOMEONE PLEASE HELP. IF THIS IS CONFUSING I DO UNDERSTAND, I AM FINDING IT DIFFICULT TO EXPLAIN IT. PLEASE ASK ANY QUESTIONS YOU NEED TO KNOW.
THANKS
WORK FOR A PRINTING COMPANY THAT USES EFI/PSI V. 11.2.4 AND CRYSTAL 8.0.1.0. HAVE AN EXISTING REPORT THAT GIVES ME A SUM OF 'ACTUAL' HOURS PER JOB (PROFITABILTY REPORT) AMONGST OTHER DATA. THE HOURS ARE ASSIGNED TO PROCESSES WHICH FALL UNDER THE CATEGORIES CHARGEABLE OR NON CHARGEABLE. MY REPORT WORKS FINE AND EVERYTHING IS GOOD EXCEPT NOW WE NEED THE REPORT TO CALCULATE ONLY CHARGEABLE HOURS. MY ISSUE IS THAT THE PROCESS NUMBERS ARE NOT SEQUENTIAL, HENCE I CAN NOT USE THE OPERATOR <=. IN OTHER WORDS, THERE ARE NOT 9001, 9002, 9003, AND SO ON. THEY ARE MORE LIKE 9110,9221, 9111, 9120. SO, WHAT I NEED TO DO IS FILTER THE NONCHARGEABLE HOURS OUT AND MY FORMULA/QUERY IS SOMETHING LIKE THIS
SELECT
BBJOBCST."LJOB",
BBJOBCST."PROCHOURS"
FROM
PSI_DB_F.dbo.BBJOBCST BBJOBCST
WHERE
BBJOBCST."PROCNO" <> 9010
OR
BBJOBCST."PROCNO" <> 9011
OR
BBJOBCST."PROCNO" <> 9020
OR
BBJOBCST."PROCNO" <> 9021
OR
BBJOBCST."PROCNO" <> 9030
OR
BBJOBCST."PROCNO" <> 9031
OR
BBJOBCST."PROCNO" <> 9110
OR
BBJOBCST."PROCNO" <> 9111
OR
BBJOBCST."PROCNO" <> 9120
OR
BBJOBCST."PROCNO" <> 9121
I KNOW I AM DOING SOMETHING WRONG, BUT I JUST CANNOT FIGURE IT OUT. CAN SOMEONE PLEASE HELP. IF THIS IS CONFUSING I DO UNDERSTAND, I AM FINDING IT DIFFICULT TO EXPLAIN IT. PLEASE ASK ANY QUESTIONS YOU NEED TO KNOW.
THANKS