DBA Data[Home] [Help]

APPS.OKS_REPROC_PUB SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 19

Procedure insert_order_line(
                            p_ordline_id IN NUMBER,
                            p_processed IN VARCHAR2,
                            p_reprocess IN VARCHAR2,
                            p_hdr_id IN NUMBER,
			    p_ordnum IN NUMBER,
			    x_id OUT NOCOPY VARCHAR2,
			    x_rowid OUT NOCOPY VARCHAR2,
                            x_return_status OUT NOCOPY VARCHAR2
                           )
Is
l_init_msg_list         VARCHAR2(1) := OKC_API.G_FALSE;
Line: 46

SAVEPOINT BEFORE_INSERT;
Line: 47

oks_rep_pub.insert_row(p_api_version                  => 1.0,
                       p_init_msg_list                => l_init_msg_list,
                       x_return_status                => l_return_status,
                       x_msg_count                    => l_msg_count,
                       x_msg_data                     => l_msg_data,
                       p_repv_rec                     => l_repv_rec ,
                       x_repv_rec                     => l_out_repv_rec);
Line: 57

select rowid into x_rowid
from oks_reprocessing
where id = x_id;
Line: 66

        ROLLBACK to BEFORE_INSERT;
Line: 71

Procedure Update_Order_Lines(p_item IN VARCHAR2,
			     x_return_status OUT NOCOPY VARCHAR2)
Is

Cursor Get_Order_lines Is
                Select id,object_version_number
                From oks_reprocessing
                Where reprocess_yn = 'Y'
                And Conc_request_id is null;
Line: 101

                oks_rep_pub.update_row(p_api_version      => 1.0,
                               p_init_msg_list    => 'T',
                               x_return_status    => l_return_status,
                               x_msg_count        => l_msg_count,
                               x_msg_data         => l_msg_data,
                               p_repv_rec         => l_repv_rec ,
                               x_repv_rec         => l_new_repv_rec);
Line: 117

End Update_Order_Lines;
Line: 125

Select error_text
from oks_reprocessing
where id = p_id;