Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Some mySQL table name references needed changing to upper case.
  • Loading branch information
C4J committed Jul 30, 2024
1 parent ce5ea7d commit f1a0099
Show file tree
Hide file tree
Showing 27 changed files with 746 additions and 522 deletions.
2 changes: 1 addition & 1 deletion b6/commander4j.install4j
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="10.0.8" transformSequenceNumber="10">
<directoryPresets config="./lib/db/auth" />
<application name="Commander4j" applicationId="6923-0356-2321-8111" mediaDir="../../../Distribution/java17/b6Commander4j" shrinkRuntime="false" shortName="Commander4j" publisher="David Garratt" publisherWeb="http://www.commander4j.com" version="11.01" allPathsRelative="true" macVolumeId="2fff9a9d0dc659ac" javaMinVersion="17" javaMaxVersion="17">
<application name="Commander4j" applicationId="6923-0356-2321-8111" mediaDir="../../../Distribution/java17/b6Commander4j" shrinkRuntime="false" shortName="Commander4j" publisher="David Garratt" publisherWeb="http://www.commander4j.com" version="11.02" allPathsRelative="true" macVolumeId="2fff9a9d0dc659ac" javaMinVersion="17" javaMaxVersion="17">
<languages skipLanguageSelection="true">
<additionalLanguages>
<language id="nl" />
Expand Down
Binary file modified b6/commander4j.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion b6/src/com/commander4j/app/JVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class JVersion
{

public static String getProgramVersion() {
return "11.01";
return "11.02";
}

public static Double getProgramVersionValue() {
Expand Down
34 changes: 17 additions & 17 deletions b6/xml/schema/com.mysql.cj.jdbc.Driver/000189.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,30 @@
<statement>
CREATE OR REPLACE VIEW view_weight_samples4 as
SELECT
`app_weight_sample_detail`.SAMPLE_DATE,
`app_weight_sample_detail`.SAMPLE_POINT,
MIN( `app_weight_sample_header`.MATERIAL ) AS MATERIAL,
MIN( `app_weight_sample_header`.PROCESS_ORDER ) AS PROCESS_ORDER,
MIN( `app_weight_sample_header`.PRODUCT_GROUP ) AS PRODUCT_GROUP,
MIN( `app_weight_sample_header`.CONTAINER_CODE ) AS CONTAINER_CODE,
MIN( `app_weight_sample_header`.NOMINAL_WEIGHT ) AS NOMINAL_WEIGHT,
MIN( `app_weight_sample_header`.NOMINAL_WEIGHT_UOM ) AS NOMINAL_WEIGHT_UOM,
CAST( AVG( `app_weight_sample_detail`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS MEAN_WEIGHT,
CAST( STDDEV( `app_weight_sample_detail`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS STANDARD_DEVIATION,
SUM( `app_weight_sample_detail`.SAMPLE_T1_COUNT ) AS SAMPLE_T1_COUNT,
SUM( `app_weight_sample_detail`.SAMPLE_T2_COUNT ) AS SAMPLE_T2_COUNT,
COUNT( `app_weight_sample_detail`.SAMPLE_SEQUENCE ) AS NO_OF_SAMPLES
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_DATE,
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.MATERIAL ) AS MATERIAL,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.PROCESS_ORDER ) AS PROCESS_ORDER,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.PRODUCT_GROUP ) AS PRODUCT_GROUP,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.CONTAINER_CODE ) AS CONTAINER_CODE,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.NOMINAL_WEIGHT ) AS NOMINAL_WEIGHT,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.NOMINAL_WEIGHT_UOM ) AS NOMINAL_WEIGHT_UOM,
CAST( AVG( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS MEAN_WEIGHT,
CAST( STDDEV( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS STANDARD_DEVIATION,
SUM( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_T1_COUNT ) AS SAMPLE_T1_COUNT,
SUM( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_T2_COUNT ) AS SAMPLE_T2_COUNT,
COUNT( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_SEQUENCE ) AS NO_OF_SAMPLES
FROM
APP_WEIGHT_SAMPLE_DETAIL
LEFT JOIN APP_WEIGHT_SAMPLE_HEADER
ON (APP_WEIGHT_SAMPLE_HEADER.SAMPLE_POINT = APP_WEIGHT_SAMPLE_DETAIL.SAMPLE_POINT)
AND (APP_WEIGHT_SAMPLE_HEADER.SAMPLE_DATE = APP_WEIGHT_SAMPLE_DETAIL.SAMPLE_DATE)
WHERE
`app_weight_sample_detail`.SAMPLE_POINT > ''
and `app_weight_sample_detail`.SAMPLE_GROSS_WEIGHT > 0
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT > ''
and `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_GROSS_WEIGHT > 0
GROUP BY
`app_weight_sample_detail`.SAMPLE_DATE,
`app_weight_sample_detail`.SAMPLE_POINT
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_DATE,
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT
</statement>

<statement>
Expand Down
38 changes: 19 additions & 19 deletions b6/xml/schema/com.mysql.cj.jdbc.Driver/000190.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,32 @@
<statement>
CREATE OR REPLACE VIEW view_weight_samples4 as
SELECT
`app_weight_sample_detail`.SAMPLE_DATE,
`app_weight_sample_detail`.SAMPLE_POINT,
MIN( `app_weight_sample_header`.MATERIAL ) AS MATERIAL,
MIN( `app_weight_sample_header`.PROCESS_ORDER ) AS PROCESS_ORDER,
MIN( `app_weight_sample_header`.PRODUCT_GROUP ) AS PRODUCT_GROUP,
MIN( `app_weight_sample_header`.CONTAINER_CODE ) AS CONTAINER_CODE,
MIN( `app_weight_sample_header`.NOMINAL_WEIGHT ) AS NOMINAL_WEIGHT,
MIN( `app_weight_sample_header`.NOMINAL_WEIGHT_UOM ) AS NOMINAL_WEIGHT_UOM,
CAST( AVG( `app_weight_sample_detail`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS MEAN_WEIGHT,
CAST( STDDEV( `app_weight_sample_detail`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS STANDARD_DEVIATION,
SUM( `app_weight_sample_detail`.SAMPLE_T1_COUNT ) AS SAMPLE_T1_COUNT,
SUM( `app_weight_sample_detail`.SAMPLE_T2_COUNT ) AS SAMPLE_T2_COUNT,
COUNT( `app_weight_sample_detail`.SAMPLE_SEQUENCE ) AS NO_OF_SAMPLES
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_DATE,
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.MATERIAL ) AS MATERIAL,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.PROCESS_ORDER ) AS PROCESS_ORDER,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.PRODUCT_GROUP ) AS PRODUCT_GROUP,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.CONTAINER_CODE ) AS CONTAINER_CODE,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.NOMINAL_WEIGHT ) AS NOMINAL_WEIGHT,
MIN( `APP_WEIGHT_SAMPLE_HEADER`.NOMINAL_WEIGHT_UOM ) AS NOMINAL_WEIGHT_UOM,
CAST( AVG( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS MEAN_WEIGHT,
CAST( STDDEV( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_NET_WEIGHT ) AS DECIMAL ( 10, 4 )) AS STANDARD_DEVIATION,
SUM( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_T1_COUNT ) AS SAMPLE_T1_COUNT,
SUM( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_T2_COUNT ) AS SAMPLE_T2_COUNT,
COUNT( `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_SEQUENCE ) AS NO_OF_SAMPLES
FROM
APP_WEIGHT_SAMPLE_DETAIL
LEFT JOIN APP_WEIGHT_SAMPLE_HEADER
ON (APP_WEIGHT_SAMPLE_HEADER.SAMPLE_POINT = APP_WEIGHT_SAMPLE_DETAIL.SAMPLE_POINT)
AND (APP_WEIGHT_SAMPLE_HEADER.SAMPLE_DATE = APP_WEIGHT_SAMPLE_DETAIL.SAMPLE_DATE)
WHERE
`app_weight_sample_detail`.SAMPLE_POINT > ''
AND `app_weight_sample_header`.PROCESS_ORDER > ''
AND `app_weight_sample_header`.MATERIAL > ''
AND `app_weight_sample_detail`.SAMPLE_GROSS_WEIGHT > 0
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT > ''
AND `APP_WEIGHT_SAMPLE_HEADER`.PROCESS_ORDER > ''
AND `APP_WEIGHT_SAMPLE_HEADER`.MATERIAL > ''
AND `APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_GROSS_WEIGHT > 0
GROUP BY
`app_weight_sample_detail`.SAMPLE_DATE,
`app_weight_sample_detail`.SAMPLE_POINT
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_DATE,
`APP_WEIGHT_SAMPLE_DETAIL`.SAMPLE_POINT
</statement>


Expand Down
136 changes: 68 additions & 68 deletions b6/xml/schema/com.mysql.cj.jdbc.Driver/000191.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,97 +58,97 @@
CREATE OR REPLACE
VIEW `view_weight_samples5` AS
SELECT
`app_weight_sample_point`.`REPORTING_GROUP` AS `REPORTING_GROUP`,
MIN(`app_weight_sample_header`.`MATERIAL`) AS `MATERIAL`,
CAST(`app_weight_sample_detail`.`SAMPLE_DATE` AS DATE) AS `SAMPLE_DATE`,
MIN(`app_weight_sample_header`.`PROCESS_ORDER`) AS `PROCESS_ORDER`,
MIN(`app_weight_sample_header`.`PRODUCT_GROUP`) AS `PRODUCT_GROUP`,
MIN(`app_weight_sample_header`.`CONTAINER_CODE`) AS `CONTAINER_CODE`,
CAST(AVG(`app_weight_sample_detail`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `MEAN_WEIGHT`,
CAST(STD(`app_weight_sample_detail`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `STANDARD_DEVIATION`,
SUM(`app_weight_sample_detail`.`SAMPLE_T1_COUNT`) AS `SAMPLE_T1_COUNT`,
SUM(`app_weight_sample_detail`.`SAMPLE_T2_COUNT`) AS `SAMPLE_T2_COUNT`,
COUNT(`app_weight_sample_detail`.`SAMPLE_SEQUENCE`) AS `NO_OF_SAMPLES`
`APP_WEIGHT_SAMPLE_POINT`.`REPORTING_GROUP` AS `REPORTING_GROUP`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL`) AS `MATERIAL`,
CAST(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE` AS DATE) AS `SAMPLE_DATE`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER`) AS `PROCESS_ORDER`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`PRODUCT_GROUP`) AS `PRODUCT_GROUP`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`CONTAINER_CODE`) AS `CONTAINER_CODE`,
CAST(AVG(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `MEAN_WEIGHT`,
CAST(STD(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `STANDARD_DEVIATION`,
SUM(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T1_COUNT`) AS `SAMPLE_T1_COUNT`,
SUM(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T2_COUNT`) AS `SAMPLE_T2_COUNT`,
COUNT(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_SEQUENCE`) AS `NO_OF_SAMPLES`
FROM
((`app_weight_sample_detail`
LEFT JOIN `app_weight_sample_header` ON (((`app_weight_sample_header`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`) AND (`app_weight_sample_header`.`SAMPLE_DATE` = `app_weight_sample_detail`.`SAMPLE_DATE`))))
LEFT JOIN `app_weight_sample_point` ON ((`app_weight_sample_point`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`)))
((`APP_WEIGHT_SAMPLE_DETAIL`
LEFT JOIN `APP_WEIGHT_SAMPLE_HEADER` ON (((`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`) AND (`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_DATE` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE`))))
LEFT JOIN `APP_WEIGHT_SAMPLE_POINT` ON ((`APP_WEIGHT_SAMPLE_POINT`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`)))
WHERE
((`app_weight_sample_detail`.`SAMPLE_POINT` > '')
AND (`app_weight_sample_header`.`PROCESS_ORDER` > '')
AND (`app_weight_sample_header`.`MATERIAL` > '')
AND (`app_weight_sample_detail`.`SAMPLE_GROSS_WEIGHT` > 0))
GROUP BY `app_weight_sample_point`.`REPORTING_GROUP` , `app_weight_sample_header`.`MATERIAL` , CAST(`app_weight_sample_detail`.`SAMPLE_DATE`
((`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL` > '')
AND (`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_GROSS_WEIGHT` > 0))
GROUP BY `APP_WEIGHT_SAMPLE_POINT`.`REPORTING_GROUP` , `APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL` , CAST(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE`
AS DATE)
</statement>

<statement>
CREATE OR REPLACE
VIEW `view_weight_samples4` AS
SELECT
`app_weight_sample_detail`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
`app_weight_sample_detail`.`SAMPLE_POINT` AS `SAMPLE_POINT`,
MIN(`app_weight_sample_point`.`REPORTING_GROUP`) AS `REPORTING_GROUP`,
MIN(`app_weight_sample_header`.`MATERIAL`) AS `MATERIAL`,
MIN(`app_weight_sample_header`.`PROCESS_ORDER`) AS `PROCESS_ORDER`,
MIN(`app_weight_sample_header`.`PRODUCT_GROUP`) AS `PRODUCT_GROUP`,
MIN(`app_weight_sample_header`.`CONTAINER_CODE`) AS `CONTAINER_CODE`,
MIN(`app_weight_sample_header`.`NOMINAL_WEIGHT`) AS `NOMINAL_WEIGHT`,
MIN(`app_weight_sample_header`.`NOMINAL_WEIGHT_UOM`) AS `NOMINAL_WEIGHT_UOM`,
CAST(AVG(`app_weight_sample_detail`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `MEAN_WEIGHT`,
CAST(STD(`app_weight_sample_detail`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `STANDARD_DEVIATION`,
SUM(`app_weight_sample_detail`.`SAMPLE_T1_COUNT`) AS `SAMPLE_T1_COUNT`,
SUM(`app_weight_sample_detail`.`SAMPLE_T2_COUNT`) AS `SAMPLE_T2_COUNT`,
COUNT(`app_weight_sample_detail`.`SAMPLE_SEQUENCE`) AS `NO_OF_SAMPLES`
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT` AS `SAMPLE_POINT`,
MIN(`APP_WEIGHT_SAMPLE_POINT`.`REPORTING_GROUP`) AS `REPORTING_GROUP`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL`) AS `MATERIAL`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER`) AS `PROCESS_ORDER`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`PRODUCT_GROUP`) AS `PRODUCT_GROUP`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`CONTAINER_CODE`) AS `CONTAINER_CODE`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`NOMINAL_WEIGHT`) AS `NOMINAL_WEIGHT`,
MIN(`APP_WEIGHT_SAMPLE_HEADER`.`NOMINAL_WEIGHT_UOM`) AS `NOMINAL_WEIGHT_UOM`,
CAST(AVG(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `MEAN_WEIGHT`,
CAST(STD(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_NET_WEIGHT`) AS DECIMAL (10 , 4 )) AS `STANDARD_DEVIATION`,
SUM(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T1_COUNT`) AS `SAMPLE_T1_COUNT`,
SUM(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T2_COUNT`) AS `SAMPLE_T2_COUNT`,
COUNT(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_SEQUENCE`) AS `NO_OF_SAMPLES`
FROM
((`app_weight_sample_detail`
LEFT JOIN `app_weight_sample_header` ON (((`app_weight_sample_header`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`) AND (`app_weight_sample_header`.`SAMPLE_DATE` = `app_weight_sample_detail`.`SAMPLE_DATE`))))
LEFT JOIN `app_weight_sample_point` ON ((`app_weight_sample_point`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`)))
((`APP_WEIGHT_SAMPLE_DETAIL`
LEFT JOIN `APP_WEIGHT_SAMPLE_HEADER` ON (((`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`) AND (`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_DATE` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE`))))
LEFT JOIN `APP_WEIGHT_SAMPLE_POINT` ON ((`APP_WEIGHT_SAMPLE_POINT`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`)))
WHERE
((`app_weight_sample_detail`.`SAMPLE_POINT` > '')
AND (`app_weight_sample_header`.`PROCESS_ORDER` > '')
AND (`app_weight_sample_header`.`MATERIAL` > '')
AND (`app_weight_sample_detail`.`SAMPLE_GROSS_WEIGHT` > 0))
GROUP BY `app_weight_sample_detail`.`SAMPLE_DATE` , `app_weight_sample_detail`.`SAMPLE_POINT`
((`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL` > '')
AND (`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_GROSS_WEIGHT` > 0))
GROUP BY `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE` , `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`
</statement>

<statement>
CREATE OR REPLACE
VIEW `view_weight_samples3` AS
SELECT
`app_weight_sample_detail`.`SAMPLE_POINT` AS `SAMPLE_POINT`,
`app_weight_sample_point`.`REPORTING_GROUP` AS `REPORTING_GROUP`,
`app_weight_sample_detail`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
CAST(`app_weight_sample_header`.`SAMPLE_DATE` AS DATE) AS `SAMPLE_DATE_SHORT`,
`app_weight_sample_detail`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`app_weight_sample_detail`.`SAMPLE_WEIGHT_DATE` AS `SAMPLE_WEIGHT_DATE`,
`app_weight_sample_detail`.`SAMPLE_GROSS_WEIGHT` AS `SAMPLE_GROSS_WEIGHT`,
`app_weight_sample_detail`.`SAMPLE_WEIGHT_UOM` AS `SAMPLE_WEIGHT_UOM`,
`app_weight_sample_header`.`TARE_WEIGHT` AS `TARE_WEIGHT`,
(`app_weight_sample_detail`.`SAMPLE_GROSS_WEIGHT` - `app_weight_sample_header`.`TARE_WEIGHT`) AS `NET`,
`app_weight_sample_header`.`NOMINAL_WEIGHT` AS `NOMINAL_WEIGHT`,
`app_weight_sample_header`.`NOMINAL_WEIGHT_UOM` AS `NOMINAL_WEIGHT_UOM`,
`app_weight_sample_detail`.`SAMPLE_T1_COUNT` AS `SAMPLE_T1_COUNT`,
`app_weight_sample_detail`.`SAMPLE_T2_COUNT` AS `SAMPLE_T2_COUNT`,
`app_weight_sample_header`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`app_weight_sample_header`.`MATERIAL` AS `MATERIAL`,
`app_weight_sample_header`.`PRODUCT_GROUP` AS `PRODUCT_GROUP`,
`app_weight_sample_header`.`CONTAINER_CODE` AS `CONTAINER_CODE`
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT` AS `SAMPLE_POINT`,
`APP_WEIGHT_SAMPLE_POINT`.`REPORTING_GROUP` AS `REPORTING_GROUP`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
CAST(`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_DATE` AS DATE) AS `SAMPLE_DATE_SHORT`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_WEIGHT_DATE` AS `SAMPLE_WEIGHT_DATE`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_GROSS_WEIGHT` AS `SAMPLE_GROSS_WEIGHT`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_WEIGHT_UOM` AS `SAMPLE_WEIGHT_UOM`,
`APP_WEIGHT_SAMPLE_HEADER`.`TARE_WEIGHT` AS `TARE_WEIGHT`,
(`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_GROSS_WEIGHT` - `APP_WEIGHT_SAMPLE_HEADER`.`TARE_WEIGHT`) AS `NET`,
`APP_WEIGHT_SAMPLE_HEADER`.`NOMINAL_WEIGHT` AS `NOMINAL_WEIGHT`,
`APP_WEIGHT_SAMPLE_HEADER`.`NOMINAL_WEIGHT_UOM` AS `NOMINAL_WEIGHT_UOM`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T1_COUNT` AS `SAMPLE_T1_COUNT`,
`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_T2_COUNT` AS `SAMPLE_T2_COUNT`,
`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL` AS `MATERIAL`,
`APP_WEIGHT_SAMPLE_HEADER`.`PRODUCT_GROUP` AS `PRODUCT_GROUP`,
`APP_WEIGHT_SAMPLE_HEADER`.`CONTAINER_CODE` AS `CONTAINER_CODE`
FROM
((`app_weight_sample_detail`
LEFT JOIN `app_weight_sample_header` ON (((`app_weight_sample_header`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`) AND (`app_weight_sample_header`.`SAMPLE_DATE` = `app_weight_sample_detail`.`SAMPLE_DATE`))))
LEFT JOIN `app_weight_sample_point` ON ((`app_weight_sample_point`.`SAMPLE_POINT` = `app_weight_sample_detail`.`SAMPLE_POINT`)))
((`APP_WEIGHT_SAMPLE_DETAIL`
LEFT JOIN `APP_WEIGHT_SAMPLE_HEADER` ON (((`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`) AND (`APP_WEIGHT_SAMPLE_HEADER`.`SAMPLE_DATE` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_DATE`))))
LEFT JOIN `APP_WEIGHT_SAMPLE_POINT` ON ((`APP_WEIGHT_SAMPLE_POINT`.`SAMPLE_POINT` = `APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT`)))
WHERE
((`app_weight_sample_detail`.`SAMPLE_POINT` > '')
AND (`app_weight_sample_header`.`PROCESS_ORDER` > '')
AND (`app_weight_sample_header`.`MATERIAL` > '')
AND (`app_weight_sample_detail`.`SAMPLE_GROSS_WEIGHT` > 0))
((`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_POINT` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`PROCESS_ORDER` > '')
AND (`APP_WEIGHT_SAMPLE_HEADER`.`MATERIAL` > '')
AND (`APP_WEIGHT_SAMPLE_DETAIL`.`SAMPLE_GROSS_WEIGHT` > 0))
</statement>

<statement>
CREATE OR REPLACE VIEW
view_app_weight_sample_point as
select * from app_weight_sample_point where enabled = 'Y'
select * from APP_WEIGHT_SAMPLE_POINT where enabled = 'Y'
</statement>

<statement>
Expand All @@ -160,6 +160,6 @@
<statement>
CREATE OR REPLACE VIEW
view_sample_point_groups AS
select distinct reporting_group from app_weight_sample_point where enabled = 'Y'
select distinct reporting_group from APP_WEIGHT_SAMPLE_POINT where enabled = 'Y'
</statement>
</DDL>
Binary file modified b6web_t10_android_eb3/WebContent/WEB-INF/lib/commander4j.jar
Binary file not shown.
Loading

0 comments on commit f1a0099

Please sign in to comment.