You would teorically have no problem.
 
If you export objects without selecting special options, Axapta will exports objects with USR point of view. This is, if you export a form with modifications in VAR and USR layers, USR layer version will be exported. If you export a Table, It will export the entire table, both VAR and USR add-ons (it's a more rightful point of view than 'versions'. In Tables, you make add-ons, instead of creating a new version as in reports or forms)  with USR version overloading VAR parts of table (methods) prevailing.
 
Now let's see the import:
 
You will be careful. Look at this. I explain what happens with forms and tables importations.
 
Objects to be overwritten in import are modified in / you import into / result / notes
standard / VAR or USR / you just import the modifications / none
VAR / VAR / You just import the modifications / Previous modifications will be lost. The objects will be equal as you exported.
USR / USR: as above.
VAR(+ USR or not) / USR / New form created on USR layer, this new one will prevail. New fields, methods, etc, will be added to tables; the VAR add-ons or modifications are no deleted; If USR field, method, etc, overwrites a VAR one, it does so, and in that part USR prevail. USR parts will be deleted first, and then the new USR parts will be added. / This does not work always in the same way...
(VAR or not)+USR / VAR / Form is imported into VAR layer, below USR layer, so modifications will not be visible; If you then delete the USR version to make VAR version visible, be careful: You may experience that form contents are fleed (import it again in VAR layer to solve this). Importing modifications into tables is a bit dangerous path; teorically you only add parts that aren't overwritten in USR layer, and if a piece (method, field) is in USR layer, you import them (if different) but USR layer prevail. / The experience has told me that fields usually remain OK, but methods, by example, are often deleted by axapta (yes, the USR ones too). So you must always review the objects after importing...!!! If table or parts of it is created in USR layer, and you make add-ons in VAR, in a future, when making a upgrade, you may get real problems with ID's of objects, fields and methods.
 
So, an advice (or two): If you create in VAR, modify or add or VAR and USR; but if you create on USR, modifying in VAR may give you a lot of future problems. Import objects two times better than one; if objects exist in VAR and USR layers, make previously a backup of them and then review them.
Raúl Llorente Peña

Análisis, Desarrollo e Implementación en
Microsoft Bussiness Solutions-Axapta
OPEN SOLUTIONS

Para: Axapta-Knowledge-Village@yahoogroups.com
De: "compashi" <[EMAIL PROTECTED]>
Fecha: 19/12/2004 09:04
Asunto: [Axapta-Knowledge-Village] Cosmetic Changes On Form


Hello to EveryBody,

I am trying to make certain modifications on existing Axapta Forms as
per the Visuals and the information that it's showing.But i am unsure
whether all these changes which i am doing on usr layer will not pose
any problem when imported to an existing application that have been
developed on var layer.


In this process of customisation i am also writing certain methods on
the underlying tables.

Please help me out how to perform it in terms of Steps and should it
be done on existing running application or i should go for a complete
backup of Application.

Thanks to everybody who is contributing to this wonderful group.

HAve  A NICE TIME.






------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/







Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to