Download Oracle HRMS Implementation Guide
Transcript
Registering the Report Once the SRW2 report is written, you must register it as a Cheque Writer report. This is similar to registering ’Cash Analysis Rules’ for the Pre–Payments process. You must also define a new Quickcode Value for the Type of ’CHEQUE_REPORT’. Enter the report name and description. In a similar way to the Magnetic Tape process, the file generated by the report is named: p<trunc(conc_request_id,5)>.c<chunk_number> The file name is padded with zeros if the length of the request id is shorter than five characters, for example, p03451.cl. It is written to a directory, such that: if $APPLCSF is defined write to $APPLCSF/$APPLOUT else write to $PAY_TOP/$APPLOUT end if If Cheque Writer is run with multiple threads, it produces several files. This is because Cheque Writer assignment actions are split into several chunks, one chunk per thread. So, each thread can pick a chunk and process it. This is done to improve performance on machines with multiple processors. For example, if there are four threads processing, there would be four files produced: • p03451.c1 • p03451.c2 • p03451.c3 • p03451.c4 Cheque Writer creates a fifth file (by the process which concatenates the four files into one), the name of this file is p03451.ch. Using or Changing the PL/SQL Procedure Cheque Writer updates the assignment actions with the cheque and chunk number in the sequence, determined by a PL/SQL procedure, B – 56 Oracle HRMS Implementation Guide