Md. Quium Hossain who I'm Oracle DBA & APEX Developer. All-rounder in building small, medium, and enterprise applications. Extensive knowledge in various areas of web-driven applications in Back-end (PL/SQL, SQL, Java), Front-end (Oracle APEX, Oracle Forms, Oracle Reports, HTML, JavaScript, CSS, jQuery, OracleJET, ReactJS), RESTful APIs, Third-party library integrations (Apex Office Print (AOP), Payment Gateways, SMS, Syncfusion, HighCharts) and APEX Plugins (HighChart, StarRating)
Thursday, September 24, 2020
How to configure remote desktop in centos
How to configure VNC server in Linux CentOS
yum install tigervnc-server
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
ExecStart=/usr/bin/vncserver_wrapper root %i
PIDFile=/home/root/.vnc/%H%i.pid
vi /etc/systemd/system/vncserver@\:1.service
# systemctl daemon-reload
# systemctl start vncserver@:1
# systemctl status vncserver@:1
# systemctl enable vncserver@:1
# firewall-cmd --add-port=5901/tcp
# firewall-cmd --add-port=5901/tcp --permanent
vncserver
--Add new port
# firewall-cmd --add-port=5902/tcp
# firewall-cmd --add-port=5902/tcp --permanent
vncserver
---When Not work
rm -rvf .X11-unix
Wednesday, September 23, 2020
Monday, September 21, 2020
insert multiple image using from temp file
CREATE TABLE "TEST"."EMPLOYEE_PHOTO"
( "ID" VARCHAR2(100 BYTE),
"FILENAME" VARCHAR2(1000 BYTE),
"MIME_TYPE" VARCHAR2(1000 BYTE),
"PHOTO" BLOB,
"EMPLOYEE_ID" VARCHAR2(1000 BYTE)
)
---
- P10_NEW -file browse
- P10_ID -- ID
- upload Button
Insert Multiple images in oracle apex using collection
Page 7
1. P7_ID
2. Attachment -Page link 8
3. Save button
Plsql Code-- Set Save button
IF apex_collection.collection_exists('DATA_COLLECTION_FILE') THEN------------
BEGIN
INSERT INTO HOLDING_APPLICATION_ATTATCHMENT(HOLDING_APPLICATION_ID,IMAGE)
SELECT 101,(select blob_content from APEX_APPLICATION_TEMP_FILES where name =c001)
FROM APEX_COLLECTIONS where COLLECTION_NAME='DATA_COLLECTION_FILE';
END;
begin
apex_collection.delete_collection(p_collection_name =>'DATA_COLLECTION_FILE');
end;
END IF;
Page 8
- P8_IMAGE
- add
- refresh
- add button
---report in 8 page
SELECT SEQ_ID,c001 FILE_NAME from APEX_COLLECTIONS where COLLECTION_NAME='DATA_COLLECTION_FILE';
Manual Insert Master detail
1. get_pk
declare
v1 number;
v2 number;
begin
select to_number(count(1))+1 into v2 from IT_ITEM_RCV_MAST where to_date(RCV_DT)=to_date(sysdate);
if v2>1 then
select distinct('RCV-NUM-'||''||to_char(sysdate,'RRMMDD'))||''|| v2 into :P30_RCV_NO from SYS.DUAL;
else
:P30_RCV_NO:='RCV-NUM-'||''||to_char(sysdate,'RRMMDD')||''||1;
end if;
end;
select nvl(max(to_number(SL_NO)),0)+1 into :P30_SL_NO from IT_ITEM_RCV_MAST;
-----------
--Sequence
CREATE SEQUENCE "IT"."IT_ITEM_RCV_CHILD_SLNO"
MINVALUE 1
MAXVALUE 99999999999999999999999999
INCREMENT BY 1
START WITH 23 NOCACHE NOORDER CYCLE NOKEEP NOSCALE GLOBAL ;
2. Direct Insert master Table
3. Insert Detail Table
if :P30_RCV_NO is not null and :ITEM_CD is not null and :QTY is not null then
insert into IT_ITEM_RCV_CHILD
(
RCV_NO
, SLNO
, ITEM_CD
, BRAND
, ITEM_SERIAL
, QTY
, UNIT_COST
, MAF_DT
, EXPIR_DT
, WARRNTY
, ITEM_DESC
, MODEL_NM
, RCV_DTLNO
)
values
(
:P30_RCV_NO
, it.IT_ITEM_RCV_CHILD_SLNO.nextval
, :ITEM_CD
, :BRAND
, :ITEM_SERIAL
, :QTY
, :UNIT_COST
, :MAF_DT
, :EXPIR_DT
, :WARRNTY
, :ITEM_DESC
, :MODEL_NM
, :RCV_DTLNO
);
else
null;
end if;
4. Process form update
begin
if :RCV_NO is not null then
Update IT_ITEM_RCV_CHILD
set
SLNO=:SLNO
,ITEM_CD=:ITEM_CD
,BRAND=:BRAND
,ITEM_SERIAL=:ITEM_SERIAL
,QTY=:QTY
,UNIT_COST=:UNIT_COST
,MAF_DT=:MAF_DT
,EXPIR_DT=:EXPIR_DT
,WARRNTY=:WARRNTY
,ITEM_DESC=:ITEM_DESC
,MODEL_NM=:MODEL_NM
,RCV_DTLNO=:RCV_DTLNO
where
RCV_NO=:P30_RCV_NO;
end if;
End;
5. New Insert
if :SLNO is null and :P30_REQ_NO is not null then
insert into IT_ITEM_RCV_CHILD
(
RCV_NO
, SLNO
, ITEM_CD
, BRAND
, ITEM_SERIAL
, QTY
, UNIT_COST
, MAF_DT
, EXPIR_DT
, WARRNTY
, ITEM_DESC
, MODEL_NM
, RCV_DTLNO
)
values
(
:P30_RCV_NO
, it.IT_ITEM_RCV_CHILD_SLNO.nextval
, :ITEM_CD
, :BRAND
, :ITEM_SERIAL
, :QTY
, :UNIT_COST
, :MAF_DT
, :EXPIR_DT
, :WARRNTY
, :ITEM_DESC
, :MODEL_NM
, :RCV_DTLNO
);
else
null;
end if;
Monday, September 7, 2020
install oracle weblogic 12c
A. Create the components
1- Execute wlst.cmd/wlst.sh from ORACLE_HOME/oracle_common/common/bin
2- Connect to AdminServer.
connect("weblogic","weblogic1","localhost:7001")
3- Run the following wlst command.
createReportsToolsInstance(instanceName='reptools1',machine='AdminServerMachine')
How to install and configure Oracle Apex 24.1 with ORDS 22, Tomcat 9 and Jasper Report 7 on Oracle Linux 8.10
#########################Install Oracle APEX 24.1################################ ----------------------------------------------------...
-
# Report Column (only column): 1. Column Formatting > HTML Expression <span style="display:block; width: 200px"> #...
-
Installing Oracle Forms and Reports 12c on Windows 10 64 Bit. Hardware used for this installation is · Intel i3-2370M CPU · ...
-
when open forms builder then errors FRM-91129: fatal error: no value specified for required environment variable FORMS_BUILDER_CLASSPATH a...
-
---------------------------- | Keyboard Shortcut | ---------------------------- · Create: Breadcrumb Region Ctrl+/, C, B · ...