AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Old 13.02.2007, 12:30   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Join Date: 28.10.2006
casperkamal: Using Script to create code for inserting record in a table
Источник: http://casperkamal.spaces.live.com/B...CD63!221.entry
==============

 
     Few days back i came across a very interesting feature in Axapta. It is about creating code for inserting a record in a table, generally for which we take a long time looking in to the enum and etc... Believe me you can do all that in one go just try this out....
 
Select any form, say for ex: chart of Accounts
1.Right Click and Choose "Recordinfo" from the options,

 
                                
 
 
2. a form like the one shown will appear, just click on "script" button and the code to insert a record in leder table is copied to the clipboard,

 
  
                                    
                    
 
3. Finally Paste in a job or wherever you want..... Very simple
 
 
                                   
                        
 
 
Amazing.........cute Ax        
 




Источник: http://casperkamal.spaces.live.com/B...CD63!221.entry
Old 13.02.2007, 12:57   #2  
kashperuk is offline
kashperuk
Участник
kashperuk's Avatar
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Join Date: 30.05.2004
Location: Atlanta, GA, USA
Как раз подобную идею пишу для тройки.
Опередили.
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
casperkamal: Using record templates in code for Dynamics Ax 4.0. Blog bot DAX Blogs 0 10.05.2008 19:14
jerry-dynamics: How can you make sure that the end user can not delete a record in one table if there are related records in another table? Blog bot DAX Blogs 0 16.06.2007 11:20
casperkamal: A small addition to creation of Table throug x++ code in Dynamics Ax Blog bot DAX Blogs 0 03.04.2007 23:11
casperkamal: Adding a Table field through X++ code in Dynamics Ax Blog bot DAX Blogs 1 02.04.2007 17:05
PatrickChua: Temporary table Blog bot DAX Blogs 0 28.10.2006 18:14
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 10:20.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.