RF_SO_HDR(SQL Table) | 
Index Back | 
|---|---|
Service Order Header InfoThis is the header record that is used for the Service Order and My Service Order. | 
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description | 
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | 
Business Unit
 Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT Prompt Table: SP_BU_RF_NONVW  | 
|
| 2 | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID | |
| 3 | CASE_ID | Number(15,0) | DECIMAL(15) NOT NULL | 
Case ID. This is a unique ID assigned to a case when it is saved. Unique ID is ensured by getting the next value from the auto-numbering table and updating the table.
 Prompt Table: %EDITTABLE30  | 
| 4 | SO_DATE | Date(10) | DATE | Stores the Service Order creation date. | 
| 5 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer Setid | 
| 6 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. | 
| 7 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer | 
| 8 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. | 
| 9 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact | 
| 10 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL | 
The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables.
 Prompt Table: %EDITTABLE20  | 
| 11 | PROFILE_CM_BILLTO | Number(31,0) | DECIMAL(31) NOT NULL | 
Bill To Address,..........................................
 Prompt Table: RB_BC_BILLTO_VW  | 
| 12 | CUST_PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | 
Contact Identifier for Treasury Contacts
 Prompt Table: %EDITTABLE  | 
| 13 | SITE_ID | Character(15) | VARCHAR2(15) NOT NULL | 
Uniquely identifies an organizational entity that purchases goods or services from the enterprise.  Represents the sold-to customer  which is the customer organization that places orders.  The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
 Prompt Table: %EDITTABLE15  | 
| 14 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL | This field stores the region id value. | 
| 15 | BO_ID_BILL_INT | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID | 
| 16 | BO_ID_CNT_BILL_INT | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID for Bill to Contact | 
| 17 | BO_ID_CONTACT_INT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. | 
| 18 | BO_ID_CUST_INT | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. | 
| 19 | PROFILE_CM_BIL_INT | Number(31,0) | DECIMAL(31) NOT NULL | Profile Contact Method Sequence Number for Billing | 
| 20 | PROFILE_CM_SLD_INT | Number(31,0) | DECIMAL(31) NOT NULL | Profile Contact Method Sequence Number for the Sold To Address | 
| 21 | SO_STATUS | Character(1) | VARCHAR2(1) NOT NULL | 
This field is used to store the Service Order Header Status.
 C=Complete D=Closed O=Open X=Canceled Default Value: O  | 
| 22 | SO_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL | 
The priority of the service order.
 H=High L=Low N=Normal U=Urgent Default Value: N  | 
| 23 | ORDER_TYPE | Character(3) | VARCHAR2(3) NOT NULL | 
Order Type
 DMO=Demo INS=Installation PRM=Preventative Maintenance REP=Repair SAL=Sales TRN=Training  | 
| 24 | AGREEMENT_CODE | Character(30) | VARCHAR2(30) NOT NULL | This field represents the agreement code (name) for an agreement | 
| 25 | AGREEMENT_LINE | Character(10) | VARCHAR2(10) NOT NULL | This field records the value for the agreement line number | 
| 26 | WARRANTY_NAME | Character(40) | VARCHAR2(40) NOT NULL | This field is used to store the name of the warranty. | 
| 27 | SIN | Character(40) | VARCHAR2(40) NOT NULL | 
This field is used to represent the Site Identification Number
 Prompt Table: RF_AG_SIN_VW  | 
| 28 | AGR_RENEWAL_NUM | Number(4,0) | SMALLINT NOT NULL | This field represents the agreement renewal number (agreements begin at a value of one and the number is incremented with every renewal) | 
| 29 | SERVICE_ID | Character(20) | VARCHAR2(20) NOT NULL | 
Service ID
 Prompt Table:
%EDITTABLE9
  | 
| 30 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | 
This field is used to represent the installed product ID (key field)
 Prompt Table: %EDITTABLE29  | 
| 31 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | 
Product ID
 Prompt Table: %EDITTABLE11  | 
| 32 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | 
This field is used to represent the Serial ID of an item or installed product
 Prompt Table: %EDITTABLE10  | 
| 33 | LOCATION | Character(15) | VARCHAR2(15) NOT NULL | 
This field stores the Location Code.
 Prompt Table:
LOCATION_TBL
  | 
| 34 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | This field stores the General Ledger Business Unit. Used for the Integration with Contracts/Billing from CRM. | 
| 35 | START_DT | Date(10) | DATE | Start date field to store start date value. | 
| 36 | START_TIME | Time(15) | TIMESTAMP | Start of Shift | 
| 37 | END_DT | Date(10) | DATE | This field stores the end date values. | 
| 38 | END_TIME | Time(15) | TIMESTAMP | End of Shift | 
| 39 | WARRANTY_SW | Character(1) | VARCHAR2(1) NOT NULL | 
Indicates that the item can be serviced under a warranty.
 N=Not fixed under warranty Y=Fixed under warranty Y/N Table Edit  | 
| 40 | ENTERED_BY | Character(30) | VARCHAR2(30) NOT NULL | A user's ID | 
| 41 | BILLABLE_SW | Character(1) | VARCHAR2(1) NOT NULL | 
Used to indicate if the service order is billable or not.
 Y/N Table Edit Default Value: Y  | 
| 42 | BILLING_INFO_LBL | Character(1) | VARCHAR2(1) NOT NULL | 
Billing Information
 Y/N Table Edit  | 
| 43 | BILL_NOW_FLG | Character(1) | VARCHAR2(1) NOT NULL | 
Indicates that the bill is ready (for a service order).
 Y/N Table Edit  | 
| 44 | BILL_START_DT | Date(10) | DATE | This field represents the billing start date | 
| 45 | BILLING_DATE | Date(10) | DATE | This field represents the billing date | 
| 46 | APPROVAL_FLAG | Character(1) | VARCHAR2(1) NOT NULL | 
The Approval Flag field is used to indicate whether approval is required.
 A=Approved D=Denied P=Pending  | 
| 47 | PROVIDER_GRP_ID | Character(10) | VARCHAR2(10) NOT NULL | 
Identification number for the provider group.
 Prompt Table:
RF_PROVGRP_VW2
  | 
| 48 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | 
Person ID
 Prompt Table: RF_GRP_MEM_VW  | 
| 49 | APPROVAL_SW | Character(1) | VARCHAR2(1) NOT NULL | Auto Approval Status | 
| 50 | APPROVED_FLAG | Character(1) | VARCHAR2(1) NOT NULL | 
This field is used to determine if approval is required for this inventory item.
 A=Approved P=Pending  | 
| 51 | APPROVAL_OPRID | Character(30) | VARCHAR2(30) NOT NULL | A system generated value that reflects the operator that approved a given transaction. | 
| 52 | APPROVAL_DT | Date(10) | DATE | Date of Approval | 
| 53 | SO_TOTAL_LINES | Number(3,0) | SMALLINT NOT NULL | Stored on the service order header with the number of lines on the service order. | 
| 54 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. | 
| 55 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. | 
| 56 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. | 
| 57 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. | 
| 58 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. | 
| 59 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time | 
| 60 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market | 
| 61 | RB_ANONYMOUS_FLAG | Character(1) | VARCHAR2(1) NOT NULL | 
RB_ANONYMOUS_FLAG
 Y/N Table Edit Default Value: N  | 
| 62 | RB_SITE_NOCUST_FLG | Character(1) | VARCHAR2(1) NOT NULL | 
Site without customer flag
 Y/N Table Edit  | 
| 63 | DATE_BEGIN | Date(10) | DATE | Start Date | 
| 64 | DATE_END | Date(10) | DATE | End Date | 
| 65 | BEGIN_TIME | Time(15) | TIMESTAMP | Begin Time | 
| 66 | END_TM | Time(15) | TIMESTAMP | End Time | 
| 67 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID | 
| 68 | BUS_PROC_INSTANCE | Number(18,0) | DECIMAL(18) NOT NULL | Business Project Instance. This is the Business Project instance of a business project. | 
| 69 | RB_LOCATION_DETAIL | Character(254) | VARCHAR2(254) NOT NULL | RB_LOCATION_DETAIL | 
| 70 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | 
Department
 Prompt Table:
RF_DEPT_TBL_VW3
  | 
| 71 | SO_ID_MERGE | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID of a merged (from mobile) service order. | 
| 72 | SO_ID_MOBILE | Character(10) | VARCHAR2(10) NOT NULL | Used by mobile when syncing service orders. | 
| 73 | PAYMENT_METH | Character(3) | VARCHAR2(3) NOT NULL | 
Payment Method
 CHK=Check CRD=Credit Card PCH=Purchase Order  | 
| 74 | BO_ID_BILL | Number(31,0) | DECIMAL(31) NOT NULL | 
Business Object ID
 Prompt Table: RF_BO_BILLTO  | 
| 75 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL | 
Specifies how the payment due date and discount due date are calculated.  A payment terms code is associated with various business units  bill-to customers  vendors  as well as sales orders  purchase orders and  vouchers.
 Prompt Table:
PAY_TRMS_VW
  | 
| 76 | BO_ID_CNTCT | Number(31,0) | DECIMAL(31) NOT NULL | 
This field represents the business object ID for a Contact
 Prompt Table: RF_BO_BILL_CONT  | 
| 77 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID | 
| 78 | ROLE_TYPE_ID_2 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID | 
| 79 | PROFILE_CM_SEQ_BIL | Number(31,0) | DECIMAL(31) NOT NULL | 
Profile Contact Method Sequence Number for Billing
 Prompt Table: RF_BO_BILL_ADDR  | 
| 80 | PROFILE_CM_SEQ_PHN | Number(31,0) | DECIMAL(31) NOT NULL | 
Used to store the contact method sequence number for a phone number.
 Prompt Table: RF_BO_CNTCT_PHN  | 
| 81 | CURRENCY_BILLING | Character(3) | VARCHAR2(3) NOT NULL | 
Billing Currency Code for the service order.
 Prompt Table:
CURRENCY_CD_TBL
  | 
| 82 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order | 
| 83 | PAYMENT_METHOD | Character(3) | VARCHAR2(3) NOT NULL | 
Specifies the preferred method of payment by a customer.  Examples of payment method are check  direct debit  and draft.
10/28/2003   edw   655070000 - Removed LTC and CSH xlats.
 CC=Credit Card CHK=Check DD=Direct Debit DR=Draft EFT=Electronic Fund Transfer INV=Invoice Default Value: INV  | 
| 84 | TERMS | Character(3) | VARCHAR2(3) NOT NULL | 
This field is used to represent payment terms
 FOC=Free of Charge N30=Net 30 Days N90=Net 90 Days PIF=Pay in Full  | 
| 85 | TAX_CD | Character(8) | VARCHAR2(8) NOT NULL | 
Tax Code
 Prompt Table:
TAX_HEADER_TBL
  | 
| 86 | TAX_EXEMPT_FLG | Character(1) | VARCHAR2(1) NOT NULL | 
Tax Exempt Flag
 Y/N Table Edit  | 
| 87 | TAX_EXEMPT_CERT | Character(30) | VARCHAR2(30) NOT NULL | 
Exemption Certificate
 Prompt Table: RF_BO_TAX_EX_VW  | 
| 88 | SVC_PURCH_OPT | Character(4) | VARCHAR2(4) NOT NULL | 
This field is used to represent the transaction price purchase option
 FLAT=Flat Rate PRPD=Prepaid Services/Cases TM=Time & Materials  | 
| 89 | SVC_PRICE | Number(21,5) | DECIMAL(20,5) NOT NULL | Service Price used on the Service Order | 
| 90 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. | 
| 91 | SVC_UNIT_TYPE | Character(4) | VARCHAR2(4) NOT NULL | 
This field is used to represent the transaction price unit type
 CASE=Case DAY=Day HOUR=Hour MON=Month SO=Service Order WEEK=Week YEAR=Year  | 
| 92 | SVC_LIST_PRICE | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order List price which included entitlement. | 
| 93 | SVC_ADJ_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order Adjustment Amount used in Service Order pricing. | 
| 94 | SVC_ADJ_PCT | Signed Number(4,0) | DECIMAL(3) NOT NULL | Service Adjustment Percent used in Service Order pricing. | 
| 95 | SVC_ADJ_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Uplift / Discount Adjustment Currency Code. | 
| 96 | SVC_REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Service Order - Adjustment Reason Code. | 
| 97 | SVC_REASON | Character(30) | VARCHAR2(30) NOT NULL | Service Order - Service Adjustment Reason | 
| 98 | MAT_LIST_PRICE | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order - Material Original Amount | 
| 99 | MAT_ADJ_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Material Adjustment Amount used on service order pricing. | 
| 100 | MAT_ADJ_PCT | Signed Number(4,0) | DECIMAL(3) NOT NULL | Material Adjustment Percent used on service order pricing. | 
| 101 | MAT_ADJ_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Uplift / Discount Adjustment Currency Code. | 
| 102 | MAT_REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Service Order - Material Adjustment Reason Code | 
| 103 | MAT_REASON | Character(30) | VARCHAR2(30) NOT NULL | Service Order - Material Adjustment Reason | 
| 104 | TIME_LIST_PRICE | Number(12,2) | DECIMAL(11,2) NOT NULL | On the Service Order, the Labor List Price including entitlements. | 
| 105 | TIME_ADJ_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Time Adjustment Amount used in service order pricing. | 
| 106 | TIME_ADJ_PCT | Signed Number(4,0) | DECIMAL(3) NOT NULL | Uplift/Discount on labor provided on service order. | 
| 107 | TIME_ADJ_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Uplift / Discount Adjustment Currency Code. | 
| 108 | TIME_REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Service Order - Time Adjustment Reason Code | 
| 109 | TIME_REASON | Character(30) | VARCHAR2(30) NOT NULL | Service Order - Time Adjustment Reason | 
| 110 | EXP_LIST_PRICE | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order - Expense List Price. | 
| 111 | EXP_ADJ_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order pricing - Expense Adjustment Amount. | 
| 112 | EXP_ADJ_PCT | Signed Number(4,0) | DECIMAL(3) NOT NULL | Service Adjustment Percent used on service order pricing to provide uplift or discount percent. | 
| 113 | EXP_ADJ_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Uplift / Discount Adjustment Currency Code. | 
| 114 | EXP_REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Service Order - Expense Adjustment Reason Code | 
| 115 | EXP_REASON | Character(30) | VARCHAR2(30) NOT NULL | Service Order - Expense Adjustment Reason | 
| 116 | ADD_ADJ_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Adjustment Amount for Discount or for Uplift | 
| 117 | ADD_ADJ_PCT | Signed Number(4,0) | DECIMAL(3) NOT NULL | Service Adjustment Percent for Service Order Pricing. | 
| 118 | ADD_ADJ_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Uplift / Discount Adjustment Currency Code. | 
| 119 | ADD_REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Service Order - Additional Adjustment Reason Code | 
| 120 | ADD_REASON | Character(30) | VARCHAR2(30) NOT NULL | Service Order - Additional Adjustment Reason | 
| 121 | SVC_EXCH_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Service Order - Material Exchange Amount | 
| 122 | TOTAL_AMT | Signed Number(22,5) | DECIMAL(20,5) NOT NULL | Total Amount field used in PS_RF_SO_BLDET_WRK. | 
| 123 | CURRENCY_FSBU | Character(3) | VARCHAR2(3) NOT NULL | Currency Code for the Field Service Business Unit. | 
| 124 | CURRENCY_SOLDTO | Character(3) | VARCHAR2(3) NOT NULL | Currency Code | 
| 125 | BILLING_STATUS | Character(3) | VARCHAR2(3) NOT NULL | 
Used to indicate if the billing status is pending, in error or submitted.
 001=Billing Pending 002=Billing Submitted 003=Contract Creation Error 004=Billing Submitted 005=Transaction Error 006=Billing Completed 007=Contract Created Default Value: 001  | 
| 126 | ALT_PHONE | Character(24) | VARCHAR2(24) NOT NULL | Alternate phone number for one-time use. Not part of customer data model. | 
| 127 | CUST_START_DATE | Date(10) | DATE | Customer Preferred start date recorded for a service activity. | 
| 128 | CUST_START_TIME | Time(15) | TIMESTAMP | Customer Preferred start time recorded for a service activity. | 
| 129 | CUST_END_DATE | Date(10) | DATE | Customer Preferred end date recorded for a service activity. | 
| 130 | CUST_END_TIME | Time(15) | TIMESTAMP | Customer Preferred end time recorded for a service activity. | 
| 131 | SO_COMPLETE_DATE | Date(10) | DATE | Service Order Completion Date. This Date will be used to store the Completion Date of the Service Order. | 
| 132 | DELAY20 | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 133 | DELAY50 | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 134 | DELAY80 | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 135 | DELAY100 | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 136 | DELAY100END | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 137 | DELAY120 | Number(8,0) | INTEGER NOT NULL | This field is used to represent a delay time value for Workflow escalation notifications | 
| 138 | RC_DESCRLONG | Long Character | CLOB | Long description used in CallCenter for Problem, Solution... |