Step 1: Back up the Reports.dic file, and then start Report Writer
- If you have any modified Microsoft Dynamics GP reports, back up the Reports.dic file. To locate the Reports.dic file, follow these steps:
- Use the appropriate step:
- In Microsoft Dynamics GP 10.0, point to Tools on the Microsoft Dynamics GP menu, point to Setup, point to System, and then click Edit Launch File.
- In Microsoft Dynamics GP 9.0 and in Microsoft Business Solutions - Great Plains 8.0, point to Setup on the Tools menu, point to System, and then click Edit Launch File.
- If you are prompted, type the system password.
- Use the appropriate step:
- In Microsoft Dynamics GP 10.0 and in Microsoft Dynamics GP 9.0, click Microsoft Dynamics GP in the Edit Launch File window.
- In Microsoft Business Solutions - Great Plains 8.0, click Great Plains in the Edit Launch File window.
- Note the path that appears in the Reports box.
- To close the Edit Launch File window, click OK.
- Use the appropriate step:
- In Microsoft Dynamics GP 10.0, point to Tools on the Microsoft Dynamics GP menu, point to Customize, and then click Report Writer.
- In Microsoft Dynamics GP 9.0 and in Microsoft Business Solutions - Great Plains 8.0, point to Customize on the Tools menu, and then click Report Writer.
- Use the appropriate step:
- In Microsoft Dynamics GP 10.0 and in Microsoft Dynamics GP 9.0, click Microsoft Dynamics GP in the Product list, and then click OK.
- In Microsoft Business Solutions - Great Plains 8.0, click Great Plains in the Product list, and then click OK
Step 2: Create the table relationship
- Click Tables two times.
- Click RM_Statements_TRX_TEMP, and then click Open.
- Click Relationships, and then click New.
- Click the ellipsis button (...) next to the Secondary Table field, click RM Open File, and then click OK.
- In the Secondary Table Key list, click RM_OPEN_Key1.
- Click the values in the Primary Table column that match the values in the Secondary Table column, and then click OK.
- In the Table Relationship window, click Close.
- In the Table Definition window, click OK.
- Close the Tables window.
Step 3: Modify the report
- Click Reports.
- If this is the first time that the "RM Statement on Blank Paper" report has been modified, follow these steps:
- In the Original Reports list, click RM Statement on Blank Paper.
- Click Insert.
- In the Modified Reports window, click RM Statement on Blank Paper.
- Click 1.
- Click Tables.
- Click RM Statements Transactions Temporary File, and then click New.
- Click RM Open File, and then click OK.
- Close the Report Table Relationships window.
Step 4: Create a conditional field
- Click Layout.
- In the Toolbox window, click Calculated Fields in the resource list, and then click New.
- In the Name field, type Amount Remaining.
- In the Result Type list, click Currency.
- In the Expression Type area, click Conditional.
- Click the Fields tab.
- In the Resources list, click RM Open File.
- In the Field list, click RM Document Type-All, and then click Add.
- In the Operators area, click >=.
- Click the Constants tab.
- In the Type list, click Integer.
- In the Constant box, type 7, and then click Add.
- Click the True Case field, and then click the Fields tab.
- In the Resources list, click RM Open File.
- In the Field list, click Current Trx Amount, and then click Add.
- In the Operators area, click *.
- Click the Constants tab.
- In the Type list, click Currency.
- In the Constant box, type -1.00000, and then click Add.
- Click the False Case field, and then click the Fields tab.
- In the Resources list, click RM Open File.
- In the Field list, click Current Trx Amount, and then click Add.
Note The Expressions Calculated field should contain the following formula.
Conditional: RM_OPEN.RM Document Type-All >= 7
True Case: RM_OPEN.Current Trx Amount * -1.00000
False Case: RM_OPEN.Current Trx Amount
- Click OK.
Step 5: Add the calculated field to the "RM Statement on Blank Paper" report
- In the Toolbox window, click Calculated Fields in the resource list.
- Drag the Amount Remaining field to the B area of the report. The B area of the report is the body area of the report.
- Double-click the Amount Remaining field to open the Report Field Options window.
- In the Display Options list, click Visible.
- In the Display Type list, click Data.
- In the Format Field area, click RM Statement Transaction Temp, and then click OK.
Step 6: Exit Report Writer
- Close the report. When you are prompted to save the changes, click Save.
- In the Report Definition window, click OK.
- Use the appropriate step:
- In Microsoft Dynamics GP 10.0 and in Microsoft Dynamics GP 9.0, click Microsoft Dynamics GP on the File menu.
- In Microsoft Business Solutions - Great Plains 8.0, click Microsoft Business Solutions - Great Plains on the File menu.
Step 7: Grant access to the "RM Statement on Blank Paper" report
Method 1: Use security in Microsoft Dynamics GP 10.0
- Point to Tools on the Microsoft Dynamics GP menu, point to Setup, point to System, and then click Alternate/Modified Forms and Reports.
- In the ID box, type the user ID of the user who will print this modified report.
- In the Product list, click Microsoft Dynamics GP.
- In the Type list, click Reports.
- Expand the Sales folder.
- Expand the folder for the report that you modified.
- Click Microsoft Dynamics GP (Modified).
- Click Save.
- On the Microsoft Dynamics GP menu, point to Tools, point to Setup, point to System, and then click User Security.
- In the User list, click a user ID.
- In the Company list, click a company.
- In the Alternate/Modified Forms and Reports ID list, click the ID that you typed in step 2 earlier in this section.
Method 2: Use the Advanced Security tool in a version earlier than Microsoft Dynamics GP 10.0
- On the Tools menu, point to Setup, point to System, and then click Advanced Security.
- If you are prompted, type the system password in the Please Enter Password box, and then click OK.
- In the Advanced Security window, click View, and then click By Alternate, Modified and Custom.
- Use the appropriate step:
- In Microsoft Dynamics GP 9.0, expand Microsoft Dynamics GP.
- In Microsoft Business Solutions - Great Plains 8.0, expand Great Plains.
- Expand Reports, expand Sales, and then expand the report that you modified.
- Use the appropriate step:
- In Microsoft Dynamics GP 9.0, click Microsoft Dynamics GP (Modified).
- In Microsoft Business Solutions - Great Plains 8.0, click Great Plains (Modified).
- Click Apply, and then click OK.
Note By default, when you start the Advanced Security tool, the current user and the current company are selected. Any changes that you make affect the current user and the current company. However, you can select additional users in the Users area of the Advanced Security window. You can select additional companies in the Company Name area of the Advanced Security window.
Method 3: Use the Standard Security tool in a version earlier than Microsoft Dynamics GP 10.0
- On the Tools menu, point to Setup, point to System, and then click Security.
- If you are prompted, type the system password in the Please Enter Password box, and then click OK.
- In the User ID list, click the ID of the user who you want to have access to the modified report.
- In the Type list, click Modified Reports.
- In the Series list, click Sales.
- In the Access List box, double-click the report that you modified, and then click OK.
Note An asterisk (*) appears next to the report name.
|