Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
R5.3.1
MALS-1248 - Dairy Test Result - IH Correspondence
Move the functionality from the view and into the stored procedure.
This approach should improve performance and make it easier to support.
The view pr_update_dairy_farm_test_results can be dropped
VIEW: MAL_DAIRY_FARM_TEST_INFRACTION_VW
DATA: MAL_DAIRY_FARM_TEST_INFRACTION_LU
PROCEDURE: PR_UPDATE_DAIRY_FARM_TEST_RESULTS
R5.3.1
MALS-1248 - Apiary licenses printing client's name as client and as company on certificates
APIARY and BULK TANK MILK GRADER will use Company Name only, and three others will use a new column named derived_company_name, which has the existing logic.
VIEW: MAL_PRINT_CERTIFICATE_VW
MALS-1246 Renewal Notice for Purchase Live Poultry Incorrect
Added DispLicenceExpiryDate key/value pair to the JSON output.
MALS-1248 - Apiary licenses printing client's name as client and as company on certificates
APIARY and BULK TANK MILK GRADER will use Company Name only, and four others will use a new column named derived_company_name, which has the existing logic.
VIEW: MAL_PRINT_RENEWAL_VW
MALS-1253 Add a column for postal codes to the Apiary_Site_Report
Add a column for Site postal codes to the view and procedure
MALS-1189 Producer Analysis Report by Region not calculating correctly
Add Licence Region, District and City to support updates to the Apiary Producer report updates.
The columns did not get used by the proc as direction ws given to switch to use the Licence hive counts.
VIEW: MAL_APIARY_PRODUCER_VW
PROCEDURE: PR_GENERATE_PRINT_JSON_APIARY_SITE
MALS-1249 Dairy Test Inventory showing FFA Warning & Penalties being issued - this is incorrect
Deleted existing Wartning and Penalties data. Removed functionality to populate those columns, from the stored procedure.
UPDATE: DAIRY_FARM_TEST_RESULT
PROCEDURE: PR_UPDATE_DAIRY_FARM_TEST_RESULTS
MALS-1189 Producer Analysis Report by Region not calculating correctly
Add Licence Region, District and City to support updates to the templates.
PROCEDURE: PR_GENERATE_PRINT_JSON_APIARY_PRODUCER_REGION
PROCEDURE: PR_GENERATE_PRINT_JSON_APIARY_PRODUCER_DISTRICT