
Search In
Auto-increment is used to allow a unique number when a new record inserted into a table. Generally we use Auto-increment to create value for primary key field automatically when a new record is inserted into a table.
Syntax:
The below statement cr
Hello Guys
ScreenName is uniquely identify to user and we can use screenname as user tag name in liferay.
Here, two ways to get user by using screenname with companyId :
Step 1: Get user by using screenname in jsp(view.jsp) page in lifera
FULL OUTER JOIN
If you want to combine the results of both LEFT and RIGHT join than we use FULL JOIN keyword. The joined table which created after FULL JOIN contains all records from both the two tables, and fills null value for those places where
Transaction anywhere is used to execute or stop set of statements.
BEGIN TRANSACTION trans
BEGIN TRY
INSERT INTO Department(DeptID,DeptName,Location)VALUES(2,'HR','Delhi')
INSERT INTO Employee(EmpID,Name,Salary,Address,DeptID)VALUE
To create the picking list of User defined argument and to the calculates planned date if it is greater than value and than if condition is true and its also user defined argument so you have to validate the Name of field and also Value of field and
Sometimes we need to generate a unique number for an emailId, for example when a user register then we need to generate a number by using that user can verify his EmailId. For this we can use SHA1 encoding method.
Example - In the below method I'
For editing user information in cake php by clicking on edit button we have to first pass user id in URL by using below code in our view.
<?php echo $this->Html->link('Edit',array('action'=>'edit/'.$user['User']['id']));
A
How to change the form action before submit on the basis of element/input field click.
The html sample code for form having radio button and submit button :
<form action="" id="myformID">
<input type="radio" name="changeaction" v
In OpenERP first, create your custom module and inherits the purchase module object like purchase.order object in your own module. Than add button in the purchase form.
Follow these step given below
Step1- First create module and than file like tes
In OpenERP first, install the sale and account module and then create the own module.
Follow these step given below:
Step1- Create your own module and then create merge_partner file and then pass this file in __init__.py file in your own module. Th
