Home / Support Resources / Adding Item Number and Item Description to the RM Statement
Adding Item Number and Item Description to the RM Statement
- In Report Writer (tools | customize | report writer), choose the Tables icon from the top menu.
- In the Tables window, highlight RM_Statement_TRX_TEMP and choose the Open button.
- In the Table Definition window, choose the Relationships button.
- Then choose the New button.
- Click on the Ellipse button to the right of the Secondary Table Line. (The button = three periods.)
- Select the RM Open File and click OK.
- For the Secondary Table Key select: Key 1
Match the appropriate fields:
(Primary Table, Secondary Table=Customer Number)
(Primary Table, Secondary Table=RM Document Type-All)
Primary Table=Document Number Secondary Table=Invoice Number
- Choose OK.
- Close the Table Relationships window by clicking on the X in the upper right corner.
- Click OK
- Once again, in the Tables window, highlight RM_OPEN and choose the Open button.
- In the Table Definition window, choose the Relationships button.
- Then choose the New button.
- Click on the Ellipse button to the right of the Secondary Table Line. (The button = three periods.)
- Select the Sales Transaction History and click OK.
- For the Secondary Table Key select: Key 4
Match the appropriate fields:
Primary Table = Document Number
Secondary Table = SOP Number
- Choose OK.
- Close the Table Relationships window by clicking on the X in the upper right corner.
- Click OK.
- Close the Tables window by clicking on the X in the upper right corner of that window.
- In Report Writer, click on the Reports icon from the top menu bar.
- From the Original Reports side, select the RM Statement you are using (i.e. RM Statement
Long Form) and click on Insert.
- Then on the Modified Reports side, select the same report and choose the Open button.
- In the Report Definition window, choose the Tables button.
- In the Report Table Relationships window, select the RM Statements Transactions
Temporary File and choose the New button.
- Select the RM Open File and choose the OK button.
- In the Report Table Relationships window, select the RM Open File and choose New.
- Select the Sales Transaction History and choose the OK button.
- In the Report Table Relationships window, select the Sales Transaction History and choose
the New button.
- Select the Sales Transaction Amounts History and choose the OK button.
- Select the Close button.
- Choose the Layout button.
- In the Toolbox, choose the Sales Transaction Amounts History table from the drop-down list.
- Add the Item Number and Item Description fields to the Body (B) section of the report layout.
** Note: Following these may cause an invoice to print multiple times on the statement. It will print once for each line item. The running balance will calculate correctly, adding the invoice amount only once, even though it prints multiple times. You cannot create an additional header to correct this problem. Doing so will cause other problems on the report.
- Save the report.
- Grant security to the report in Setup | System | Security, for the users and companies that
need to be able to generate the report.