SA_DETAIL_LINES
Sales Analysis Detail Lines
tableFINSA
SA_DETAIL_LINES — Sales Analysis Detail Lines. FIN table in the standard Ross ERP 8.0 schema: 70 columns, used by 11 programs. Columns, data types, keys, foreign keys and relationships.
Open SA_DETAIL_LINES in the interactive Data Dictionary →Part of SA tables & objects · all tables, views & procedures
Columns
| # | Column | Type | Key | Description |
|---|---|---|---|---|
| 1 | GEM_DBKEY | int | GEMBASE internal surrogate primary key: a system-generated unique row identifier (the database key). Not a business field; every table carries one. | |
| 2 | COMPANY_CODE | varchar(10) | PK | Company Code |
| 3 | DIVISION | varchar(2) | PK | Division |
| 4 | TRANSACTION_TYPE | varchar(2) | PK | Transaction Type |
| 5 | TRANSACTION_NUMBER | int | PK | Transaction Number |
| 6 | TRANSACTION_LINE_NUMBER | int | PK | Transaction line number used for tax reporting purposes |
| 7 | ORDER_NUMBER | varchar(9) | Order Number | |
| 8 | ORDER_LINE_NUMBER | int | Order Line Number | |
| 9 | PART_CODE | varchar(15) | FK→PRODUCT_MASTER | Product |
| 10 | WAREHOUSE | varchar(2) | FK→PRODUCT_WAREHOUSE | Warehouse Code |
| 11 | BATCHES_EXIST | varchar(1) | Lot Part | |
| 12 | UNIT_SALES | varchar(4) | Unit of Measure (Sales) | |
| 13 | UNIT_PRICE | varchar(4) | Unit of Measure (Pricing) | |
| 14 | SALES_PRICE | numeric(20,4) | Standard Sales Price | |
| 15 | UNIT_COST | numeric(20,6) | Unit Cost | |
| 16 | LINE_TAX | numeric(20,2) | Line Tax | |
| 17 | LINE_DISCOUNT | numeric(20,2) | Line Discount | |
| 18 | DELIVERY_ADDRESS_CODE | varchar(10) | Delivery Address Code | |
| 19 | CUSTOMER_TAX_CODE | varchar(5) | Customer Tax Code | |
| 20 | PRODUCT_TAX_CODE | varchar(5) | Product Tax Code | |
| 21 | SALESPERSON_CODE | varchar(8) | Salesperson Code | |
| 22 | SALES_COMMISSION_CODE | varchar(6) | Sales Commission Group | |
| 23 | LOCATION | varchar(8) | Location | |
| 24 | SALES_ANALYSIS_GROUP | varchar(8) | Sales Analysis Group Code | |
| 25 | WEIGHT | numeric(20,4) | Weight of Product | |
| 26 | WEIGHT_UOM | varchar(4) | Weight Unit of Measure | |
| 27 | VOLUME | numeric(20,4) | Total Volume (cubic size) | |
| 28 | VOLUME_UOM | varchar(4) | Volume Unit of Measure | |
| 29 | BIN_LOCATION | varchar(15) | Bin Location | |
| 30 | CUSTOMERS_PART_CODE | varchar(20) | Customer Product | |
| 31 | UNIT_SALES_WORK | varchar(4) | ||
| 32 | STATUS_FLAG | varchar(1) | Status Flag | |
| 33 | DETAIL_DESCRIPTION | text | Detailed Description | |
| 34 | SALES_ORDER_DETAIL_DESCRIPTION | text | Order Line Detail Description | |
| 35 | COMMISSION_UPDATE_FLAG | varchar(1) | Sales Commission Update Indicator | |
| 36 | CUSTOMER_NUMBER | varchar(8) | FK→CUSTOMERS | Customer Number |
| 37 | INVOICE_LINE_TYPE | varchar(1) | Invoice Line Type | |
| 38 | INVOICE_LINE_REFERENCE | varchar(8) | Invoice Line Reference | |
| 39 | PRODUCT_GROUP | varchar(6) | Product Group | |
| 40 | GL_DISTRIBUTIONS_VALUE | numeric(20,2) | Total GL Distribution Value For This Sales Invoice Line | |
| 41 | COST_OF_SALE | numeric(20,2) | Cost Of Sale | |
| 42 | ORDER_HORIZON | varchar(1) | Order Horizon | |
| 43 | DESPATCH_NOTE | int | Shipping Note | |
| 44 | DESPATCH_LINE | int | Ship Note Line Number | |
| 45 | PICK_LIST_NUMBER | int | Pick List Run Number | |
| 46 | PICK_LINE | int | Picking Line Number | |
| 47 | CUSTOMER_GROUP | varchar(8) | Customer Sales Analysis Group | |
| 48 | ORDER_SEQUENCE | smallint | ||
| 49 | COST_CENTER | varchar(3) | Cost Center Code | |
| 50 | FREIGHT | numeric(20,2) | Freight Value | |
| 51 | MISCELLANEOUS | numeric(20,2) | Miscellaneous Charge | |
| 52 | TRANSACTION_DATE | datetime | Transaction Date | |
| 53 | SA_TOTAL_CURRENCY | numeric(20,2) | Total Line Value in Transaction Currency | |
| 54 | SA_TOTAL_BASE | numeric(20,2) | Total Line Value in Base Currency | |
| 55 | SF_ERROR_MESSAGE | varchar(10) | SF Summarise Failure Message Number | |
| 56 | SF_UPDATED_FLAG | varchar(1) | Sales Forecasting Updated Flag | |
| 57 | SYS_CURRENCY_CODE | varchar(6) | Currency Code | |
| 58 | SYS_CURRENCY_RATE | numeric(20,12) | Currency Rate | |
| 59 | SYS_CURRENCY_RATIO_INDIC | varchar(1) | Ratio Indicator | |
| 60 | SYS_BASE_CURRENCY | varchar(6) | ||
| 61 | SOP_NOMINATED_UNIT | varchar(4) | Inventory unit which Sales unit converts to | |
| 62 | SOP_NOMINATED_PRICE_UNIT | varchar(4) | Inventory unit which Sales Pricing unit converts to | |
| 63 | IC_UNIT_COST | varchar(4) | ||
| 64 | SA_TOTAL_2_BASE | numeric(20,2) | ||
| 65 | SOP_GOODS_VALUE_CURRENCY | numeric(20,2) | Value of Goods | |
| 66 | FREIGHT_TAX_CODE | varchar(5) | Tax code associated with this freight code | |
| 67 | TAX_ON_FREIGHT | numeric(20,2) | Tax on Freight | |
| 68 | TP_POST_INVOICE_DISC_AMT | numeric(20,2) | Post Invoice Discount Amount | |
| 69 | SALES_PRICE_INC_TAX | numeric(20,4) | Standard Sales Price Including Tax | |
| 70 | GEM_ARCHIVE_FLAG | varchar(20) | System flag indicating whether the row has been archived by the GEMBASE archive process. |