Registry COP Invoice (sys-report-rcopinvce)


Controls formatting, graphics and archiving on this invoice.

Testing Your Registry Entries
The system does not verify the validity of registry entries. Be sure to test your registry entries after completing them to verify that they are functioning correctly.

Setting Values are Uppercase-Lowercase Sensitive:
The Setting Value is case-sensitive: be sure that you enter the value exactly as specified in the documentation. If the documentation specifies a value of true, do NOT enter True or TRUE.


There is a problem with report archiving if you have a report dialog registry entry (such as 'sys-report-dialog-rcopinvce or sys-printer-dialog-rcopinvce') with the contents 'olddialog'.  If this entry is in place, you do get the 'did invoice print correctly' box BUT none of the archiving associated with a 'yes' (as specified in sys-report-rcopinvce) occurs. 

Related Registry Options:

Print the COP Invoice in Portrait Format: COP Invoice Format

COP Freight Sales Tax by State

Specify AR Control Account for COP Invoice

Important Fields:

Id: sys-report-rcopinvce

See the Standard Registry section in Registry Viewer for additional Registry Id formats to allow entries for specific Users, Branches, Security, or User Groups to override the main entry.


This field is optional but highly recommended.  

Display Sales Tax Authorities on COP Portrait Invoice (Canadian Sales Tax)

When this option is enabled, up to 2 Sales Tax Authorities (derived from the Sales Tab Group) will be displayed on the COP Invoice. In addition, the name of the sales tax authority will print instead of simply 'SALES TAX'. This is currently implemented for the Portrait mode only. The following registry entry is required to enable this functionality.

Registry Id: sys-report-rcopinvce  

Setting Key: MultipleSalesTaxLines    Setting Value: Yes

Adjust the Number of Lines Per Page (do not implement for the Portrait Invoice)

This registry option enables you to adjust the number of lines per page on the body of the Client Order Invoice. It would be implemented if this report runs a little long (or a little short) on your printer.

The footer information on the COP invoice is not controlled by this entry.

This option conform to one of the following formats:

Setting Key: linesperpageadjustment Setting Value: +n

Setting Key: linesperpageadjustment Setting Value: -n

where n is replaced by the number of lines you wish to shorten (for example, -1) or lengthen the page (+2).

Extra Lines Option - Portrait Invoice

This option may be used to correct a formatting problem with the Portrait format of the COP Invoice when 14 detail lines were printed on the final page. This resulted in the last line 'stepping on' the total and comments fields. Setting the Setting Value to 1 on the following option correct this issue.

Id: sys-report-rcopinvce

Setting Key: ExtraLinesForView~orderitem Setting Value: 1

Extra Lines Option - Landscape Invoices

Setting Key: ExtraLinesForView~orderitem Setting Value: n

This functionality corrects a COP Invoice problem that occurred in the Landscape invoice when 7 detail lines were printed and then the total lines were not hitting within the bitmap total box.

The number of lines to correct this problem with typically range from 1 to 3, and will force the 7th line to the next page, resulting in the totals being positioned correctly.


Setting Key: linesperpageadjustment Setting Value: +3  (existing option for this report)

Setting Key: ExtraLinesForview~orderitem Setting Value: 2  (new option)


To include your logo on the report, see Report Graphics.

Include Message of the Day

Setting Key: motd# Setting Value: Message to Appear on Invoice

Where # is replaced by the line number of the message. Lines are to be printed in ascending order of their keys. Up to 6 lines (of 60 characters or less) may be printed.

The print area is shared with the rarely used proforma advice lines on the lower left-hand section of the page. MOTD lines will only by printed if there are no proforma advice lines to be printed.

Note than when doing an invoice reprint, the current MOTD, not the original MOTD will be printed.

Autosaving COP Invoices

Setting Key: autosavefilename Setting Value: name,^sectionkeyvalue^,^date^,^time^
You may use some or all of the parameters in this option. If more that one is used, parameters should be separated by commas.

If used, name should be replaced a short description of the report (COPInvoice).

If used, the system will replace ^sectionkeyvalue^ with the corresponding invoice number stored in the report. Note that if you use this parameter you must also specify the autosavebysection option is set to true discussed below.

If used, the ^date^ and ^time^ parameters will be replaced by the system date and time when the report is run. These parameters effectively prevent the system from overwriting existing copies of the report. (as the date and time combination will serve to create a unique filename). If only the most recent version of a document is to be retained, the ^date^ and ^time^ parameters should not be used.

Setting Key: autosavebysection Setting Value: true
This option is used to save COP Invoices as individual files. autosavebysection=true should only be used in conjunction with the ^sectionkeyvalue^ parameter of the autosavefilename option discussed above.

Setting Key: autosave Setting Value: true

or Setting Key: autosavewhenprinted Setting: true
Autosave is implemented when you specify one of these options. If you specify the autosave=true option, the report will be saved when it appears on the screen. If you specify the autosavewhenprint=true option, the report will be saved when it is sent to the printer; this option is highly recommended.

Setting Key: autosavefiletype Setting Value: filetype

where filetype is replaced by the format in which you wish to save the report. If you do not include this entry, DBReport is selected. The following are recommended options:

 Value  Notes

 PDF  (Adobe Acrobat)

 DBReport (Requires Data-Basics report reader to view)

Setting Key: autosaveoverwrite Setting Value: true or false
If you specify the true option, the system will overwrite the most recent copy of a report file. Typically, this is the setting that you would use for invoices.

Setting Value: autosavedirectory Setting Value: path

where path is replaced by full path to the directory that you want your reports stored in. If you are specifying a url share path make sure that the directory below the ones that will be created is shared.