RS_PRINT_SALES_CN
This table returns CN Header records to external functions
tablevirtualFINRSsince 5.9
RS_PRINT_SALES_CN — This table returns CN Header records to external functions. FIN virtual table in the standard Ross ERP 8.0 and 8.1 schema: 41 columns, used by 2 programs. Its fields, data types, and the programs and web services that fill it.
Open RS_PRINT_SALES_CN in the interactive Data Dictionary →Part of RS tables & objects · all tables, views & procedures
A GEMBASE virtual table: a record layout programs fill in memory and the web services below carry as their payload. Ross ERP creates no SQL table for it.
Columns
| # | Column | Type | Key | Description |
|---|---|---|---|---|
| 1 | BASE_CURRENCY | varchar(6) | Currency code for the base value | |
| 2 | BASE_VALUE | numeric(20,2) | Grand Total CN value in base currency | |
| 3 | COMPANY_CODE | varchar(10) | Company Code | |
| 4 | CREDIT_DATE | datetime | Credit Note Date | |
| 5 | CREDIT_NOTE_ADDRESS_1 | varchar(40) | Address Line 1 | |
| 6 | CREDIT_NOTE_ADDRESS_2 | varchar(40) | Address Line 1 | |
| 7 | CREDIT_NOTE_ADDRESS_3 | varchar(40) | Address Line 1 | |
| 8 | CREDIT_NOTE_ADDRESS_4 | varchar(40) | Address Line 1 | |
| 9 | CREDIT_NOTE_ADDRESS_5 | varchar(40) | Address Line 1 | |
| 10 | CREDIT_NOTE_FAX_NUMBER | varchar(21) | Fax Number | |
| 11 | CREDIT_NOTE_NAME | varchar(60) | Customer Name | |
| 12 | CREDIT_NOTE_NUMBER | int | Credit Note Number | |
| 13 | CREDIT_NOTE_PHONE | varchar(21) | Phone Number | |
| 14 | CREDIT_NOTE_TELEX | varchar(20) | Telex No | |
| 15 | CUSTOMER_CONTACT | varchar(20) | Customer Contact | |
| 16 | CUSTOMER_NUMBER | varchar(8) | Customer Number | |
| 17 | CUSTOMER_REFERENCE | varchar(25) | Customer Reference | |
| 18 | DIVISION | varchar(2) | Division | |
| 19 | FOOTING_TOTAL_DISC_VALUE | numeric(20,2) | Total of all line discounts | |
| 20 | FOOTING_TOTAL_LINE_VALUE | numeric(20,2) | Total of all lines | |
| 21 | FOOTING_TOTAL_VALUE | numeric(20,2) | Total of all lines including discounts | |
| 22 | FREIGHT | numeric(20,2) | Freight Value | |
| 23 | INVOICE_DISCOUNT | numeric(20,2) | Invoice Discount | |
| 24 | MISCELLANEOUS | numeric(20,2) | Miscellaneous Charge | |
| 25 | PA_CONTRACT_CODE | varchar(8) | Contract Code (added in 6.3) | |
| 26 | PA_CONTRACT_DESCRIPTION | varchar(30) | Code Description (added in 6.3) | |
| 27 | PRICING_METHOD | smallint | Pricing method, tax exclusive or inclusive (added in 6.2) | |
| 28 | PROMPT_LANGUAGE_CODE | varchar(8) | Language Code | |
| 29 | SALESPERSON_CODE | varchar(8) | Salesperson Code | |
| 30 | SYS_COUNTRY | varchar(6) | Country Code | |
| 31 | SYS_CURRENCY_CODE | varchar(6) | Currency Code | |
| 32 | SYS_CURRENCY_RATE | numeric(20,12) | Currency Rate | |
| 33 | SYS_CURRENCY_SHORT_DESC | varchar(15) | Short Description | |
| 34 | SYS_TAX_REFERENCE_BRANCH | varchar(4) | Tax Branch Reference | |
| 35 | TAX_ON_FREIGHT | numeric(20,2) | Tax on Freight | |
| 36 | TAX_ON_MISCELLANEOUS | numeric(20,2) | Tax on Miscellaneous | |
| 37 | TAX_REFERENCE | varchar(20) | Tax Reference | |
| 38 | TOTAL_CREDIT_NOTE_VALUE | numeric(20,2) | The Grand Total of CN | |
| 39 | TOTAL_LINE_TAX | numeric(20,2) | Total of all line taxes | |
| 40 | TOTAL_TAX | numeric(20,2) | Total Tax This Period | |
| 41 | RMA_RESTOCKING_FEE | numeric(20,2) | Total Invoice Line Value in Currency (added in 8.1) |