[Home] [Help]
PACKAGE BODY: APPS.PO_REQUISITION_HEADERS_PKG2
Source
1 PACKAGE BODY PO_REQUISITION_HEADERS_PKG2 as
2 /* $Header: POXRIH3B.pls 120.4 2005/10/03 04:12:33 nipagarw noship $ */
3
4 PROCEDURE Update_Row(X_Rowid VARCHAR2,
5 X_Requisition_Header_Id NUMBER,
6 X_Preparer_Id NUMBER,
7 X_Last_Update_Date DATE,
8 X_Last_Updated_By NUMBER,
9 X_Segment1 VARCHAR2,
10 X_Summary_Flag VARCHAR2,
11 X_Enabled_Flag VARCHAR2,
12 X_Segment2 VARCHAR2,
13 X_Segment3 VARCHAR2,
14 X_Segment4 VARCHAR2,
15 X_Segment5 VARCHAR2,
16 X_Start_Date_Active DATE,
17 X_End_Date_Active DATE,
18 X_Last_Update_Login NUMBER,
19 X_Description VARCHAR2,
20 X_Authorization_Status VARCHAR2,
21 X_Note_To_Authorizer VARCHAR2,
22 X_Type_Lookup_Code VARCHAR2,
23 X_Transferred_To_Oe_Flag VARCHAR2,
24 X_Attribute_Category VARCHAR2,
25 X_Attribute1 VARCHAR2,
26 X_Attribute2 VARCHAR2,
27 X_Attribute3 VARCHAR2,
28 X_Attribute4 VARCHAR2,
29 X_Attribute5 VARCHAR2,
30 X_On_Line_Flag VARCHAR2,
31 X_Preliminary_Research_Flag VARCHAR2,
32 X_Research_Complete_Flag VARCHAR2,
33 X_Preparer_Finished_Flag VARCHAR2,
34 X_Preparer_Finished_Date DATE,
35 X_Agent_Return_Flag VARCHAR2,
36 X_Agent_Return_Note VARCHAR2,
37 X_Cancel_Flag VARCHAR2,
38 X_Attribute6 VARCHAR2,
39 X_Attribute7 VARCHAR2,
40 X_Attribute8 VARCHAR2,
41 X_Attribute9 VARCHAR2,
42 X_Attribute10 VARCHAR2,
43 X_Attribute11 VARCHAR2,
44 X_Attribute12 VARCHAR2,
45 X_Attribute13 VARCHAR2,
46 X_Attribute14 VARCHAR2,
47 X_Attribute15 VARCHAR2,
48 X_Ussgl_Transaction_Code VARCHAR2,
49 X_Government_Context VARCHAR2,
50 X_Interface_Source_Code VARCHAR2,
51 X_Interface_Source_Line_Id NUMBER,
52 X_Closed_Code VARCHAR2
53
54 ) IS
55 BEGIN
56
57 UPDATE PO_REQUISITION_HEADERS
58 SET
59 requisition_header_id = X_Requisition_Header_Id,
60 preparer_id = X_Preparer_Id,
61 last_update_date = X_Last_Update_Date,
62 last_updated_by = X_Last_Updated_By,
63 segment1 = X_Segment1,
64 summary_flag = X_Summary_Flag,
65 enabled_flag = X_Enabled_Flag,
66 segment2 = X_Segment2,
67 segment3 = X_Segment3,
68 segment4 = X_Segment4,
69 segment5 = X_Segment5,
70 start_date_active = X_Start_Date_Active,
71 end_date_active = X_End_Date_Active,
72 last_update_login = X_Last_Update_Login,
73 description = X_Description,
74 authorization_status = X_Authorization_Status,
75 note_to_authorizer = X_Note_To_Authorizer,
76 type_lookup_code = X_Type_Lookup_Code,
77 transferred_to_oe_flag = X_Transferred_To_Oe_Flag,
78 attribute_category = X_Attribute_Category,
79 attribute1 = X_Attribute1,
80 attribute2 = X_Attribute2,
81 attribute3 = X_Attribute3,
82 attribute4 = X_Attribute4,
83 attribute5 = X_Attribute5,
84 on_line_flag = X_On_Line_Flag,
85 preliminary_research_flag = X_Preliminary_Research_Flag,
86 research_complete_flag = X_Research_Complete_Flag,
87 preparer_finished_flag = X_Preparer_Finished_Flag,
88 preparer_finished_date = X_Preparer_Finished_Date,
89 agent_return_flag = X_Agent_Return_Flag,
90 agent_return_note = X_Agent_Return_Note,
91 cancel_flag = X_Cancel_Flag,
92 attribute6 = X_Attribute6,
93 attribute7 = X_Attribute7,
94 attribute8 = X_Attribute8,
95 attribute9 = X_Attribute9,
96 attribute10 = X_Attribute10,
97 attribute11 = X_Attribute11,
98 attribute12 = X_Attribute12,
99 attribute13 = X_Attribute13,
100 attribute14 = X_Attribute14,
101 attribute15 = X_Attribute15,
102 government_context = X_Government_Context,
103 interface_source_code = X_Interface_Source_Code,
104 interface_source_line_id = X_Interface_Source_Line_Id,
105 closed_code = X_Closed_Code,
106 tax_attribute_update_code = NVL(tax_attribute_update_code,'UPDATE') --<eTax Integration R12>
107 WHERE rowid = X_rowid;
108
109 if (SQL%NOTFOUND) then
110 Raise NO_DATA_FOUND;
111 end if;
112
113 END Update_Row;
114
115 END PO_REQUISITION_HEADERS_PKG2;