Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Repair Jira Macros

Problem

Running the report REINF010 - Receival Slips Uninvoiced is incorrectly including reversed and reversal GRN's

Solution

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId91fbcd9b-5d0b-3b97-a585-1a06ec62a231
keyDEV-5192

Warning
titleSQL skills are required

A sound knowledge of SQL is required to complete this task.


A modified report and stored procedure is attached to the article to the that excludes reversals from the report.  This correction has been included in 7.01.00 and higher

Panel
bgColor#fff
Download and save the attached stored procedure and report and then

  1. Run the SQL script over the relevant database
  2. Run stored procedure Grant_All_User_Tables
  3. Login to the database
  4. System Settings > Report Configuration > Reports
  5. Click Refresh from Files
  6. Select the report to be imported and OK
  7. Message displays to indicate report has been successfully updated

Image Added

NOTE: If you get the error 'Database vendor error code 229 ...' when running the report, then step 2 has been missed.

View file
nameREINF010 - Receival Slips Uninvoiced.rpt
height250
View file
nameusp_JIWA_Receivals_ReceivalSlipsUninvoiced.sql
height250

Filter by label (Content by label)
showLabelsfalse
max5
spacesJ7UG
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "grn" , "reports" ) and type = "page" and space = "J7UG"
labelsGRN reports

...