|
|
SAP Business One SDK 10.0 - Database Tables Reference |
G/L Account Advanced Rules for Resources
Table Name: OGRS
Table Description: G/L Account Advanced Rules for Resources
| Field | Description | Type | Size | Related | Default Value | Constraints | |
| AbsEntry | Internal Number | Int | 11 | - | Â | Â | Â |
| PeriodCat | Period Category | nVarChar | 10 | - | Â | Â | Â |
| FinancYear | Beginning of Financial Year | Date | 8 | - | Â | Â | Â |
| Year | Financial Year | Int | 6 | - | Â | Â | Â |
| PeriodName | Period Name | nVarChar | 20 | - | Â | Â | Â |
| SubType | Sub-Period Type | VarChar | 1 | - | Y | Y | Year |
| Â | Â | Â | Â | Â | Â | Q | Quarters |
| Â | Â | Â | Â | Â | Â | M | Months |
| Â | Â | Â | Â | Â | Â | D | Days |
| PeriodNum | Number of Periods | Int | 11 | - | Â | Â | Â |
| F_RefDate | Posting Date From | Date | 8 | - | Â | Â | Â |
| T_RefDate | Posting Date To | Date | 8 | - | Â | Â | Â |
| F_DueDate | Due Date From | Date | 8 | - | Â | Â | Â |
| T_DueDate | Due Date To | Date | 8 | - | Â | Â | Â |
| F_TaxDate | Document Date From | Date | 8 | - | Â | Â | Â |
| T_TaxDate | Document Date To | Date | 8 | - | Â | Â | Â |
| LogInstanc | Log Instance | Int | 11 | - | Â | Â | Â |
| UpdateDate | Date of Update | Date | 8 | - | Â | Â | Â |
| UserSign | User Signature | Int | 6 | OUSR | Â | Â | Â |
| UserSign2 | Updating User | Int | 6 | OUSR | Â | Â | Â |
| ResCode | Resource No. | nVarChar | 50 | ORSC | Â | Â | Â |
| ResGrpCod | Resource Group | Int | 6 | ORSB | Â | Â | Â |
| WhsCode | Warehouse Code | nVarChar | 8 | - | Â | Â | Â |
| BPGrpCod | BP Group | Int | 6 | - | Â | Â | Â |
| LicTradNum | Federal Tax ID | nVarChar | 32 | - | !^| | !^| | All |
| Â | Â | Â | Â | Â | Â | !^|E | Empty |
| Â | Â | Â | Â | Â | Â | !^|F | Filled |
| Â | Â | Â | Â | Â | Â | Enter Tax ID | Enter Tax ID |
| ShipCountr | Ship-to Country/Region | nVarChar | 3 | - | Â | Â | Â |
| ShipState | Ship-To State | nVarChar | 3 | - | Â | Â | Â |
| Comments | Remarks | nVarChar | 254 | - | Â | Â | Â |
| CreateDate | Creation Date | Date | 8 | - | Â | Â | Â |
| RuleCode | Advanced Rule Code | nVarChar | 20 | - | Â | Â | Â |
| GLMethod | Get G/L Account By | VarChar | 1 | - | A | A | General |
| Â | Â | Â | Â | Â | Â | W | Warehouse |
| Â | Â | Â | Â | Â | Â | C | Resource Group |
| Transfered | Year Transfer [Y/N] | VarChar | 1 | - | N | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| FromDate | From Date | Date | 8 | - | Â | Â | Â |
| ToDate | To Date | Date | 8 | - | Â | Â | Â |
| ResRevAct | Resource Revenue Account | nVarChar | 15 | OACT | Â | Â | Â |
| ResExpAct | Resource Expense Account | nVarChar | 15 | OACT | Â | Â | Â |
| ResSaleAct | Resource Sales Credit Account | nVarChar | 15 | OACT | Â | Â | Â |
| ResPurAct | Resource Purchase Credit Acct | nVarChar | 15 | OACT | Â | Â | Â |
| ResNInvAct | Resource Received Not Inv. Acct | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp1 | Resource Std. Cost Expense 1 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp2 | Resource Std. Cost Expense 2 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp3 | Resource Std. Cost Expense 3 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp4 | Resource Std. Cost Expense 4 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp5 | Resource Std. Cost Expense 5 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp6 | Resource Std. Cost Expense 6 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp7 | Resource Std. Cost Expense 7 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp8 | Resource Std. Cost Expense 8 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdExp9 | Resource Std. Cost Expense 9 | nVarChar | 15 | OACT | Â | Â | Â |
| ResStdEx10 | Resource Std. Cost Expense 10 | nVarChar | 15 | OACT | Â | Â | Â |
| ResWipAct | Resource WIP Account | nVarChar | 15 | OACT | Â | Â | Â |
| ResScrapAc | Scrap Account | nVarChar | 15 | OACT | Â | Â | Â |
| WipOffPlAc | WIP Offset P&L Account | nVarChar | 15 | OACT | Â | Â | Â |
| ResOffPlAc | Resource Offset P&L Account | nVarChar | 15 | OACT | Â | Â | Â |
| Active | Is Rule Active | VarChar | 1 | - | Y | Y | Yes |
| Â | Â | Â | Â | Â | Â | N | No |
| CmpPrivate | Company/Private | VarChar | 1 | - | A | A | All |
| Â | Â | Â | Â | Â | Â | C | Company |
| Â | Â | Â | Â | Â | Â | I | Private |
| VatGroup | Tax Definition | nVarChar | 8 | OVTG | Â | Â | Â |
| CardCode | Customer/Vendor Code | nVarChar | 15 | OCRD | Â | Â | Â |
| Usage | Usage Code for Document | Int | 11 | OUSG | Â | Â | Â |
| Key | Unique | Field |
| PRIMARY | Yes | AbsEntry |