[Xml Publisher] Missing equals sign between attribute and attribute value

Symptoms :

When you open the  Report which is generated in XML format, you get the following error : Missing equals sign between attribute and attribute value. Error processing resource ‘file.XXXXXX… ————————-^

Cause : There are spaces in the XML tag (APPLICATIONS TEMPLATE REPORT) in the property pallet of header report

Solution :  for example your report name is “report register pembelian”, check report property pallete in “xml tag” column, then erase spaces between xml tag name

before : REPORT REGISTER PEMBELIAN

after     : REPORTREGISTERPEMBELIAN

then after uploaded the report, you can re-submit it.

Change Solaris System Date

Syntax :  date mmddhhmmyy (Login as Root)

Example : date 0104123010  =  Mon Jan 4 12:30:00 2010

if you have Oracle Applications installed in solaris machine, please shut down all application and db oracle before change the solaris system date (especially for backdated system date)..

[ORACLE]How to Compile Invalid Object

how to compile invalid object :

login sqlplus as sysdba

1. >  sqlplus / as sysdba

2. > execute : EXEC UTL_RECOMP.RECOMP_PARALLEL(8);  8 -> number of parallel process

[oracle] how to commit inside trigger

you can comit inside trigger using pragma autonomous_transaction;

example :

CREATE OR REPLACE TRIGGER APPS.SJA_WSH_NEW_DELIVERIES
BEFORE INSERT
ON WSH_NEW_DELIVERIES
REFERENCING NEW AS New OLD AS Old
FOR EACH ROW
DECLARE
vvar varchar2(320);
vtag1 varchar2(320);
vtag2 varchar2(320);
vtag3 varchar2(320);
vyear varchar2(320);
vrowid number;
vtmpg varchar2(320);
vinsert varchar2(320);
pragma autonomous_transaction;
BEGIN
select  mpv.ATTRIBUTE8  INTO  vvar from
mtl_parameters mpv
where :new.organization_id = mpv.ORGANIZATION_ID;
if vvar is null then
:new.name := (:new.name||’A1′);
else

select substr(vvar,10,6) into vtag1 from dual;

select to_number(substr(vvar,5,4)) into vtag2 from dual;

select substr(vvar,0,3)  into vtag3 from dual;

SELECT TO_NUMBER(TO_CHAR(SYSDATE,’RRRR’)) into vyear FROM DUAL;

if vyear <>  vtag2 then

vinsert:=(vtag3||’.'||vyear||’.'||’000001′);

commit;

update mtl_parameters set attribute8 = vinsert
where organization_id = :new.organization_id;

:new.name := vinsert;
else

vtmpg := lpad(to_char(to_number(vtag1)+1),6,’0′);
vinsert:=(vtag3||’.'||vyear||’.'||vtmpg);

:new.name := vinsert;

update mtl_parameters set attribute8 = vinsert
where organization_id = :new.organization_id;
commit;

end if;

end if;

exception when no_data_found then
:new.name := (:new.name||’B2′);
when others then
:new.name := (:new.name||’B1′);
end;
/

An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_. There may be a network configuration problem, or the TNS listener on node FNDFS_ may not be running. Please contact your system administrator.

Error when tools->copy log file in oracle apps

solution : In the Profile Option, set profile value = “RRA: Enabled” to Yes

Cannot copy log from concurrent programs (oracle apps) error:An error occurred while attempting to establish an Applications File Server connection with the node

Cannot copy log from concurrent programs (oracle apps)

Error :

An error occurred while attempting to establish an Applications File Server connection with the node…….

Solution :

In the Profile Option –>system –> RRA ->RRA: Enabled is set as No in Site Level. Make it to Yes.

Save and Logout and Retest the Issue.

Reference Note id : 419142.1

Cek definition file (pld)

go to the file path and use  ” grep -i ‘$head’ ” (without “) to check definitions

ex:
# grep -i ‘$head’ INVMTXIT.pll
FDRCSID(‘$Header: INVMTXIT.pld 115.54 2004/05/26 16:58:14

Oracle apps GL Interface Code

Period Error Codes
——————
EP01 This date is not in any open or future enterable period.
EP02 This set of books does not have any open or future enterable periods.
EP03 This date is not within any period in an open encumbrance year.
EP04 This date is not a business day.
EP05 There are no business days in this period.

Unbalanced Journal Error Codes
——————————
WU01 Warning: This journal entry is unbalanced. It is accepted because
suspense posting is allowed in this set of books.
EU02 This journal entry is unbalanced and suspense posting is not allowed in
this set of books.
EU03 This encumbrance journal entry is unbalanced and the Reserve for
Encumbrance account is not defined.

Flexfield Error Codes
———————
EF01 This Accounting Flexfield is inactive for this accounting date.
EF02 Detail posting not allowed for this Accounting Flexfield.
EF03 Disabled Accounting Flexfield.
EF04 This is an invalid Accounting Flexfield. Check your cross-validation
rules and segment values.
EF05 There is no Accounting Flexfield with this Code Combination ID.

Foreign Currency Error Codes
—————————-
EC01 A conversion rate must be entered when using the User conversion rate
type.
EC02 There is no conversion date supplied.
EC03 A conversion rate type or an accounted amount must be supplied when
entering foreign currency journal lines.
EC06 There is no conversion rate for this currency, conversion type and
conversion date.
EC08 Invalid currency code.
EC09 No currencies are enabled.
EC10 Encumbrance journals cannot be created in a foreign currency.
EC11 Invalid conversion rate type.
EC12 The entered amount must equal the accounted amount in a functional or
STAT currency journal line.
EC13 The entered amount multiplied by the conversion rate must equal the
accounted amount.
ECW1 Warning: Converted amounts could not be validated because the
conversion rate type is not specified.

Budget Error Codes
——————
EB01 A budget version is required for budget lines.
EB02 Journals cannot be created for a frozen budget.
EB03 The budget year is not open.
EB04 This budget does not exist for this set of books.
EB05 The encumbrance_type_id column must be null for budget journals.
EB06 A period name is required for budget journals.
EB07 This period name is not valid. Check calendar for valid periods.
EB08 Average journals cannot be created for budgets.
EB09 Originating company information cannot be specified for budgets.

Encumbrance Error Codes
———————–
EE01 An encumbrance type is required for encumbrance lines.
EE02 Invalid or disabled encumbrance type.
EE03 Encumbrance journals cannot be created in the STAT currency.
EE04 The BUDGET_VERSION_ID column must be null for encumbrance lines.
EE05 Average journals cannot be created for encumbrances.
EE06 Originating company information cannot be specified for encumbrances.

Reversal Error Codes
——————–
ER01 A reversal period name must be provided.
ER02 This reversal period name is invalid. Check your calendar for valid
periods.
ER.
03 A reversal date must be provided
ER04 This reversal date is not in a valid period.
ER05 This reversal date is not in your database date format.
ER06 Your reversal date must be the same as or after your effective date.
ER07 This reversal date is not a business day.
ER08 There are no business days in your reversal period.
ER09 Default reversal information could not be determined.

Descriptive Flexfield Error Codes
———————————
ED01 The context and attribute values do not form a valid descriptive
flexfield for Journals – Journal Entry Lines.
ED02 The context and attribute values do not form a valid descriptive
flexfield for Journals – Captured Information.
ED03 The context and attribute values do not form a valid descriptive
flexfield for Value Added Tax.

Miscellaneous Error Codes
————————-
EM01 Invalid journal entry category.
EM02 There are no journal entry categories defined.
EM03 Invalid set of books id.
EM04 The value in the ACTUAL_FLAG must be “A” (actuals), “B&
quot; (budgets), or
“E” (encumbrances).
EM05 The encumbrance_type_id column must be null for actual journals.
EM06 The budget_version_id column must be null for actual journals.
EM07 A statistical amount belongs in the entered_dr(cr) column when entering
a STAT currency journal line.
EM09 There is no Transaction Code defined.
EM10 Invalid Transaction Code.
EM12 An Oracle error occurred when generating sequential numbering.
EM13 The assigned sequence is inactive.
EM14 There is a sequential numbering setup error resulting from a missing
grant or synonym.
EM17 Sequential numbering is always used and there is no assignment for this
set of books and journal entry category.
EM18 Manual document sequences cannot be used with Journal Import.
EM19 Value Added Tax data is only valid in conjunction with actual journals.
EM21 Budgetary Control must be enabled to import this batch.
EM22 A conversion rate must be defined for this accounting date, your
default conversion rate type, and your dual currency.
EM23 There is no value entered for the Dual Currency Default Rate Type
profile option.
EM24 Average journals can only be imported into consolidation sets of books.
EM25 Invalid average journal flag. Valid values are “Y”, “N&
quot;, and null.
EM26 Invalid originating company.
EM27 Originating company information can only be specified when intercompany
balancing is enabled..

'P' indicates that Journal Import passed this line successfully but other
lines in the same transaction failed. 

'PROCESSED' indicates that journal import passed the entire transaction
successfully and has created a journal for the transaction. 

'CORRECTED' indicates that the line was in error and was corrected through
the Correct Journal Import form. 

refer to metalink doc 112804.1

Kisah sapi, monyet, anjing dan manusia

Di awal zaman, Tuhan menciptakan seekor sapi.

Beliau berkata kepada sang sapi “Hari ini kuciptakan kau! Sebagai
sapi engkau harus pergi ke padang rumput. Kau harus bekerja di bawah
terik matahari sepanjang hari. Kutetapkan umurmu sekitar 50 tahun.”

Sang Sapi keberatan “Kehidupanku akan sangat berat selama 50 tahun.
Kiranya 20 tahun cukuplah buatku. Kukembalikan kepadamu yang 30 tahun”
Maka setujulah Tuhan.

Di hari kedua, Tuhan menciptakan monyet. “Hai monyet, hiburlah
manusia. Aku berikan kau umur 20 tahun!” Sang monyet menjawab
“What? Menghibur mereka dan membuat mereka tertawa?
10 tahun cukuplah. Kukembalikan 10 tahun padamu”
Maka setujulah Tuhan.

Di hari ketiga, Tuhan menciptakan anjing. “Apa yang harus kau lakukan
adalah menjaga pintu rumah majikanmu. Setiap orang mendekat kau harus
menggongongnya. Untuk itu kuberikan hidupmu selama 20 tahun!” Sang
anjing menolak : “Menjaga pintu sepanjang hari selama 20 tahun ? No
way.! Kukembalikan 10 tahun padamu”.
Maka setujulah Tuhan.

Di hari keempat, Tuhan menciptakan manusia. Sabda Tuhan: “Tugasmu
adalah makan, tidur, dan bersenang-senang. Inilah kehidupan. Kau akan
menikmatinya. Akan kuberikan engkau umur sepanjang 25 tahun!”
Sang manusia keberatan, katanya “Menikmati kehidupan selama 20 tahun?
Itu terlalu pendek Tuhan. Let’s make a deal. Karena sapi
mengembalikan 30 tahun usianya, lalu anjing mengembalikan 10 tahun,
dan monyet mengembalikan 10 tahun usianya padamu, berikanlah semuanya
itu padaku. Semua itu akan menambah masa hidupku menjadi 75 tahun.
Setuju ?”
Maka setujulah Tuhan.

AKIBATNYA…………………………

Pada 25 tahun pertama kehidupan sebagai manusia dijalankan (kita
makan, tidur dan bersenang-senang)

30 tahun berikutnya menjalankan kehidupan layaknya seekor sapi (kita
harus bekerja keras sepanjang hari untuk menopang keluarga kita.)

10 tahun kemudian kita menghibur dan membuat cucu kita tertawa dengan
berperan sebagai monyet yang menghibur.

Dan 10 tahun berikutnya kita tinggal dirumah, duduk didepan pintu,
dan menggonggong kepada orang yang lewat.

Efisiensi Andersen Consulting

Minggu lalu, saya pergi makan malam bersama beberapa teman kantor di sebuah restoran yang kabarnya cukup laris di daerah kota (untuk yang belum tahu, di Jakarta ada yang dinamakan daerah kota). Saat memesan makanan, saya perhatikan pelayan yang melayani kami membawa sepasang sendok di saku bajunya.

Sedikit aneh, tapi saya tidak begitu peduli. Namun, saat pesanan kami mulai diantar, saya melihat pelayan lain membawa pula sepasang sendok disaku bajunya. Saya jadi tertarik untuk melihat sekeliling dan ternyata memang benar dugaan saya, semua pelayan restoran tersebut membawa sepasang sendok di saku baju masing-masing. Saya jadi ingin bertanya. “Mas kenapa semua pelayan di sini membawa sepasang sendok di sakunya?” tanya saya yang datang membawa piring sate. “Oh begini mas,” jawab si pelayan, “pemilik restoran ini memutuskan untuk menyewa Andersen Consulting, ahli dalam hal analisa efisiensi kerja, untuk memperbaiki kinerja di restoran ini.

Setelah mereka analisa selama beberapa bulan, mereka menyimpulkanbahwa pelanggan restoran ini menjatuhkan sendok makan mereka sebanyak 73,84 persen lebih sering dibandingkan peralatan makan lain yang ada di meja. Menurut Andersen Consulting, itu berarti rata rata 3 pelanggan menjatuhkan sendok per meja setiap jamnya. Jika saja semua karyawan restoran mengantisipasi hal itu, berarti kita bisa mengurangi waktu yang terbuang untuk pulang pergi ke dapur mengambil sendok pengganti dan menghemat waktu 1,5 jam waktu kerja per-shift.”

Saking kagumnya dengan penjelasan si pelayan, tanpa sengaja saya menyenggol salah satu sendok yang ada di meja. Segera saja si pelayan mengambil gantinya dari saku baju sambil berujar, “Betulkan Pak, saya tidak harus pergi kedapur sekarang untuk mengambil sendok pengganti untuk Bapak!” Saya hanya bisa melongo dengan kejadian itu. Tapi, kisah belum berakhir di situ. Ketika pelayan lain menghidangkan pesanan tambahan, saya tetap memperhatikan sekeliling dan satu lagi hal tampak aneh. Saya perhatikan hampir semua pelayan pria memasang benang yang menyembul diujung ritsluiting celana mereka. Benang itu diikaitkan ke ujung kancing terbawah dari baju.

Lagi lagi rasa ingin tahu mengusik saya. Sebab, ternyata pelayan perempuan tak memakai aksesoris benang tersebut. Ketika si pelayan tadi datang, saya menanyakan soal benang itu. “Wah Bapak ini orangnya perhatian sekali ya. Tidak semua pelanggan disini memperhatikan hal-hal sedetail Bapak,” puji si pelayan sedikit menggombal. Saya hanya tersenyum kecil. Apa anehnya orang suka memperhatikan detail? “Ini juga hasil analisa Andersen Consulting Pak,” katanya melanjutkan, “Mereka menyimpulkan bahwa kami pun harus menghemat waktu yang kami habiskan di kamar kecil ketika buang air kecil. Dengan tali yang dikaitkan ke si “Adik” ini (katanya sambil menunjuk tali itu), kami tidak harus menggunakan tangan ketika mengeluarkannya.

Berarti kami akan terbebaskan dari keharusan membasuh tangan setelah buang air kecil. Dan itu menghemat waktu yang terbuang di kamar kecil sebesar 25,92 persen.” Hampir tersedak saya mendengarkan penjelasan itu. “Memang, dengan tali itu tangan jadi terbebas untuk memegang si “Adik”. Tapi, bagaimana caranya untuk memasukkannya kembali ke posisi semula?” tanya saya menyelidik. Dengan setengah berbisik si pelayan berucap, “Andersen Consulting tidak menjelaskan secara spesifik tentang hal itu. Nggak tahu dengan yang lain Pak. Tapi, kalau saya sih pakai sendok yang ada disaku baju ini.”