Unable to update the VAT_CODE column through supplier sites API

Hi,
I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
Thanks,
Abhilash
CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
AS
PROCEDURE xx_vat_wo172304 (
errbuf OUT VARCHAR2
, retcode OUT VARCHAR2
IS
CURSOR cur_vat
IS
SELECT site.*
FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
WHERE site.vat_code IN
('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
, 'OS20', 'OT20')
AND supp.vendor_id = site.vendor_id
AND site.org_id IN (608, 1508, 2396, 2397)
AND site.vendor_site_id =68154;
l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
x_return_status VARCHAR2 (100) := NULL;
x_msg_data VARCHAR2 (1000) := NULL;
x_msg_count NUMBER := NULL;
l_error_reason VARCHAR2 (2000) := NULL;
l_user_id           number := FND_GLOBAL.USER_ID;
l_last_update_login           number := FND_GLOBAL.LOGIN_ID;
l_program_application_id           number := FND_GLOBAL.prog_appl_id;
l_program_id           number := FND_GLOBAL.conc_program_id;
l_request_id           number := FND_GLOBAL.conc_request_id;
BEGIN
-- mo_global.init ('SQLAP');
FOR rec_vat IN cur_vat LOOP
IF rec_vat.org_id = 608 THEN
IF rec_vat.vat_code = 'OEUS20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'OEUZ20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'OPP20E' THEN
l_vendor_site_rec.vat_code := 'CZ OPP21E';
ELSIF rec_vat.vat_code = 'OS20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
ELSIF rec_vat.vat_code = 'OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
END IF;
ELSIF rec_vat.org_id = 1508 THEN
IF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD21';
ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
END IF;
ELSIF rec_vat.org_id = 2396 THEN
IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
ELSIF rec_vat.org_id = 2397 THEN
IF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS 21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
END IF;
l_vendor_site_id := rec_vat.vendor_site_id;
l_vendor_site_rec.org_id := rec_vat.org_id;
l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
--l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
l_vendor_site_rec.rfq_only_site_flag := 'Y';
-- l_vendor_site_rec.last_update_date := SYSDATE;
l_vendor_site_rec.last_updated_by := 1134;   MARTIN.ROUNDS
-- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
--DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'VAT CODE:' || l_vendor_site_rec.vat_code
fnd_file.put_line (fnd_file.LOG
, 'Vendor ID:' || rec_vat.vendor_id
fnd_file.put_line (fnd_file.LOG
, 'Vendor Site Id:' || l_vendor_site_id
fnd_file.put_line (fnd_file.LOG
, 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_vendor_site_rec => l_vendor_site_rec
, p_vendor_site_id => l_vendor_site_id
); --p_calling_prog     IN  VARCHAR2 DEFAULT 'NOT ISETUP'
-- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
-- , x_return_status => x_return_status
-- , x_msg_count => x_msg_count
-- , x_msg_data => x_msg_data
--     ap_vendor_sites_pkg.update_row(
--          p_vendor_site_rec => l_vendor_site_rec,
--          p_last_update_date => sysdate,
--          p_last_updated_by => l_user_id,
--          p_last_update_login => l_last_update_login,
--          p_request_id => l_request_id ,
--          p_program_application_id => l_program_application_id,
--          p_program_id => l_program_id,
--          p_program_update_date => sysdate,
--          p_vendor_site_id => l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'Return Status:' || x_return_status
IF x_return_status <> fnd_api.g_ret_sts_success THEN
IF x_msg_count >= 1 THEN
FOR i IN 1 .. x_msg_count LOOP
IF l_error_reason IS NULL THEN
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
ELSE
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
END IF;
--DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Error-' || l_error_reason
END LOOP;
END IF;
ELSIF x_return_status='S' THEN
--DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Success-' || l_error_reason
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
fnd_file.put_line (fnd_file.LOG
, 'Error-' || SQLERRM
END xx_vat_wo172304;
END xx_wo172304_test;

Hi,
I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
Thanks,
Abhilash
CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
AS
PROCEDURE xx_vat_wo172304 (
errbuf OUT VARCHAR2
, retcode OUT VARCHAR2
IS
CURSOR cur_vat
IS
SELECT site.*
FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
WHERE site.vat_code IN
('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
, 'OS20', 'OT20')
AND supp.vendor_id = site.vendor_id
AND site.org_id IN (608, 1508, 2396, 2397)
AND site.vendor_site_id =68154;
l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
x_return_status VARCHAR2 (100) := NULL;
x_msg_data VARCHAR2 (1000) := NULL;
x_msg_count NUMBER := NULL;
l_error_reason VARCHAR2 (2000) := NULL;
l_user_id           number := FND_GLOBAL.USER_ID;
l_last_update_login           number := FND_GLOBAL.LOGIN_ID;
l_program_application_id           number := FND_GLOBAL.prog_appl_id;
l_program_id           number := FND_GLOBAL.conc_program_id;
l_request_id           number := FND_GLOBAL.conc_request_id;
BEGIN
-- mo_global.init ('SQLAP');
FOR rec_vat IN cur_vat LOOP
IF rec_vat.org_id = 608 THEN
IF rec_vat.vat_code = 'OEUS20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'OEUZ20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'OPP20E' THEN
l_vendor_site_rec.vat_code := 'CZ OPP21E';
ELSIF rec_vat.vat_code = 'OS20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
ELSIF rec_vat.vat_code = 'OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
END IF;
ELSIF rec_vat.org_id = 1508 THEN
IF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD21';
ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
END IF;
ELSIF rec_vat.org_id = 2396 THEN
IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
ELSIF rec_vat.org_id = 2397 THEN
IF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS 21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
END IF;
l_vendor_site_id := rec_vat.vendor_site_id;
l_vendor_site_rec.org_id := rec_vat.org_id;
l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
--l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
l_vendor_site_rec.rfq_only_site_flag := 'Y';
-- l_vendor_site_rec.last_update_date := SYSDATE;
l_vendor_site_rec.last_updated_by := 1134;   MARTIN.ROUNDS
-- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
--DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'VAT CODE:' || l_vendor_site_rec.vat_code
fnd_file.put_line (fnd_file.LOG
, 'Vendor ID:' || rec_vat.vendor_id
fnd_file.put_line (fnd_file.LOG
, 'Vendor Site Id:' || l_vendor_site_id
fnd_file.put_line (fnd_file.LOG
, 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_vendor_site_rec => l_vendor_site_rec
, p_vendor_site_id => l_vendor_site_id
); --p_calling_prog     IN  VARCHAR2 DEFAULT 'NOT ISETUP'
-- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
-- , x_return_status => x_return_status
-- , x_msg_count => x_msg_count
-- , x_msg_data => x_msg_data
--     ap_vendor_sites_pkg.update_row(
--          p_vendor_site_rec => l_vendor_site_rec,
--          p_last_update_date => sysdate,
--          p_last_updated_by => l_user_id,
--          p_last_update_login => l_last_update_login,
--          p_request_id => l_request_id ,
--          p_program_application_id => l_program_application_id,
--          p_program_id => l_program_id,
--          p_program_update_date => sysdate,
--          p_vendor_site_id => l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'Return Status:' || x_return_status
IF x_return_status <> fnd_api.g_ret_sts_success THEN
IF x_msg_count >= 1 THEN
FOR i IN 1 .. x_msg_count LOOP
IF l_error_reason IS NULL THEN
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
ELSE
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
END IF;
--DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Error-' || l_error_reason
END LOOP;
END IF;
ELSIF x_return_status='S' THEN
--DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Success-' || l_error_reason
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
fnd_file.put_line (fnd_file.LOG
, 'Error-' || SQLERRM
END xx_vat_wo172304;
END xx_wo172304_test;

Similar Messages

  • Unable to update the serial number through bdc in Sales Order

    Hi experts,
    I written the inboud FM for to update the 3rd party items serial number to the sales orders through BDC Call transaction Method.
    Here i am facing a problem when i have the 19 item Quan ,it is updating correct through idoc , when ever there is moe than 19 and at that if any serial number repeated for that if i am changing at that time it is loosing the control of the BDC and giving the control to the salesorder screen.
    how can i handle that control again has to come to BDC prgrm......
    Thnks,
    Regards,
    Bharani

    Hi,
    Can you please let me know the segment in ORDERS05 Idoc to process the Payment card information and if the standard Function Module can handle the creation of a Sales Order with data for Payment Card.
    We have a requirement to map the Tokenized Number of the Credit Card send from a store front end to ECC mapping via SAP-PI.
    Thanks in Advance,

  • Unable to get the row count of supplier site for each supplier

    Hi,
    In the sourcing module, suppliers page is having an advanced table in which there is a field 'supplier' and another filed 'supplier sites' (supplier field is of type picklist).Now, how can i get the count of 'supplier sites' for each supplier???

    Hi sumit,
    Thanks for the reply, can u please help in writing the code to loop through the VO...
    I was trying to get the first row and then finding the count of supplier sites, but in each iteration of for loop(for each row) i am getting the same count value for each and every row...
    Code :
    int j=vo.getrowcount();//count of no. of rows
    for (int i=0;i<j;i++)
    row=(xxVORowImpl)rowsetiterator.getRowAtRangeIndex(1);
    int a=am.getSupplierSitesVO.getRowCount();//this is the view object in the pick list
    oapagecontext.writeDiagnostics(this,"value of   a is :"+a,1);
    this code is giving row count of last row of supplier.
    How to get the count for each and every row of supplier sites ?
    Thanks.

  • Error while updating the sales order through Process Order API

    Hi,
    Please any one will help plz.
    I am updating the promise_date through oe_order_pub.process_order(Process Order API) i am getting the following error.
    FND_AS_UNEXPECTED_ERROR N PKG_NAME OE_Order_Cache N PROCEDURE_NAME get_tax_calculation_flag N ERROR_TEXT ORA-01403:no data found
    Please any one will help plz
    Below is my code.
    Declare      
    l_archive_file_name VARCHAR2(1000);
    l_shipment_exists NUMBER:=0;
    l_header_id NUMBER;
    l_line_id NUMBER;
    p_header_rec Oe_Order_Pub.Header_Rec_Type;
    l_line_tbl oe_order_pub.line_tbl_type := oe_order_pub.g_miss_line_tbl;
    l_header_rec OE_ORDER_PUB.Header_Rec_Type;
    l_header_val_out_rec OE_ORDER_PUB.Header_Val_Rec_Type;
    l_header_adj_out_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
    l_header_adj_val_out_tbl OE_Order_PUB.Header_Adj_Val_Tbl_Type;
    l_header_price_att_out_tbl OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
    l_header_adj_att_out_tbl OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
    l_header_adj_assoc_out_tbl OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
    l_header_scredit_out_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
    l_header_scredit_val_out_tbl OE_Order_PUB.Header_Scredit_Val_Tbl_Type;
    l_line_rec OE_ORDER_PUB.line_rec_type;
    l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
    l_line_val_out_tbl OE_ORDER_PUB.Line_Val_Tbl_Type;
    l_line_adj_out_tbl OE_ORDER_PUB.Line_Adj_Tbl_Type;
    l_line_adj_val_out_tbl OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
    l_line_price_att_out_tbl OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
    l_line_adj_att_out_tbl OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
    l_line_adj_assoc_out_tbl OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
    l_line_scredit_out_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
    l_line_scredit_val_out_tbl OE_Order_PUB.Line_Scredit_Val_Tbl_Type;
    l_lot_serial_out_tbl OE_Order_PUB.Lot_Serial_Tbl_Type;
    l_lot_serial_val_out_tbl OE_Order_PUB.Lot_Serial_Val_Tbl_Type;
    l_action_request_out_tbl OE_Order_PUB.Request_Tbl_Type;
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_return_status VARCHAR2(1);
    l_index NUMBER;
    l_rows_processed NUMBER:=0;
    l_line_mawb VARCHAR2(240);
    l_line_hawb VARCHAR2(240);
    l_line_flight_num VARCHAR2(240);
    l_org_id NUMBER :=143;--FND_GLOBAL.ORG_ID;
    l_resp_id NUMBER:=FND_GLOBAL.RESP_ID;
    l_resp_appl_id NUMBER:=FND_GLOBAL.RESP_APPL_ID;
    l_user_id number := FND_GLOBAL.USER_ID;
    l_promise_date date;
    BEGIN
    SELECT ol.org_id, oh.header_id, ol.line_id,ol.promise_date
    INTO l_org_id, l_header_id, l_line_id,l_promise_date
    FROM apps.oe_order_headers_all oh, apps.oe_order_lines_all ol
    WHERE ol.header_id=oh.header_id
    AND ol.line_id =1319526; --&line_id
    -- apps.fnd_global.apps_initialize(&l_USER_ID,&l_resp_id,&l_resp_appl_id);
    apps.fnd_global.apps_initialize(67778,51017,660);
    p_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
    p_header_rec.header_id :=835035;-- l_header_id;
    p_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
    l_line_tbl := oe_order_pub.g_miss_line_tbl;
    -------------------------Line Record -------------------------------
    l_line_tbl(1) := oe_order_pub.g_miss_line_rec;
    l_line_tbl(1).header_id := 835035;
    l_line_tbl(1).line_id := 1319526;
    l_line_tbl(1).promise_date := sysdate;
    l_line_tbl(1).operation := oe_globals.g_opr_update;
    BEGIN
    apps.oe_order_pub.process_order
    (p_api_version_number => 1.0
    ,p_init_msg_list => fnd_api.g_true
    ,p_return_values => fnd_api.g_true
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    ,p_header_rec => p_header_rec
    ,p_line_tbl => l_line_tbl
    -- out variables
    ,x_header_rec => l_header_rec
    ,x_header_val_rec => l_header_val_out_rec
    ,x_header_adj_tbl => l_header_adj_out_tbl
    ,x_header_adj_val_tbl => l_header_adj_val_out_tbl
    ,x_header_price_att_tbl => l_header_price_att_out_tbl
    ,x_header_adj_att_tbl => l_header_adj_att_out_tbl
    ,x_header_adj_assoc_tbl => l_header_adj_assoc_out_tbl
    ,x_header_scredit_tbl => l_header_scredit_out_tbl
    ,x_header_scredit_val_tbl => l_header_scredit_val_out_tbl
    ,x_line_tbl => l_line_out_tbl
    ,x_line_val_tbl => l_line_val_out_tbl
    ,x_line_adj_tbl => l_line_adj_out_tbl
    ,x_line_adj_val_tbl => l_line_adj_val_out_tbl
    ,x_line_price_att_tbl => l_line_price_att_out_tbl
    ,x_line_adj_att_tbl => l_line_adj_att_out_tbl
    ,x_line_adj_assoc_tbl => l_line_adj_assoc_out_tbl
    ,x_line_scredit_tbl => l_line_scredit_out_tbl
    ,x_line_scredit_val_tbl => l_line_scredit_val_out_tbl
    ,x_lot_serial_tbl => l_lot_serial_out_tbl
    ,x_lot_serial_val_tbl => l_lot_serial_val_out_tbl
    ,x_action_request_tbl => l_action_request_out_tbl
    --dbms_output.put_line('l_msg_data-->' ||l_msg_data ||' l_return_status --> ' ||l_return_status);  
    END;
    commit;
    END;
    Regards,
    Sangu

    Hi Sangu,
    See if the following notes help you:
    Error when calling API from SQL*Developer, eg. ORA-01403 in API OE_ORDER_PUB.PROCESS_ORDER (Doc ID 1054295.1)
    Cancellation Of Transfer Orders Is Not Possible - ORA-01403: no data found in Package OE_Order_PVT Procedure Process_Order (Doc ID 391307.1)
    Thanks &
    Best Regards,

  • I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question).

    I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question). I haven't had this issue before, I have always used the content library on the screen but haven't used this for about a month. How can I make the Content Library available?

    Thanks so much! I am backing up the entire computer now with an external hard drive - this should be fine right? And surely if I am backing up the whole computer these projects/videos will be backed up too? I wasn't sure how to do this any other way and I am clearly not great with tech issues. Once this is done and I am sure my projects/videos are safe I will do the delete and reinstall bit. Thanks for taking the time to help

  • DateFormat for updating the metadata field through RIDC

    Could you please tell me what will be the valid date time format for updating metadata field value through RIDC.?
    I am using ADF technology to connect with webcenter UCM and using all services to check-in,update, search generic screens using UCM services. I am able to update other text type metadata field through ADF screen BUT when i update date field then i am getting date parsing error..
    xSubmitDate DATE type in UCM.
    xSubmitDate value = 05/08/2013 05:36 PM
    oracle.stellent.ridc.protocol.ServiceException: Unable to update the content item information for '0804'. The field 'xSubmitDate' does not contain a valid date. Unable to parse date '05/08/2013 05:36 PM'.
    Thanks in Advance.

    This blog post I wrote may be of some help: http://www.redstonecontentsolutions.com/5/post/2011/10/parse-date-usingridc.html
    Jonathan
    http://jonathanhult.com

  • I have an 1st generation ipad. I am unable to update the software beyond 5.1.1. Why?

    I have an 1st generation ipad. I am unable to update the software beyond 5.1.1. Why? It tells me my software is up to date.

    Very possible.
    You can often get the older version if you buy directly on the iPad
    Go through the iTunes Store on your old iPad and purchase netflix, if you can get an older version of the app, iTunes will ask and prompt the download of older version.
    Not all apps will be available.
    I was able to put iBooks on my older iPod this way.

  • Error while Updating the TIN No through DTW

    Hi,
    When i try to update the TIN Number through DTW .....i'm experiencing the Error--
    DELETING ROWS NOT SUPPORTED FOR OBJECT FISCAL ID'S FOR BP MASTER DATA APPLICATION-DEFINED OR OBJECT DEFINED ERROR 65171
    My Template is like this....
    ParentKey
    LineNum
    Address
    TaxId11
    CardCode
    LineNum
    Address
    taxId11
    S000001
    0
    bo_ShipTo
    1234567892
    What could be the reason for the  error..?

    Hi,
    Please check the following thread:
    http://scn.sap.com/thread/1967643

  • HT1338 I am unable to update the newest version of itunes because I need to update my Mac OS X to version 10.6 or later but my computer keeps telling me that I do not have any updates. Help

    I am unable to update the newest version of itunes because I need to update my Mac OS X to version 10.6 or later but my computer keeps telling me that I do not have any updates available. I am currently running version 10.5.8

    You need to buy 10.6 on DVD.
    (74703)

  • I am unable to update the iOS 2.2.1 to next version

    i am unable to update the iOS 2.2.1 to next version

    What happens when you connect to computer and update via iTunes?
    The Settings>General>Software Update comes with iOS 5 and later.
    Connect the iPod to your computer and update via iTunes as far as your iPod model allows
    iOS: How to update your iPhone, iPad, or iPod touch
    You need itunes 10 or later and that requires OSX 10.5.8 or later
    You have a 2G (vi the SN yo provided) and that can go as high as 4.2.1

  • HT1918 I was in Singapore when I created this Apple ID and payment information. Now I am have shifted to India and I am unable to update the Country and Payment related information. When I click on country no option comes up. Can somebody suggst anything?

    I was in Singapore when I created this Apple ID and payment information. Now I am have shifted to India and I am unable to update the Country and Payment related information. When I click on country no option comes up. Can somebody suggst anything?

    Hi Peyush!
    You may want to try changing the country associated to your Apple ID from your iOS device. I have an article for you here that I believe will help you change the country for your signed in Apple ID:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Specifically, this is the section of the article you will want to pay attention to:
    Change your iTunes Store country
    Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    Follow the onscreen process to change your region, agree to the terms and conditions for the region if necessary, and then change your billing information.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Unable to update the ADMPlugin.api

    When I try to install the aics2_12_0_1update.exe for my Illustrator CS2 (12.0) I get the error,
    "Unable to update the ADMPlugin.api
    The file on your system does not match the original Illustrator 12.0 file expected and it cannot be updated."
    I have WXP SP3 and the entire CS2 suite installed.
    Any ideas?
    J.R.

    >...when I worked for Adobe® Systems.
    Are you running a beta version of AI 12 by any chance?
    That would certainly explain the error message you're getting. As you must know, Adobe updaters are rigorous in their version checking and won't work on non-retail versions.

  • I am unable to update the TomTom Canada&US

    I am unable to update the TomTom Canada&US purchased in July 2011 for my iPhone 4. The update doesn't load, and I can no longer use the app which has become inactive. Any hints?

    Have you tried downloading the app using iTunes on your computer, then syncing your iPhone with the computer?

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • I am unable to update the apps

    i am unable to update the apps in my phone, 11apps are required the update

    Any restrictions set up in Settings/General/Restrictions? If yes, disable them.
    Are you logged into your account in Settings/iTunes&AppStore with the correct Apple ID?
    Any error messages given?

Maybe you are looking for

  • FCP won't Show/Unhide; Must Force Quit

    Always troubleshooting Studio program errors and here's another one... This just started happening yesterday. I will Cmd+H to hide FCP and am unable to bring the program back up. Right-clicking and selecting "Show" or any of the other options do not

  • Speed button iMovie 10.0.5

    The slow motion button does work in this updated version. How do I fix this?

  • System error in program CL_RSD_Multiprov and form GET_PART_IOBJNM_CMP_01

    Hi Experts, iam executing a query on multiprovider, below is the errors im getting..   so my requirement is to save the query as local, in production system..... Error i gt:   1.  Infoprovider was changed or activated at runtime                   2. 

  • Authrate parameter 'Login Data File URL'

    Hi there, Any one have idea what format this parameter value should be? I am trying to use SLAMD for authrate and not sure what format i should specify the values for 'Login Data File URL' The document says 'The URL (FILE or HTTP) of the file contain

  • Video recording has large number of dots and arrows over the recording

    My iPod nano was delivered today. I've just recorded some video but the recording has large number of dots and arrows in a grid pattern all over the recording. It's unusable. Anybody have similar experience?