Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
98 views
15 pages
Guidelines Extensions (Table Level) Best Practices
AX 2012
Uploaded by
charan nalluri
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Guidelines extensions(Table level) Best Practices For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
98 views
15 pages
Guidelines Extensions (Table Level) Best Practices
AX 2012
Uploaded by
charan nalluri
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Guidelines extensions(Table level) Best Practices For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Guidelines extensions(Table level) Best Practices For Later
You are on page 1
/ 15
Search
Fullscreen
FE) Kishor Jadhav 2 D365 F&O | Technical | My Learning | Table ao Extensions Kishor Jadhav 2 D365 F&O Technical Consultant | DevOps | Power Platform | Blogger = Infosys Published Apr 12, 2020 4 \ \_+ Follow) Naming guidelines for extensions 1. Naming extensions (Table, View and Forms) © Suffix the name with the term Extension. For example, an extension of the InventLocation table should follow the pattern InventLocation.
Extension.FE Kishor Jadhav 2 * Don't name the extension just
.Extension, For example, an extension of the InventLocation table must not be named InventLocation.Extension, because the risk of conflicts is too high. 2. Naming extension for logic on Tables, Classes or other elements Start the name of the extension class with the name of the type that is being augmented and end the name with the term _Extension. For example: Extension class for ContactPerson table should start with the name ContactPerson and end with _Extension like ContactPersonWHS_Extension. Use model name infix like
to avoid conflicts. Extend Table: To extend table go to table name, right click and select Create extension / Create extension in new project * Create Extension : This will add extension to the current project * Create extension in new project : It will create a new project and will add the extension.e FE Kishor Jadhav tye veter <> View code BB Fieldt i EB Open table browser Alt+O Fields B rum th Index Add to project [1 Add to new project ft 5 : a Relat! 35. Create extension in new project i“ Gd State Overlayer PveH Agence compare. SEB Gish EE TmpFon Find references FE TmpFon View references EB Tmpfrt View hierarchy El TmpGer @ Refresh | | | | | | | | | | | | | | | | | | | EE TmpHel| | | Properties FA TmpHierarchyDesigner (sys) Note: © Before creating table extension please check the respective table is part of current model package references. If table is in different model, then Create extension option will be disabled. * To enable this option, you need to update model reference. Go to tab Dynamics365 > Model Management > update model parametersKishor Jadhav © Vata types 4 EE Data Model « Tables 1 EE AbbreviationStanina_[Anolication Suitel 2 EB Accountan| 8B Accounti BE Accounting 3B Accounting EB Accour BE Accountin EB Accounting ® ACOCestC| BB ACOCostc: 5B AcQsourng Es} ACOsournd e AcOlourng HE AcOjourna & AcoPanam . Open designer View code Open table browser Alte project Add to new project Duplicate in project Create extension in new project Advanced compare... Cirle K, Cire A Find references View references View hierarchy Refresh Properties 8B ACOProdCostiable BK [Application Sumte)FE Kishor Jadhav 2 Packages [Models] [1] AccountsPayableMobile [Accounts Payable Mobile] (1 ApplicationCommon [Application Common] (11 ApplicationFoundation [Application Foundation] 1] ApplicationFoundationFormAdaptor [Application Foundation Farm Ac ApplicationPlatform [Application Platform] Oo” licationPlatformFormAdaptor [Application Platform Form Adaptor 1] ApplicationSuiteFormAdaptor [Application Suite Form Adaptor] 1 Application Workspaces [Application Workspaces] 1 ApplicationWorkspacesFormAdaptor [ApplicationWorkspacesFormAd: 1 Banktypes [BankTypes] a Back Ned Cancel Modify existing fields in a table through extension To modify properties on an existing field in a table, you must first create an extension for the table. You can modify the following properties: Label Help text Country Region Codes Extended Data Type — You can select only extended data types (EDTs) that are derived from the currently selected EDT. The lookup in the property sheet is filtered so that only those EDTs are shown. For example, to edit the EDT on the Width field in theFE Kishor Jadhav the Invent Table extension, In this way, you can modify the look and feel of the Width field in the user interface when the new package is deployed ee SevvceCoaeTabie IN ff SkipintaComparySync. RU soncode if StandoraConfigtd df StondaranveneCotora if Standaratovertsizla $f Standaraloventiyotd si standoraPaterQuantity if SttisiesFacor sl TaraWeight ‘of TaxotionOvigin BR «if TaxtscalCtosication BR si TaxPackagingQty § TaxServiceCode BR if UnieVotume 8 Useattemid of Wiaeh wis WMSArvatanaingTime di WespaterTypala il WasPicingQayTime i DSN HiSNCodeTabie IN xem IN ServiceAccountingCodeTabteN Visible Behavior Allow Exit ‘Allow Eait On Create Data os Authorization County Region Codes Country Region Context Field Currency Code CCutency Code Fels Add fields to tables through extension (Reference : https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev- itpro/extensibility/add-field-extension) To add a new field to an existing table, you must first create a table extension. For example, to add a field that holds the radius of the released product, you must create an extension for the InventTable table in your model, as shown in the following illustration.FE Kishor Jadhav 2 Fes = 18 Field groups 5 Solution UniedOperations' (1 projet) & esos 4-5 UniedOperations3 (USR) [MyTablefatensonMode) 1 fu Tee naexes
Bi Fields b BB Field groups Allow Duplicates Yes ates Alternate Key No *H MylnventLocationid ee 7 bi ttemide ae == WB hesrcdinelie Index Type Index » wniae Name MyWarchouseldx Doh Productiax Tags > S InventfiscalliFOGrouplde ae une Oe. bh, BeiseTanatCodes.1Nide Sa lime Netee > CustomsFenortTanifCodoTable INtce Modify table properties through extension You can now modify the following properties through the property sheet: * Created By * Created Date Time * Modified By * Modified Date Time * Country Region Codes By setting the Created By, Created Date Time, Modified By, or Modified Date Time property to Yes, you help guarantee that a corresponding field is added to the table. Corresponding tracking information about the user is then stored in the table whenFE) Kishor Jadhav 2 By adding country or region codes to the list, you help guarantee that the corresponding table is also applicable when the system runs in the context of the specified country or region. Add methods to tables through extension To add method on the extension table we should create augmentation class. For example, a new field that is named MyInventLocationId was added to the InventTable table through extension. A data event handler was also created for the Inserting event, and you must implement the logic of filling the new field there. To encapsulate that action, you will create a new method on InventTable and name that method myDefaultInventLocationId. ‘You first create a new class in the extension model. This class will augment the InventTable table and enable access to the table's fields and methods in a manner that is easy to read and understand. It's important that you choose the correct name for your augmentation class. (ExtensionOf(tableStr(InventTable))] final class InventTableMy_Extension public void myDefaultInventLocationld()FE) Kishor Jadhav 2 this. MyInventLocationld = this.inventLocationId(); // Other methods These methods will then appear in IntelliSense for variables of the InventTable type, just as if they were defined directly on the table. This behaviour applies to both static methods and instance methods There are a few rules for augmentation classes: * They must be final © They must be suffixed by Extension. © They must be decorated with the [ExtensionOf(] attribute. Thanks, Kishor Jadhav Email: kishorworld! @gmail.com Skype: kishorworldFE Kishor Jadhav 2 Like Comment Share To view or add a comment, sign in Others also viewed Jes ee Top 10 issues discovered from Dynamics AX Code Review Bertrand Caillet - 6y D365 F&O: Update data entity staging table data before data is transferred to target table Manish Singh - 6mo Explore topics Workplace Job Search Careers Interviewing Salary and Compensation Internships Employee Benefits See All © 2022 About Accessibility User Agreement Privacy Policy Cookie PolicyFE) Kishor Jadhav Language
You might also like
ИСПИТ MB-500 (QnA)
PDF
No ratings yet
ИСПИТ MB-500 (QnA)
57 pages
How To Configure D365 F&O VHD Into VMWare WorkStation
PDF
No ratings yet
How To Configure D365 F&O VHD Into VMWare WorkStation
36 pages
Dynamics 365 Implementation Guide
PDF
No ratings yet
Dynamics 365 Implementation Guide
734 pages
AX Technical Q&A
PDF
No ratings yet
AX Technical Q&A
41 pages
Move A Fixed Asset To Inventory - Finance - Dynamics 365
PDF
No ratings yet
Move A Fixed Asset To Inventory - Finance - Dynamics 365
1 page
Exam MB 600 Microsoft Dynamics 365 Power Platform Solution Architect Skills Measured
PDF
No ratings yet
Exam MB 600 Microsoft Dynamics 365 Power Platform Solution Architect Skills Measured
5 pages
Contoso DW - Factsales and Related Dimension Tables: Dimdate
PDF
No ratings yet
Contoso DW - Factsales and Related Dimension Tables: Dimdate
8 pages
Ax2012 Enus Deviv 04 PDF
PDF
100% (1)
Ax2012 Enus Deviv 04 PDF
54 pages
Leveraging Power BI With D365 Chicago
PDF
No ratings yet
Leveraging Power BI With D365 Chicago
33 pages
Rapidi - Fact Sheet - Salesforce and Microsoft Dynamics 365 Integration
PDF
No ratings yet
Rapidi - Fact Sheet - Salesforce and Microsoft Dynamics 365 Integration
6 pages
Ax Data Partitioning
PDF
No ratings yet
Ax Data Partitioning
15 pages
ITTI - MS Dynamics AX Practice
PDF
No ratings yet
ITTI - MS Dynamics AX Practice
20 pages
81060ae Dyn365 Conf Enus 01
PDF
No ratings yet
81060ae Dyn365 Conf Enus 01
29 pages
Integration TechTalk Session 1 - Final (Publish)
PDF
No ratings yet
Integration TechTalk Session 1 - Final (Publish)
51 pages
Microsoft Dynamics - Innovations: Johan Olsson Microsoft AB
PDF
No ratings yet
Microsoft Dynamics - Innovations: Johan Olsson Microsoft AB
50 pages
Microsoft Dynamics AX Cube and KPI Refer PDF
PDF
No ratings yet
Microsoft Dynamics AX Cube and KPI Refer PDF
138 pages
AXUG - D365FO Automated Testing - Distribute PDF
PDF
0% (1)
AXUG - D365FO Automated Testing - Distribute PDF
31 pages
Inside Dynamics AX 2012 Performance - A1214
PDF
No ratings yet
Inside Dynamics AX 2012 Performance - A1214
22 pages
Modifying Existing Work Flow Through X++With Example - Microsoft D365 F&O - Dynamics AX 2012
PDF
No ratings yet
Modifying Existing Work Flow Through X++With Example - Microsoft D365 F&O - Dynamics AX 2012
8 pages
Dynamics 365 Licensing Guide January 2025
PDF
No ratings yet
Dynamics 365 Licensing Guide January 2025
62 pages
Dynamics 365 Licensing Guide May 2019
PDF
No ratings yet
Dynamics 365 Licensing Guide May 2019
61 pages
Naukri Nallurinagaraju (2y 6m)
PDF
No ratings yet
Naukri Nallurinagaraju (2y 6m)
3 pages
Reference Companion Guide 80730
PDF
No ratings yet
Reference Companion Guide 80730
195 pages
MB 310 Demo
PDF
No ratings yet
MB 310 Demo
41 pages
Dynamics 365 Licensing Guide April-2024
PDF
No ratings yet
Dynamics 365 Licensing Guide April-2024
64 pages
Uday Kumar: Professional Summary
PDF
No ratings yet
Uday Kumar: Professional Summary
3 pages
Chapter 1: Working With Projects: Objectives
PDF
No ratings yet
Chapter 1: Working With Projects: Objectives
28 pages
TEI of Microsoft Dynamics 365 Business Central
PDF
No ratings yet
TEI of Microsoft Dynamics 365 Business Central
26 pages
Production Control D365F&O Production Order Lifecycle
PDF
No ratings yet
Production Control D365F&O Production Order Lifecycle
12 pages
JD - Microsoft D365 F&O - Technical Developer PDF
PDF
No ratings yet
JD - Microsoft D365 F&O - Technical Developer PDF
2 pages
MB 310 Mod2
PDF
No ratings yet
MB 310 Mod2
168 pages
AXUG - Best Practices
PDF
No ratings yet
AXUG - Best Practices
57 pages
Ax 2012 R 3 Installation Guide
PDF
100% (1)
Ax 2012 R 3 Installation Guide
240 pages
Dynamics 365 For Finance and Operations Enterprise Edition On Premises System Requirements
PDF
No ratings yet
Dynamics 365 For Finance and Operations Enterprise Edition On Premises System Requirements
17 pages
Management Reporter 2012 For Microsoft Dynamics ERP: Installation and Configuration Guides
PDF
100% (1)
Management Reporter 2012 For Microsoft Dynamics ERP: Installation and Configuration Guides
27 pages
AX Vs FandO Guide
PDF
No ratings yet
AX Vs FandO Guide
11 pages
AX2012 Approval Limit
PDF
No ratings yet
AX2012 Approval Limit
5 pages
MB-310 9-0
PDF
No ratings yet
MB-310 9-0
287 pages
Microsoft Dynamics 365: Intelligent Business Applications
PDF
No ratings yet
Microsoft Dynamics 365: Intelligent Business Applications
17 pages
Financials I
PDF
100% (1)
Financials I
564 pages
Ax 40 Data Model
PDF
No ratings yet
Ax 40 Data Model
156 pages
Financial Management: General Ledger Basic Budgeting
PDF
No ratings yet
Financial Management: General Ledger Basic Budgeting
8 pages
Microsoft Dynamics 365 For Property Management Script
PDF
No ratings yet
Microsoft Dynamics 365 For Property Management Script
4 pages
CommerceSDK Overview
PDF
No ratings yet
CommerceSDK Overview
33 pages
NAV17 Web
PDF
No ratings yet
NAV17 Web
812 pages
Dynamics AX Discount Setup
PDF
No ratings yet
Dynamics AX Discount Setup
5 pages
Name: Grade: Competency:: Adrish Bhattacharya Consultant Microsoft Dynamics 365 F&O
PDF
No ratings yet
Name: Grade: Competency:: Adrish Bhattacharya Consultant Microsoft Dynamics 365 F&O
4 pages
Introduction To The SysOperation Framework
PDF
No ratings yet
Introduction To The SysOperation Framework
59 pages
Microsoft Dynamics 365 Quotation
PDF
No ratings yet
Microsoft Dynamics 365 Quotation
2 pages
Salesforce Workflow Cheatsheet
PDF
No ratings yet
Salesforce Workflow Cheatsheet
4 pages
Number Sequence Framework in Microsoft Dynamics AX 2012
PDF
No ratings yet
Number Sequence Framework in Microsoft Dynamics AX 2012
26 pages
Microsoft - Prep4sure - PL 400.v2021!05!14.by - Liguiying.47q
PDF
No ratings yet
Microsoft - Prep4sure - PL 400.v2021!05!14.by - Liguiying.47q
100 pages
Microsoft Dynamics AX Implementation Guide - Sample Chapter
PDF
No ratings yet
Microsoft Dynamics AX Implementation Guide - Sample Chapter
30 pages
MB 310
PDF
No ratings yet
MB 310
30 pages
Financial I
PDF
No ratings yet
Financial I
526 pages
Microsoft Dynamics 365 For Operations On-Premises, Enterprise Edition Licensing Guide
PDF
100% (1)
Microsoft Dynamics 365 For Operations On-Premises, Enterprise Edition Licensing Guide
27 pages
Morphx It English 1ed
PDF
No ratings yet
Morphx It English 1ed
319 pages
Technical Episode 1
PDF
No ratings yet
Technical Episode 1
10 pages
Extend The Master Data Governance Material Data Model by A Custom Defined Field For A Reuse Entity Type
PDF
No ratings yet
Extend The Master Data Governance Material Data Model by A Custom Defined Field For A Reuse Entity Type
40 pages
Ultimate Guide To Extensibility in D365
PDF
No ratings yet
Ultimate Guide To Extensibility in D365
10 pages