IDs are used to uniquely identify objects in the application. This allows you to change the name of an object without negatively affecting the application. For example, if you create a table and use it as a data source in several forms, reports and views you can change the name at a later date and the kernel will automatically change the name of the data source wherever it is used by using the ID as a reference. The only problem in this case is that the name used in X++ code will have to be changed manually.
 
When you export objects from the AOT you have the option of exporting from a specific layer. With the use of ID range the kernel can easily identify the objects from specific layers in this case. If you attempt to delete an object and the objects ID is in the SYS layer range you will not be able to delete it. You can only delete an object if the ID range is in the current layer that you are in.
 
These are just a few ways in which you can see the purpose of the ID range in the different layers.
 
Senior Developer
WellPoint Systems Inc.
Suite 2000,
500 - 4th Ave SW
Calgary
, Alberta, Canada
T2P 2V6
 
(403) 444-5848 direct
(403) 444-3900 main
(403) 615-1604 cell
 
 

Ax Dev <[EMAIL PROTECTED]> wrote:
Hi Dhanashree,
 
What happens exactly is: A single index file called "axapd.aoi" (.aoi - stands for Axapta Object Index) is generated in the application/std folder, that automatically ensures that the top-level version of an application object is always used. The application objects have unique id numbers in addition to names. Axapta uses 8 number series corresponding to 8 layers.
 
When an object is initially created, Axapta automatically manages ids. But i didn't use these object ids for reference purpose during application development but i think that can be used for refereces purposes.
 
Thanks & Regards,
Harsh

 
On 12/22/05, dhanashreebhagwat16 <[EMAIL PROTECTED]> wrote:
  What is ID- range in axapta application layers?
  What it means?
  For what purpose it has assigned to these layers?
  Is this the case that we can use that id number as a reference to
  the application objects inside that particular layer?







------------------------ Yahoo! Groups Sponsor --------------------~-->
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/F9LvrA/dlQLAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~->

Sharing the knowledge on Axapta.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/






Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.




SPONSORED LINKS
Business finance course Business to business finance Small business finance
Business finance consultant Business finance magazine Business finance schools


YAHOO! GROUPS LINKS




Reply via email to