Exist Method:
static boolean exist(ItemId itemId)--->this is key which is primary
{
return itemId && (select RecId from inventTable -->table name
index hint ItemIdx--->index name in table
where inventTable.ItemId == itemId
).RecId != 0;
}
Find Method:
static InventTable find(ItemId itemId,
boolean update = false--->to define how many primarykeys in table )
{
InventTable inventTable;
;
inventTable.selectForUpdate(update);
if (itemId)
{
select firstonly inventTable-->table name
index hint ItemIdx-->index name
where inventTable.ItemId == itemId;
}
return inventTable;
}
Popular Posts
-
Display Method: Take the new method in a table display Name names() { CustTable custTable; ; return Cust...
-
Difference Between Array and Container : Array : 1 . In this array are single dimension. 2.You can define array in only sing...
-
Pack and unpack Pack this method is a standard method inherited from RunBase. It is used to save the values that the user selects and s...
-
Exist Method : static boolean exist(ItemId itemId)--->this is key which is primary { return itemId && (select RecId from ...
-
static void nestingExcel(Args _args) { SysExcelStyles styles; SysExcelStyle style; SysExcelFont ...
-
Copy of the data from one table to another Table:- Insert_recordset copyOfStudents (ID, Name, ClassName) à here where the data is copied ...
-
Ax Number Sequence : ClassDeclaration: NumberSeqFormHandler numberSeqFormHandler; Close: void close() { if (numberSeqFormHandl...
-
Posting Journals static void Journal_Kis(Args _args) { InventJournalTable journalTable; InventJournalTrans journalTra...
-
suppose they are 3 field in enum one value is shown in form and another form is used in another form .we put the filter in datasource-->i...
-
see this link http://www.4shared.com/dir/W-Aitz4u/Axapta_Video.html
Thursday, 14 July 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment