Accrual Basis Accounting

by Mark Marucot on July 23, 2010

Accrual Basis Accounting is the most commonly used accounting method which recognized revenue and expenses as follows: Revenue Recognition Revenue is recognized when the following conditions are met Income is earned when cash is received when products are delivered or services are provided Income is realized when it is reasonable to expect that cash will [...]

{ 1 comment }

Accounting Encumbrance

by Mark Marucot on July 23, 2010

In accounting, an encumbrance is an action of predefining future expenditures for a certain planned project, company expenses, etc. This will later on become actual expenditures when goods and services are received. The primary purpose of tracking encumbrances is to avoid overspending a budget. Encumbrances can also be used to predict cash outflow and as [...]

{ 2 comments }

Get Employee Details in Oracle E-Business Suite

July 20, 2010

select distinct p.person_id, p.full_name, p.employee_number, p.email_address, p1.full_name supervisor, p1.employee_number supervisor_emp_num, p1.email_address supervisor_email from per_all_people_f p, per_all_assignments_f a, per_all_people_f p1 where p.employee_number = a.assignment_number and a.SUPERVISOR_ID = p1.person_id and p.EFFECTIVE_END_DATE >= sysdate and p1.EFFECTIVE_END_DATE >= sysdate and p.employee_number = ‘&EMP_NUMBER’;

Read the full article →

Check the Oracle Database Version

July 17, 2010

Run this query to check the version of the Oracle Database: select MAX(version) from v$instance;

Read the full article →

Java Threading

November 21, 2009

TimerTextField.java import java.util.Date; import javax.swing.JTextField; public class TimerTextField extends JTextField implements Runnable { private boolean gogo = true; @Override public void run() { // TODO Auto-generated method stub Date d; while(gogo) { d = new Date(); this.setText(d.toString()); this.repaint(); try { Thread.sleep(1000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } [...]

Read the full article →

Java Navigation

November 14, 2009

Main.java public class Main { public static void main(String[] args) { new Apps(); } } Apps.java import java.awt.Component; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.JTextField; public class Apps extends JFrame{ private JButton jbsave; private [...]

Read the full article →

Java Hashmap

November 13, 2009

Pet.java public class Pet { private String name; private int age; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } } Apps.java import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.FileReader; [...]

Read the full article →

Java Array

November 13, 2009

import java.util.Arrays; public class MainProg { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int num1[] = {1,2,3,4}; int num2[] = new int[4]; int num3[] = new int[4]; // to populate for (int i=0 ; i < 4 ; i++) { num2[i] = i; } Arrays.fill(num3,0); // [...]

Read the full article →

New Oracle SOA Book

June 25, 2009

Are you new to SOA and would like to learn how Oracle SOA Suite fits into the SOA world ? Or are you a SOA professional and looking for an all in one book on Oracle SOA Suite? Then wait no more, after a few months of waiting, Matt Wright and Antony Reynolds finished the [...]

Read the full article →

Javascript getElementById Issue in Firefox

July 12, 2008

I'm working on an Javascript code. This web application is retrieving value from a couple of textbox fields and concatenate in result textbox field. I tested the web application in Internet Explorer and it work fine. But when I'm testing in Firefox, the value is not passed to the textbox field. Here is the original [...]

Read the full article →