Yearly Archives: 2021

Query to find Tax Recoverable

Query to find Tax Recoverable SELECT NVL (attribute_value, ‘N’) FROM jai_item_templ_hdr_v jih, jai_item_templ_dtls_v jid WHERE 1 = 1 AND jih.template_hdr_id = jid.template_hdr_id AND jid.attribute_code = ‘RECOVERABLE’ AND jih.inventory_item_id = lv_inv_item_id…

Read More

Query to Find HSN Code

Query to Find HSN Code SELECT REPORTING_CODE FROM jai_reporting_codes jrc, jai_reporting_types jrt WHERE jrc.reporting_type_id = jrt.reporting_type_id AND jrt.reporting_type_code = ‘GST_HSN_CODE’ AND TRUNC (SYSDATE) BETWEEN jrt.effective_from AND NVL (jrt.effective_to, TRUNC (SYSDATE…

Read More

Update (redeploy) a Web application in weblogic

When you update a Web application, WebLogic Server redeploys the archive file or exploded directory. Update a Web application if you have made changes to it and you want to…

Read More

HIGH RESOURCE-CONSUMING SQL STATEMENTS WHICH ARE CURRENTLY IN THE MEMORY

–Create the tuning set EXEC DBMS_SQLTUNE.CREATE_SQLSET(‘HIGH_DISK_READS’); –Populate the tuning set from the cursor cache DECLARE cur DBMS_SQLTUNE.SQLSET_CURSOR; BEGIN OPEN cur FOR SELECT VALUE(x) FROM table( DBMS_SQLTUNE.SELECT_CURSOR_CACHE( ‘parsing_schema_name <> “SYS” AND…

Read More

APPLYING WELOGIC PACTH FOR R12.2 VIA COMMAND

                             ORACLE WEBLOGIC SERVER (WLS) 10.3.6.0.7 — 10.3.6.0.191015:                     …

Read More

Call Auto invoice for Order number Range

Sample Call Auto invoice for Order number Range PROCEDURE xx_bdg_ar_autoinvoice ( errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_org_id NUMBER ) AS l_responsibility_id NUMBER; l_application_id NUMBER; l_user_id NUMBER; l_request_id NUMBER; l_batch_source…

Read More

Ship Confirm

Sample script for Ship confirm PROCEDURE xx_bdg_ship_confirm ( errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_org_id NUMBER ) AS x_return_status VARCHAR2 (2); x_msg_count NUMBER; x_msg_data VARCHAR2 (2000); p_api_version_number NUMBER := 1.0;…

Read More

Pick Release

Sample script for Pick Release PROCEDURE xx_bdg_sin_delv_picrelease ( errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_org_id NUMBER ) AS x_return_status VARCHAR2 (2); x_msg_count NUMBER; x_msg_data VARCHAR2 (2000); p_api_version_number NUMBER := 1.0;…

Read More

Book Sales Order

Sample script to book the sales Order PROCEDURE xx_book_bdg_so ( errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_org_id NUMBER ) AS v_api_version_number NUMBER := 1; v_return_status VARCHAR2 (2000); v_msg_count NUMBER; v_msg_data…

Read More

Reserve Lot number for the order

Sample script for Reserve Lot number for the order PROCEDURE xx_bdg_Reserve_attribs ( errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_org_id NUMBER ) IS v_api_version_number NUMBER := 1; v_return_status VARCHAR2 (2000); v_msg_count…

Read More