Thursday, February 26, 2015

Copying table records between company in Axapta


code snippet for copying all table records from one company to another

static void CopyTable(Args _args)
{

while select * from table1
{
   ttsbegin;

   ChangeCompany('COM2')
   {
        buf2buf(table1, table2);
   }

   table2.insert();
   ttscommit;
}

}

No comments:

Post a Comment

Applying SMA10/20, SMA20/50 as trading signals

This is the comparison for results before and after applying SMA10/20 and SMA20/50 in the stock trader. Background Trading 3 stock ma...