<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-202993299388026022</id><updated>2026-08-31T07:37:47.560-07:00</updated><category term="Axapta"/><category term="Ax 2009"/><category term="Ax"/><category term="Ax 2012"/><category term="Ax 2012 R2"/><category term="Product Information Management"/><category term="Product master"/><category term="Product"/><category term="Ax 2012 Eventing"/><category term="Ax 2012 Financial Dimensions"/><category term="Ax dynamics"/><category term="Batch Printing"/><category term="Batch Processes"/><category term="Change the color of a single colum not the entire row"/><category term="Cheque printing functionality"/><category term="Copying data of one table to another table across the company in AX 2009"/><category term="Create Sales order in Ax 2012"/><category term="Create batch class"/><category term="Customized Lookup"/><category term="Eventing"/><category term="Find\Filter functionality on display method"/><category term="Lookup Form"/><category term="Number Seq in Ax 2009"/><category term="Number Seq in Ax 2012"/><category term="Product Structure"/><category term="Release Products"/><category term="Release Products to the legal entities"/><category term="Restore Sql database"/><category term="Running Batch Report in Ax 2009"/><category term="SID"/><category term="Sales order - Commission"/><category term="User&#39;s Security Identifier"/><category term="affectedElementsByControl"/><category term="affectedElementsByField"/><category term="displayOption"/><category term="get the current active company in AX 2009"/><category term="product creation"/><category term="restore Ax 2012 Database"/><title type='text'>Piyush&amp;#39;s D365 F&amp;amp;O Tech Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-5544121906075050062</id><published>2026-08-31T07:06:33.365-07:00</published><updated>2026-08-31T07:06:33.365-07:00</updated><title type='text'>From LCS to PPAC: Microsoft D365 F&amp;O Power Platform Admin Center (PPAC) for new D365 F&amp;O Implementations by 2026</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;For years,
Lifecycle Services (LCS) has been the home base for Dynamics 365 Finance &amp;amp;
Operations, but Microsoft is modernizing the administration and lifecycle
management experience. Microsoft is moving key support and administration
capabilities into the Power Platform Admin Center (PPAC). A key part of this
evolution is the transition from&amp;nbsp;&lt;b&gt;Lifecycle Services (LCS)&lt;/b&gt;&amp;nbsp;to
the&amp;nbsp;&lt;b&gt;Power Platform Admin Center (PPAC)&lt;/b&gt;&amp;nbsp;as the primary
operational and administrative hub. This shift is more than a UI change; it is
a step toward a unified admin experience across Dynamics 365, Power Apps, and
the wider Power Platform.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;One Dynamics One Platform: Microsoft&#39;s Vision&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The move
toward&amp;nbsp;One Dynamics One Platform&amp;nbsp;is the foundation behind Microsoft’s
transition strategy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Rather than
treating Dynamics 365 as a standalone ERP ecosystem, Microsoft is gradually
aligning Dynamics applications with the same governance and operational
framework used across the Power Platform.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;This creates a
more connected administration model where:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo2; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Environment governance becomes
     centralized&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo2; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Security controls operate
     consistently across services&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo2; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Administrative experiences become
     standardized&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo2; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Release operations align across
     platforms&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l3 level1 lfo2; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;AI, automation, and analytics
     services integrate more naturally with Dynamics 365 workloads&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The objective
is not simply consolidation. It is operational consistency.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Under this
model, Dynamics 365 environments are expected to function as part of a broader
business application ecosystem rather than isolated ERP implementations. This
also supports Microsoft’s larger SaaS direction, where platform services, AI
capabilities, automation, and business applications increasingly operate within
a shared operational layer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;This is also
where Microsoft’s Unified Developer Experience begins to play a larger role.
Development, deployment, administration, and Dataverse integration are
gradually being aligned within a single operational framework managed through
PPAC rather than separate LCS-driven environments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Why is Microsoft Moving from LCS to PPAC?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The decision to
migrate from Lifecycle Services (LCS) to Power Platform Administration Center
(PPAC) is not arbitrary housekeeping. Microsoft has spent several years
collapsing separate product estates into one platform, and Finance and
Operations was the last major workload standing outside it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The reasoning
is coherent, and it matters because it tells you which direction future
investment flows. Here are 5 key reasons that Microsoft is migrating from LCS
to PPAC:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;One administrative surface.
     Environments, capacity, security and governance for ERP now sit alongside
     Power Apps and Dataverse instead of in a portal only ERP administrators
     ever opened.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Native Dataverse architecture.
     Finance and Operations runs as an application inside a unified environment
     rather than as an isolated deployment with a bolted-on integration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Modern lifecycle management.
     Deployment moves toward the same solution and pipeline patterns already
     used across the Dynamics 365 stack.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;New capability lands in PPAC first.
     Monitoring, governance controls, analytics and Copilot features are being
     built for the unified platform. Staying on LCS increasingly means opting
     out of the roadmap.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l2 level1 lfo3; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Capacity governed centrally.
     Storage and compute are measured and enforced at tenant level, which is
     precisely why this transition has a cost dimension most organizations have
     not modeled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;LCS vs PPAC Migration: What Changes for
Dynamics 365 F&amp;amp;O&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;One of the
biggest operational shifts involves environment provisioning and development
workflows. Under the Unified Developer Experience approach, developers work
through locally installed Visual Studio environments connected directly to
cloud-hosted development environments managed through PPAC.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;This changes
the traditional dependency on cloud-hosted development VMs and VHD-based setups
that were commonly used in LCS-driven environments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The move also
strengthens Microsoft’s push toward standardized SaaS operations, where
environment management, governance, and development workflows align more
closely with broader Power Platform administration practices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blog/post/edit/202993299388026022/5544121906075050062?hl=en&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13.5pt; line-height: 115%; mso-no-proof: yes; text-decoration: none; text-underline: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;
 coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;
 filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_13&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;
 href=&quot;https://draft.blogger.com/blog/post/edit/202993299388026022/5544121906075050062?hl=en&quot;
 style=&#39;width:468pt;height:310pt;visibility:visible;mso-wrap-style:square&#39;
 o:button=&quot;t&quot;&gt;
 &lt;v:imagedata src=&quot;file:///C:/Users/PIYUSH~1.OJH/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;mso-ignore: vglayout;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;413&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEidV_aSwrY74u2gLVEXNiReXkeXBE40_Zzqqy_EmNm9fYUnSnCcQ4PVJJcs310B7pIOPTPD0LaxkgiftQ55xjqYSlQyA8krFjPYvZlEuwodJqZiideQzzcY8ZqgWSW3CRnOI8Od3kDhzsWHiCRDuy7JGlrvZsAiHXTG_dVn4ICivu0E0WlvvdW8N1F2uRvj&quot; v:shapes=&quot;Picture_x0020_13&quot; width=&quot;624&quot; /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;How Dynamics 365 Release Management Is Evolving&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;One of the most
significant operational impacts of the move from LCS to PPAC
involves&amp;nbsp;Dynamics 365 release management.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Many
organizations built their deployment and servicing processes directly around
Lifecycle Services. Release coordination, update scheduling, deployment
orchestration, and environment servicing were all tightly connected to LCS
workflows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Under the newer
PPAC and Unified Developer Experience model, Microsoft is moving toward
stricter CI/CD-driven deployment practices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;This introduces
several changes to how releases are managed across Dynamics 365 environments:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo4; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Development happens through local
     Visual Studio environments connected to cloud-hosted development
     environments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo4; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Deployments to the sandbox and
     production environments are expected to move through Azure DevOps
     pipelines&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo4; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Unified deployment packages become
     part of the standardized deployment process&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo4; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Manual deployment flexibility is
     reduced in favor of controlled release orchestration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo4; tab-stops: list .5in;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Governance and approval workflows
     become more centralized through PPAC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;The shift
becomes more visible when comparing how release operations were traditionally
handled in LCS environments versus the newer PPAC-aligned model.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;What Changes for Admin Roles and Partner
Access?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Under Lifecycle
Services, users from any tenant could be added to a project and immediately
work on a customer’s behalf. That model is gone. In PPAC, persistent support
access requires a genuine admin role, Service Support Administrator or Helpdesk
Administrator, and partners must operate through delegated administration to be
linked correctly to the customer tenant.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;A temporary
Lifecycle Services User role softens the transition when users arrive via an
LCS link, but Microsoft has stated it will be removed once the transition
completes. There is a governance trap here worth naming out loud. Helpdesk
Administrator also permits resetting passwords for non-admin users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Organizations
that hand out that role simply so a functional consultant can file a support
ticket are granting materially broader privileges than they intend. Decide
deliberately who holds these roles before someone grants them under pressure
during an incident.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;b&gt;How Does the
LCS to PPAC Migration Benefit Your Long-Term Roadmap?&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Framed
correctly, this is not a retreat from something failing. It is the opportunity
to rebuild your ERP operating model on the platform Microsoft is actually
investing in, with governance, capacity discipline, and development practice
that will hold through the next several waves of change.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Here are 5 keyways
the LCS to PPAC migration will benefit your long-term business strategy:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;You inherit the investment path.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&amp;nbsp;New monitoring, governance,
     analytics and AI capability is being built for the unified platform first.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Your development practice
     modernizes.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&amp;nbsp;Fully
     functional developer environments and solution-based deployment replace VM
     maintenance and package uploads.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Governance becomes tenant wide.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&amp;nbsp;Environment policies, DLP and
     access control apply consistently across ERP and the wider platform
     instead of stopping at the ERP boundary.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Capacity becomes visible and
     therefore manageable.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;
     You cannot govern what you cannot see, and tenant-level reporting finally
     makes storage a managed line rather than a surprise.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;Analytics and Fabric alignment.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt; Dataverse-native ERP integrates
     with modern analytics architecture rather than requiring a bridge to it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
 &lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;You build organizational muscle
     memory early.&lt;/span&gt;&lt;/b&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&amp;nbsp;Teams
     that migrate deliberately arrive at the mandatory phase experienced. Teams
     that wait arrive at it learning.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,sans-serif&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/5544121906075050062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2026/08/from-lcs-to-ppac-microsoft-d365-f-power.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5544121906075050062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5544121906075050062'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2026/08/from-lcs-to-ppac-microsoft-d365-f-power.html' title='From LCS to PPAC: Microsoft D365 F&amp;O Power Platform Admin Center (PPAC) for new D365 F&amp;O Implementations by 2026'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEidV_aSwrY74u2gLVEXNiReXkeXBE40_Zzqqy_EmNm9fYUnSnCcQ4PVJJcs310B7pIOPTPD0LaxkgiftQ55xjqYSlQyA8krFjPYvZlEuwodJqZiideQzzcY8ZqgWSW3CRnOI8Od3kDhzsWHiCRDuy7JGlrvZsAiHXTG_dVn4ICivu0E0WlvvdW8N1F2uRvj=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1950094862178914323</id><published>2014-07-04T03:05:00.000-07:00</published><updated>2014-07-04T03:08:30.983-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="restore Ax 2012 Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Restore Sql database"/><title type='text'>Manually Restore an MSSQL Database in SQL Management Studio</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial; line-height: 21px;&quot;&gt;Hi Everyone,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial; line-height: 21px;&quot;&gt;If you need to manually restore an SQL Database in Management Studio you can follow the instructions below for the version of SQL Server running on your server.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; line-height: 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;SQL 2012:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box;&quot;&gt;
&lt;ol style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Log onto SQL Server Management Studio.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Navigate to the database you wish to restore.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Right Click &amp;gt;&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Tasks &amp;gt; Restore &amp;gt; Database.&lt;/b&gt;&lt;/span&gt;&lt;u style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Once on the&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;General&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;tab&amp;nbsp;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;s&lt;/span&gt;&lt;/span&gt;et the source to&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;D&lt;/span&gt;evice &amp;gt; Select Backup Device &amp;gt; Add&lt;/b&gt;&amp;nbsp;&amp;gt; Navigate to the .bak file you&#39;re restoring to.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Ensure The Destination Database is the correct one.&lt;/span&gt;&lt;u style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Select the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Options&amp;nbsp;&lt;/b&gt;tab.&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Check &quot;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Overwrite the existing database (WITH REPLACE)&lt;/b&gt;&quot;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&quot;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Close existing connections to destination database&lt;/b&gt;&quot;.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Uncheck &quot;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Take tail-log backup before restore&lt;/b&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Click&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;OK.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-family: Arial;&quot;&gt;&lt;b&gt;Why we uncheck the Take tail-log Backup Before restore??&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times, &#39;Times New Roman&#39;, serif; line-height: 1.48em;&quot;&gt;Tail-log backups are new to&amp;nbsp;&lt;/span&gt;SQL Server 2005&lt;span style=&quot;font-family: Georgia, Times, &#39;Times New Roman&#39;, serif; line-height: 1.48em;&quot;&gt;. The tail-log backup captures records on the transaction log that were written since the last transaction log backup. If you’re going to restore a database to the point of failure, then you need to take a tail-log backup before you start the restore operation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: Georgia, Times, &#39;Times New Roman&#39;, serif; line-height: 1.48em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;If you’re going to restore to a point in time prior to the last transaction log backup, if you’re moving the database from one server instance to another, or if you’re overwriting the existing database, then you won’t need a tail-log backup. If the transaction log is damaged and you can’t take a tail-log backup, then you must restore without one.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;SQL 2008:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; line-height: 21px;&quot;&gt;
&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Log into SQL Server Management Studio.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;u style=&quot;box-sizing: border-box;&quot;&gt;N&lt;/u&gt;avigate to the database you wish to restore.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Right click &amp;gt;&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Tasks &amp;gt; Restore &amp;gt; Database&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Once on the&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;General&lt;/b&gt;&amp;nbsp;tab s&lt;/span&gt;elect &quot;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;From Device&lt;/b&gt;&quot; for the source for restore, then navigate to the .bak file you&#39;re restoring to.&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Ensure the Destination for restore is set to the correct database.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Select the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Options&lt;/b&gt;&amp;nbsp;tab.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Check &quot;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Overwrite the existing database (WITH REPLACE)&lt;/b&gt;&quot;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 0.55em; padding-left: 0.4em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-family: Arial;&quot;&gt;Click&amp;nbsp;&lt;b style=&quot;box-sizing: border-box;&quot;&gt;OK&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1950094862178914323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2014/07/manually-restore-mssql-database-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1950094862178914323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1950094862178914323'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2014/07/manually-restore-mssql-database-in-sql.html' title='Manually Restore an MSSQL Database in SQL Management Studio'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-8106973594834341605</id><published>2013-11-29T00:16:00.000-08:00</published><updated>2014-07-04T03:09:04.063-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="SID"/><category scheme="http://www.blogger.com/atom/ns#" term="User&#39;s Security Identifier"/><title type='text'>How To Find a User&#39;s Security Identifier (SID) in Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&amp;nbsp;Hi to All,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;It&#39;ll take less than a minute to find a user&#39;s SID in Windows.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
Here&#39;s How:&lt;/h3&gt;
&lt;ol style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px; padding: 0px; position: relative; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; z-index: 0;&quot;&gt;
&lt;li style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; list-style-type: decimal; margin: 0px 0px 1.5em 30px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
Open Command Prompt.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; list-style-type: decimal; margin: 0px 0px 1.5em 30px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
Once Command Prompt is open, type the following &lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;command exactly as shown here, including spaces or lack thereof:&lt;/span&gt; &lt;/div&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;b style=&quot;font-weight: bold;&quot;&gt;wmic useraccount get name,sid&lt;/b&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;b style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;and then press&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Enter&lt;/b&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;.&lt;/span&gt;&lt;/b&gt; &lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; list-style-type: decimal; margin: 0px 0px 1.5em 30px; padding: 0px; text-align: justify; text-decoration: inherit;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;/code&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
You should see a table, similar to the following, displayed in the Command Prompt window:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;Name            SID
Administrator   S-1-5-21-1180699209-877415012-3182924384-&lt;/code&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;581&lt;/code&gt;
Guest           S-1-5-21-1180699209-877415012-3182924384-604
Bob             S-1-5-21-1180699209-877415012-3182924384-1342
Test            S-1-5-21-1180699209-877415012-3182924384-1974
Piyush          S-1-5-21-1180699209-877415012-3182924384-10347&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;This is a list of each user account in Windows, listed by user name, followed by the account&#39;s corresponding SID.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ol style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px; orphans: auto; padding: 0px; position: relative; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; z-index: 0;&quot;&gt;
&lt;li style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; list-style-type: decimal; margin: 0px 0px 1.5em 30px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
&lt;b style=&quot;font-weight: bold;&quot;&gt;How To Find User&#39;s SIDs in the Registry:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
You can also determine a user&#39;s SID by looking through the&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-style: italic;&quot;&gt;ProfileImagePath&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;values&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;in each S-1-5-21 prefixed SID listed under the&lt;i style=&quot;font-style: italic;&quot;&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;key.&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
The&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-style: italic;&quot;&gt;ProfileImagePath&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;value within each SID-named registry key lists the profile directory, which includes the user name.&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
For example, the&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-style: italic;&quot;&gt;ProfileImagePath&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;value under the&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-style: italic;&quot;&gt;S-1-5-21-1180699209-877415012-3182924384-1004&lt;/i&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;key on my computer is&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-style: italic;&quot;&gt;C:\Users\test &lt;/i&gt;so I know that the SID for the user &quot;Tim&quot; is &quot;S-1-5-21-1180699209-877415012-3182924384-1974&quot;.&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 1.5em 0px; padding: 0px; text-decoration: inherit;&quot;&gt;
&lt;b style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/b&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;This method of matching users to SIDs will only show those users who are logged in or have logged in and switched users. To continue to use the registry method for determining other user&#39;s SIDs, you&#39;ll need to log in as each user on the system and repeat these steps. This is a big drawback so, assuming you&#39;re able, you&#39;re much better off using the wmic command method above.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: inherit; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 1.5em 0px 1.5em 3em; padding: 0px; text-align: left; text-decoration: inherit; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px;&quot;&gt;&lt;code style=&quot;font-family: &#39;Droid Sans Mono&#39;, Courier, monospace; font-size: 12px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: inherit;&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Verdana; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/8106973594834341605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/11/how-to-find-users-security-identifier.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/8106973594834341605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/8106973594834341605'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/11/how-to-find-users-security-identifier.html' title='How To Find a User&#39;s Security Identifier (SID) in Windows'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1553231114809001458</id><published>2013-08-28T02:04:00.000-07:00</published><updated>2013-08-28T02:04:03.381-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="Product"/><category scheme="http://www.blogger.com/atom/ns#" term="product creation"/><category scheme="http://www.blogger.com/atom/ns#" term="Product Information Management"/><category scheme="http://www.blogger.com/atom/ns#" term="Product master"/><title type='text'>Creation of Item or Product and Product master in Dynamics AX 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;header class=&quot;entry-header&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Lucida Grande&#39;, Arial, &#39;Lucida Sans Unicode&#39;, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;border: 0px; clear: none; color: #333333; font-size: 2.2rem; line-height: 1.2; margin: 0px 56px 5px 0px; outline: 0px; padding: 5px 36px 0px 0px; text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 1px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #666666; font-family: inherit; font-size: 13px; font-style: inherit; line-height: 19px;&quot;&gt;Here we are going to discuss how to create a product and Product master(Items).&lt;/span&gt;&lt;/h1&gt;
&lt;/header&gt;&lt;div class=&quot;entry-content&quot; style=&quot;background-color: white; border: 0px; color: #666666; font-family: &#39;Lucida Grande&#39;, Arial, &#39;Lucida Sans Unicode&#39;, sans-serif; font-size: 13px; line-height: 19px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
In 2012, ‘Item’ is replaced with ‘Product’. One cannot find an item master in Inventory Management Module, there is a separate module for item/product creation. The Name of that module is ‘Product Information Management’.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
There are two types of Products in 2012. They are&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
1. Product&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
2. Product Master&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1. Product:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
These are clearly identifiable products that do not have variations associated with them. You can think of them as standard or base products. Use the Products list page in the Product information management module to view and manage products.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2. Product Master:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
These serve as templates or models for variants. The variants of a product master can be either predefined or created in sales scenarios by using a product configurator. A product master is associated with one or more product dimensions, or for some configurators, product attributes. Use the Product master’s list page in the Product information management module to view and manage product masters&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
To access Product and Product Masters go to Product Information Management a Common Forms a Products a Products /Products Masters.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/11.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-31&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/11.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;1&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Product Creation Process:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;To create product go to Product Information Management à Common Forms à Products à Products.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Click on New Button, a new product form is opened. In that form select the product type as Item/Service.&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 0px 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Item- A Tangible item which has inventory transactions and On-hand inventory.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Service- an Intangible item which has no On-hand inventory.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now select Product sub-type, (note- if you open new product form from ‘all products and product master’ then you will be displayed with two option product/product masters in this drop down menu)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Enter Product Number.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Press ok and the current form closes and a new line is created in the products list page.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;&quot; height=&quot;189&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/a1.jpg?w=202&amp;amp;h=189&quot; style=&quot;max-width: 100%;&quot; title=&quot;a&quot; width=&quot;202&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Product/Product Master Creation Process:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;To create product go to Product Information Management à Common Forms à Products à Products.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Click on New Button, a new product form is opened. In that form select the product type as Item/Service.&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 0px 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Item- A Tangible item which has inventory transactions and On-hand inventory.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Service- an Intangible item which has no On-hand inventory.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now select Product sub-type, (note- if you open new product form from all products and product master&amp;nbsp; then you will be displayed with two option product/product masters in this drop down menu)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Enter Product Number and all the related fields.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the product variants section, select product dimensions group and configuration technology.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Press ok and the current form closes and a new line is created in the products list page.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/21.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-32&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/21.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;2&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Assigning Dimensions Groups to a Product Master:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the product list page, double click on the product.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the product details form opened, on the top of the form you will find Dimension Group Button.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Click on Dimensions group Button will open a drop down menu.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the drop down menu you find three fields&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 0px 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Product Dimension group&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Storage Dimension group&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tracking Dimension group&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Select the appropriate groups from these menus.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/31.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-33&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/31.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;3&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Please don’t get confused between a ‘Product’ and ‘Product Master’; they are two different product types in AX 2012.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
We can assign Product ‘Dimension Group’ to ‘Product Master’ but we can’t assign ‘Dimension Group’ to ‘Product’. ‘Product’ is a unique item which doesn’t have any variants.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Creating Product Dimensions and creating dimension combinations:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the product details form, in the product master field press product dimensions button.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the Product dimensions form in the left pane, all the dimensions related to that product will be displayed.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Click on one dimension, the right pane will display the dimension already entered if any.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;If you are entering dimensions for the first time, the right pane will be empty.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now press new button, a new blank line is created. Enter the dimensions.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For example, if you select configuration in the left pane then enter the configuration dimension of the product in the right pane.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Similarly repeat the steps for all the product dimensions.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/41.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-34&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/41.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;4&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Product dimension combinations (Product Variants):&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Once you create all the dimensions for a product, in ax 2009 we need to create item combinations.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Similarly in ax2012 we use&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Product Variants.&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;You can find&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;product variants&lt;/strong&gt;&amp;nbsp;button in the product master section of the product master details form.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Please refer to the below screenshot&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/51.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-35&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/51.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;5&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the product variants form, you can create product dimension combinations using two methods,&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 0px 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;By directly clicking on new button and selecting appropriate configurations. (OR)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;By clicking on ‘Variant Suggestions’ will open a new form displaying all the possible combinations. Just check the select checkbox on the combinations you want and press OK.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Release product to legal entities:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Once you have created the product you need to release that product for use by your companies.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;To release a product, go to that product in the product master form and on the top of the form in Product Authorization section press on ‘Release Product for Legal Entities’ button.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Release Products form is opened. Please see the screenshot for your reference.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/81.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-38&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/81.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;8&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/91.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-39&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/91.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;9&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the left hand side of the form, press ‘select products’. In the right hand side, all the products will be displayed. Further right to that, you will find all the product variants.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Select the required products or product variants.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now Press ‘Select Companies’ from left hand side pane.&amp;nbsp; All the companies in the ax will be displayed.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now select the companies in which you want to use this product and after finishing press OK.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now you have Released your Product for further use.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Assigning Item Model Group &amp;amp; Item Groups to a Product Master:&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the Released products form (go to product information management module a common forms a Released Products) select your product and click on ‘Edit’ button on top left.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/101.jpg&quot; style=&quot;border: 0px; color: #026acb; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-full wp-image-40&quot; src=&quot;http://ramdynamicsax.files.wordpress.com/2011/11/101.jpg?w=593&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px; clear: both; display: block; height: auto; margin: 5px auto 1.5em; max-width: 100%; padding: 4px !important; width: auto;&quot; title=&quot;10&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-style: inherit; list-style: square; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the Released product details form, in the General Fast Tab , you will find ‘Item Model Group’ Field&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;From the drop down menu, select an item model group.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;In the same form , in ‘Manage costs’ tab posting, field you will find ‘Item Groups’ Field.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;From the drop down menu select an Item Group.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Now the item or Product or Product master is ready for further transactions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1553231114809001458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/creation-of-item-or-product-and-product.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1553231114809001458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1553231114809001458'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/creation-of-item-or-product-and-product.html' title='Creation of Item or Product and Product master in Dynamics AX 2012'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-5492615194156310374</id><published>2013-08-23T00:28:00.000-07:00</published><updated>2013-08-23T00:30:51.727-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Product"/><category scheme="http://www.blogger.com/atom/ns#" term="Product Information Management"/><category scheme="http://www.blogger.com/atom/ns#" term="Product master"/><category scheme="http://www.blogger.com/atom/ns#" term="Release Products to the legal entities"/><title type='text'>Release products to the legal entities using X++ [Dynamics AX 2012]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #494949; font-family: Helvetica, Arial, sans-serif; font-size: 19px; font-weight: normal; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;In Microsoft Dynamics AX 2012, Microsoft has enhanced the item-product data management framework to provide flexibility and sustainability across the organization.In Microsoft Dynamics AX 2012, all product master data is shared across all companies, and the virtual table collection concept is no longer available for product master data management. The old item representation (InventTable) still exists[msdn]&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;content&quot; style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
I will be using 2 legal entities – CEU and newly created legal entity ‘CEE’&lt;br /&gt;
[If you want to create new legal entity - Organization administration &amp;gt;&amp;gt; setup &amp;gt;&amp;gt; Organization &amp;gt;&amp;gt; Legal entities &amp;gt;&amp;gt; New]&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
Let me show you the product master data [a particular product] which I am trying to release using code.&lt;br /&gt;
&lt;a href=&quot;http://dynamicsaxgyan.files.wordpress.com/2011/11/productmaster.jpg&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-medium wp-image-638&quot; height=&quot;208&quot; src=&quot;http://dynamicsaxgyan.files.wordpress.com/2011/11/productmaster.jpg?w=300&amp;amp;h=208&quot; style=&quot;border: none; margin-left: 10px;&quot; title=&quot;productMaster&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
EcoResProductReleaseManagerBase class will help to release products to the legal entities. static method -releaseproduct will release products.&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;static void SST_ReleaseProducts(Args _args)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;{&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;EcoResProduct ecoResProduct;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;select firstOnly ecoResProduct where EcoResProduct.DisplayProductNumber == “1100″;&lt;br /&gt;EcoResProductReleaseManagerBase::releaseProduct(ecoResProduct.RecId,&lt;br /&gt;CompanyInfo::findDataArea(‘CEE’).RecId);&lt;br /&gt;}&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
After running the above job, you will see that 1100 product number has been released to legal entity ‘CEE’ as shown below.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dynamicsaxgyan.files.wordpress.com/2011/11/rax1.jpg&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-medium wp-image-640&quot; height=&quot;201&quot; src=&quot;http://dynamicsaxgyan.files.wordpress.com/2011/11/rax1.jpg?w=300&amp;amp;h=201&quot; style=&quot;border: none; margin-left: 10px;&quot; title=&quot;rax&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;b&gt;static void SST_ReleaseProducts_detailed(Args _args)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;b&gt;{&lt;/b&gt;&lt;/div&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;EcoResProduct ecoResProduct;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;InventTable inventTable;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;InventTableModule inventTableModule;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;NumberSequenceTable numberSequenceTable;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;ItemId itemId;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;InventItemSetupSupplyType inventItemSetupSupplyType;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
EcoResStorageDimensionGroupProduct ecoResStorageDimensionGroupProduct;&lt;br /&gt;
EcoResTrackingDimensionGroupProduct ecoResTrackingDimensionGroupProduct;&lt;br /&gt;
EcoResStorageDimensionGroupItem ecoResStorageDimensionGroupItem;&lt;br /&gt;
EcoResTrackingDimensionGroupItem ecoResTrackingDimensionGroupItem;&lt;br /&gt;
;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
select firstOnly ecoResProduct where EcoResProduct.DisplayProductNumber == “1100″; /&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
changecompany (‘CEE’)&lt;br /&gt;
{&lt;br /&gt;
ttsBegin;&lt;br /&gt;
inventTable = null;&lt;br /&gt;
inventTableModule = null;&lt;br /&gt;
inventItemSetupSupplyType = null;&lt;br /&gt;
ecoResStorageDimensionGroupProduct = null;&lt;br /&gt;
ecoResTrackingDimensionGroupProduct = null;&lt;br /&gt;
ecoResStorageDimensionGroupItem = null;&lt;br /&gt;
ecoResTrackingDimensionGroupItem = null;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
numberSequenceTable = InventParameters::numRefItemId().numberSequenceTable();&lt;br /&gt;
//get item id from:&lt;br /&gt;
//1. Product number if number seq for item ID is not set up or manual or return blank value&lt;br /&gt;
if (!numberSequenceTable.RecId || numberSequenceTable.Manual)&lt;br /&gt;
{&lt;br /&gt;
itemId = ecoResProduct.productNumber();&lt;br /&gt;
}&lt;br /&gt;
else //number sequence auto, get a number&lt;br /&gt;
{&lt;br /&gt;
itemId = NumberSeq::newGetNumFromId(numberSequenceTable.RecId).num();&lt;br /&gt;
}&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
inventTable.initValue();&lt;br /&gt;
inventTable.initFromEcoResProduct(ecoResProduct);&lt;br /&gt;
inventTable.ItemId = ItemId;&lt;br /&gt;
inventTable.NameAlias = ecoResProduct.SearchName;&lt;br /&gt;
inventTable.insert(true);&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
// Create inventTableModules&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
inventTableModule.initValue();&lt;br /&gt;
inventTableModule.ItemId = inventTable.ItemId;&lt;br /&gt;
inventTableModule.ModuleType = ModuleInventPurchSales::Invent;&lt;br /&gt;
inventTableModule.insert();&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
inventTableModule.initValue();&lt;br /&gt;
inventTableModule.ItemId = inventTable.ItemId;&lt;br /&gt;
inventTableModule.ModuleType = ModuleInventPurchSales::Purch;&lt;br /&gt;
inventTableModule.insert();&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
inventTableModule.initValue();&lt;br /&gt;
inventTableModule.ItemId = inventTable.ItemId;&lt;br /&gt;
inventTableModule.ModuleType = ModuleInventPurchSales::Sales;&lt;br /&gt;
inventTableModule.insert();&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
//Create inventItemLocation&lt;br /&gt;
InventItemLocation::createDefault(inventTable.ItemId);&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
// Creates a new item default order type for the product that is released.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
inventItemSetupSupplyType.initValue();&lt;br /&gt;
inventItemSetupSupplyType.ItemId = inventTable.ItemId;&lt;br /&gt;
inventItemSetupSupplyType.ItemDataAreaId = inventTable.DataAreaId;&lt;br /&gt;
inventItemSetupSupplyType.insert();&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
//create relationship tables to dimension groups.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
ecoResStorageDimensionGroupProduct = EcoResStorageDimensionGroupProduct::findByProduct(ecoResProduct.RecId);&lt;br /&gt;
ecoResTrackingDimensionGroupProduct = EcoResTrackingDimensionGroupProduct::findByProduct(ecoResProduct.RecId);&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
if (ecoResStorageDimensionGroupProduct.RecId)&lt;br /&gt;
{ // mandatory storage dimension group for the product&lt;br /&gt;
ecoResStorageDimensionGroupItem.ItemDataAreaId = inventTable.DataAreaId;&lt;br /&gt;
ecoResStorageDimensionGroupItem.ItemId = inventTable.ItemId;&lt;br /&gt;
ecoResStorageDimensionGroupItem.StorageDimensionGroup = ecoResStorageDimensionGroupProduct.StorageDimensionGroup;&lt;br /&gt;
ecoResStorageDimensionGroupItem.insert();&lt;br /&gt;
}&lt;/div&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;if (ecoResTrackingDimensionGroupProduct.RecId)&lt;br /&gt;{ // mandatory tracking dimension group for the product&lt;br /&gt;ecoResTrackingDimensionGroupItem.ItemDataAreaId = inventTable.DataAreaId;&lt;br /&gt;ecoResTrackingDimensionGroupItem.ItemId = inventTable.ItemId;&lt;br /&gt;ecoResTrackingDimensionGroupItem.TrackingDimensionGroup = ecoResTrackingDimensionGroupProduct.TrackingDimensionGroup;&lt;br /&gt;ecoResTrackingDimensionGroupItem.insert();&lt;br /&gt;}&lt;br /&gt;ttsCommit;&lt;br /&gt;info(strfmt(“Product successfully released to ‘CEE’ legal entity”));&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
In Microsoft Dynamics AX 2012 inventory dimensions have been divided into the following three categories:&lt;br /&gt;
Product dimensions:These correspond to the old item dimensions.&lt;br /&gt;
Storage dimensions:These are Site, Warehouse, Location, and Pallet.&lt;br /&gt;
Tracking dimensions:These are Batch number and Serial number.&lt;/div&gt;
&lt;div style=&quot;color: #494949; margin-bottom: 1.2em; margin-top: 0.6em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/5492615194156310374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/release-products-to-legal-entities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5492615194156310374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5492615194156310374'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/release-products-to-legal-entities.html' title='Release products to the legal entities using X++ [Dynamics AX 2012]'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-5613632403300571477</id><published>2013-08-23T00:06:00.003-07:00</published><updated>2013-08-23T00:31:57.486-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Product Information Management"/><category scheme="http://www.blogger.com/atom/ns#" term="Product master"/><category scheme="http://www.blogger.com/atom/ns#" term="Product Structure"/><category scheme="http://www.blogger.com/atom/ns#" term="Release Products"/><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: #fdfafe; font-family: Verdana, Geneva, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Hi,&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4890997082496550165&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: #fdfafe; font-family: Verdana, Geneva, sans-serif; font-size: 13px; line-height: 18px; position: relative; width: 816px;&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;In this post, I would like to share some Product information in Ax 2012&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;that will help to understand&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;Inventory structure&lt;/span&gt;. In AX 2012 Inventory structure has been&amp;nbsp;completely changed. So in brief&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;we can understand the same as:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Understanding the Product structure:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 19px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; vertical-align: top;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;line-height: 18pt;&quot;&gt;&lt;u&gt;Product type&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Item type - This option will be selected if the product is an inventoried product&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Service type - This option will be selected if the product is a non-inventoried product&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; vertical-align: top;&quot;&gt;
&lt;b&gt;&lt;u&gt;Product sub type&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Product master -&lt;/span&gt;&lt;b style=&quot;line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;u&gt;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Products of this sub-type must have a product dimension group that&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;specifies the product dimensions that are active for the product (color, size, and configuration)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10.5pt;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Configuration technology&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 10.5pt;&quot;&gt;§&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Predefined variant - This type should be chosen if the product will not be&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; configured, but simply rely on the user’s choice of Color, and/or Size, and/or&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; Configuration for each transaction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 10.5pt;&quot;&gt;§&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Dimension-based configuration - This type should be chosen if the user will&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; build a configurable BOM that relies on configuration rules to build the&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; Config ID and the BOM lines. (&lt;i&gt;This technology may only be chosen if&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;i&gt;&amp;nbsp; Configuration is active on the Product dimension group selected for the&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;i&gt;&amp;nbsp; product&lt;/i&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 10.5pt;&quot;&gt;§&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Rule-based configuration - This type should be chosen if the product will&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp;use Product builder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 10.5pt;&quot;&gt;§&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Constraint-based configuration - This type should be chosen if the product&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp;will use the new AX 2009 Constraint based product configuration method.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;(&lt;i&gt;This technology may only be chosen if Configuration is active and is the lone&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;i&gt;Product dimension active for the Product dimension group selected for the&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1.5in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;i&gt;&amp;nbsp;product&lt;/i&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Symbol; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Product - Products of this sub-type do NOT have any product dimensions, and therefore do&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; not have a product dimension group&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fdfafe; font-family: Symbol; font-size: 12pt; line-height: 18px; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18px; text-indent: -0.25in;&quot;&gt;Product variant - A large amount of information may be maintained at the Product master&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18px; text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; level, including, but not &amp;nbsp; limited to:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10.5pt;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Product dimensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 15.75pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10.5pt;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Images&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 15.75pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10.5pt;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Product categories&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10.5pt;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Product attributes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;;&quot;&gt;o&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;Unit conversions&lt;br /&gt;For Product master products, Product dimensions and Product variants are&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; extremely important. Both may be managed from menu items in the ribbons&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; section of the Products form:&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 1in; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;b&gt;&lt;u&gt;Dimensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Product dimensions: Color, Size, Configuration&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Symbol; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Storage dimensions: Site, Warehouse, Location, Pallet ID&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Symbol; line-height: 18pt; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: -0.25in;&quot;&gt;Tracking dimensions: Batch number, Serial number&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;background-color: white; line-height: 18pt; text-indent: -0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;b&gt;&lt;u&gt;Release product&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;Once product variants have been created at the instance level, they must be released&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;&amp;nbsp;to individual companies before transactions may be performed in the respective&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;company. Variants may be released from any of the Products forms (All, Distinct,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;&amp;nbsp;Product masters), or from the Product variants form by clicking Release products in&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;the ribbon section of the form.&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt; line-height: 18pt; text-indent: 0.25in;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin-left: 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 12pt;&quot;&gt;Tech part (Data model)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 18pt; margin: 0in 0in 12pt 0.25in; text-indent: 0.25in; vertical-align: top;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;AX 2012 Item AIF Web Service (InventItemService)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background-color: white; border-collapse: collapse;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial; border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Table Name&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial; border: 1pt solid windowtext; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Table Description&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProduct&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProduct table stores products and is the base table in the products hierarchy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductMaster&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductMaster table stores product masters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductIdentifier&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductIdentifier table contains a product identification that is available for users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResDistinctProduct&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResDistinctProduct table stores products.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResDistinctProductVariant&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResDistinctProductVariant table stores product variants.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductDimensionGroup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductDimensionGroup table contains information about a dimension group.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductDimensionGroupProduct&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductDimensionGroupProduct table stores information about relationships between products and dimension groups.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResColor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResColor table stores color names.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResSize&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResSize table stores size names.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResConfiguration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResConfiguration table stores configuration names.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductMasterColor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductMasterColor table stores information about colors assigned to product masters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductMasterSize&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductMasterSize table stores information about sizes that are assigned to product masters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductMasterConfiguration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductMasterConfiguration table stores information about configurations assigned to product masters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductVariantColor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductVariantColor table stores information about the colors that are assigned to product variants.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductVariantSize&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductVariantSize table stores information about the sizes that are assigned to product variants.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductVariantConfiguration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductVariantConfiguration table stores information about the configurations that are assigned to product variants.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductMasterDimensionValue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductMasterDimensionValue table is the base table in the product model dimension hierarchy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductVariantDimensionValue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductVariantDimensionValue table is the base table in the product variant dimension hierarchy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 11.65pt;&quot;&gt;&lt;td style=&quot;border: 1pt solid windowtext; height: 11.65pt; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductDimensionAttribute&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 11.65pt; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductDimensionAttribute table contains definitions of product dimension attributes (categories).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResInstanceValue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResInstanceValue table contains the definitions of the instances of the components or products.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;EcoResProductInstanceValue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The EcoResProductInstanceValue table contains definitions of values for the instances of attributes of a product.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventTable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventTable table contains information about items.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventTableModule&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventTableModule table contains information about purchase, sales, and inventory specific settings for items.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventItemLocation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventItemLocation table contains information about items and the related warehouse and counting settings. The settings can be made specific based on the items configuration and vary from warehouse to warehouse.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventItemSalesSetup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventItemSalesSetup table contains the default settings for items, such as site and warehouse. The values are related to sales settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventItemInventSetup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventItemInventSetup table contains the default settings for items, such as site and warehouse. The values are related to inventory settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventItemPurchSetup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventItemPurchSetup table contains the default settings for items, such as site and warehouse. The values are related to purchase settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventItemSetupSupplyType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventItemSetupSupplyType table contains information about the sourcing of items.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventDim&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventDim table contains values for inventory dimensions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 206.55pt;&quot; valign=&quot;top&quot; width=&quot;275&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;InventDimCombination&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; padding: 0in 5.4pt; width: 468.05pt;&quot; valign=&quot;top&quot; width=&quot;624&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The InventDimCombination table contains variants of items. The variants are created as product variants that are based on product dimensions such as size, color, and configuration. These variants are replicated to the legal entity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/5613632403300571477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/hi-in-this-post-i-would-like-to-share.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5613632403300571477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5613632403300571477'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/08/hi-in-this-post-i-would-like-to-share.html' title=''/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-4512003062603115594</id><published>2013-02-06T01:49:00.000-08:00</published><updated>2013-02-06T02:43:02.773-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Batch Printing"/><category scheme="http://www.blogger.com/atom/ns#" term="Running Batch Report in Ax 2009"/><title type='text'>Running batch report in AX2009 (batch printing)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
Since the change of AX2009 batch framework, printing of report through batch can be done through two methods:&lt;br /&gt;
- Printing from server (to printer or file)&lt;br /&gt;
- Printing from client (the legacy batch processing)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Prerequisites&lt;/u&gt;:&lt;/b&gt;&amp;nbsp;&lt;u&gt;For both of the method, there&#39;re some mandatory setup&lt;/u&gt;&lt;b&gt;:&lt;/b&gt;&lt;/div&gt;
&lt;ol style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Enable any of the AOS that you want to make it as batch AOS&lt;br /&gt;(Administration -&amp;gt; Setup -&amp;gt; Server configuration)&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Create batch group for printing.&lt;br /&gt;Eg. One for client printing and one for server printing.&lt;br /&gt;(Administration -&amp;gt; Setup -&amp;gt; Batch groups)&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Add the batch group created in #2 into the AOS enabled for batch processing (in #1)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Printing from server (print to printer)&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Enable the &#39;&lt;u&gt;Allow clients to connect to printers on this server&lt;/u&gt;&#39; settings at Dynamics AX Server Configuration Utility under the &#39;Application Object Server&#39; tab.&lt;/li&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Enable the &#39;&lt;u&gt;Connect to printers on the server&lt;/u&gt;&#39; settings at Dynamics AX (client) Configuration Utility under the &#39;Connection&#39; tab&lt;/li&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;When printing report&lt;br /&gt;&amp;gt; At the &#39;Batch&#39; tab, check the &#39;Batch processing&#39; and select the batch group created for server printing&lt;br /&gt;&amp;gt; Click on the &quot;Option&quot; and select the server printer. Server printers are prefix with &#39;AOS:&#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Printing from server (print to file)&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Enable the &#39;&lt;u&gt;Allow clients to connect to printers on this server&lt;/u&gt;&#39; settings at Dynamics AX Server Configuration Utility under the &#39;Application Object Server&#39; tab.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;*Although you&#39;re printing to file, but you still need to enable this.&lt;/i&gt;&lt;/li&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;When printing report&lt;br /&gt;&amp;gt; At the &#39;Batch&#39; tab, check the &#39;Batch processing&#39; and select the batch group created for server printing&lt;br /&gt;&amp;gt; Click on the &quot;Option&quot; and select &#39;File&#39;, then ensure the file name is a UNC path (Eg.\\serverName\directory) else you&#39;ll get an error.&lt;br /&gt;&lt;br /&gt;*After this job is added to the batch, you can check it at &#39;Basic &amp;gt; Inquiries &amp;gt; Batch job&#39;. Click on the &#39;View tasks&#39;, notice that the &#39;Run location&#39; is &quot;&lt;i&gt;&lt;b&gt;Server&lt;/b&gt;&lt;/i&gt;&quot;. If your &#39;Run location&#39; is &quot;Client&quot;, then you might have selected a client printer or your report class method &#39;runsImpersonated()&#39; has been overwritten to return &quot;false&quot;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Printing from client (through legacy batch processing)&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;When printing report&lt;br /&gt;&amp;gt; At the &#39;Batch&#39; tab, check the &#39;Batch processing&#39; and&amp;nbsp;&lt;u&gt;select the batch group created for client printing&lt;/u&gt;&lt;br /&gt;&amp;gt; Click on the &quot;Option&quot; and select the client printer&lt;/li&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Run the legacy batch processing (Basic &amp;gt; Periodic &amp;gt; Batch &amp;gt; Processing)&lt;br /&gt;&lt;br /&gt;*After this job is added to the batch, you can check it at Basic &amp;gt; Inquiries &amp;gt; Batch job. Click on the &#39;View tasks&#39;, look at the printing job/task, it will change from &quot;Waiting&quot; to &quot;Ready&quot;, then to &quot;Executing&quot;. Also notice that the &#39;Run location&#39; is &quot;&lt;i&gt;&lt;b&gt;Client&lt;/b&gt;&lt;/i&gt;&quot;. The legacy batch processing require the task to be in &quot;&lt;i&gt;&lt;b&gt;Ready&lt;/b&gt;&lt;/i&gt;&quot; status, this field cannot be changed manually, it is automatically changed if you&#39;ve done step #3 in the prerequisites (&lt;i&gt;it might not change immediately, give it some time then refresh it and look at the status again&lt;/i&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;u&gt;Some common errors&lt;/u&gt;:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Use of printers on the server is not allowed&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheKzqlGTjenPnSoBxdkHjgsPAEWeqcJqFyuuvz23SgN21u-wZ416dGBeC-eRBs8x-Sw1UCXd-iwGiH7oytozcveyvAClwMn_j24Ph0m-c8dLLX4PxjokXiRLC3C5EMaGHNkhtpgNUuhZgg/s1600/UseOfServerPrinterNotEnabled.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;309&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheKzqlGTjenPnSoBxdkHjgsPAEWeqcJqFyuuvz23SgN21u-wZ416dGBeC-eRBs8x-Sw1UCXd-iwGiH7oytozcveyvAClwMn_j24Ph0m-c8dLLX4PxjokXiRLC3C5EMaGHNkhtpgNUuhZgg/s320/UseOfServerPrinterNotEnabled.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;&lt;i style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Resolution&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;: Ensure&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;the &#39;Allow clients to connect to printers on this server&#39; settings at Dynamics AX Server Configuration Utility under the &#39;Application Object Server&#39; tab is checked.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: none; font-family: Verdana, sans-serif; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Target file must be in UNC format&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib_CijPJaDpciUkuRLME-PQRhE9JVJ9o6S_9DWsX_7bXH9MlkntdGdYHLk07PGQYDoI3cmZUs8tDPcMRN1ZpwevsEpY5kHN9_5sJ0Rb7qwszaGQZ_O10f9NShLCPIymIonmYDKVvapkH7t/s1600/TargetMustBeUNCFormat.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib_CijPJaDpciUkuRLME-PQRhE9JVJ9o6S_9DWsX_7bXH9MlkntdGdYHLk07PGQYDoI3cmZUs8tDPcMRN1ZpwevsEpY5kHN9_5sJ0Rb7qwszaGQZ_O10f9NShLCPIymIonmYDKVvapkH7t/s320/TargetMustBeUNCFormat.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; font-family: Verdana, sans-serif; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;&lt;i&gt;&lt;b&gt;Resolution&lt;/b&gt;&lt;/i&gt;: Ensure when you select &#39;File&#39; as the output, the &#39;File name&#39; is UNC path. Eg. \\serverName\directory&lt;/li&gt;
&lt;li style=&quot;border: none; font-family: Verdana, sans-serif; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;&lt;span style=&quot;color: #1a1a1a; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Tahoma, sans-serif; line-height: 19.5px;&quot;&gt;@&quot;\\SON15882\D$\Test\Cust.txt&quot;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;ul style=&quot;line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;&quot;&gt;Selected printer is not an AOS printer&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 13px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ZOg8NJv9wKvENlmWrJmaM-Y8W5_tllXertRYVk838huKfjNMV2cYICk4T_2sjzJ20KhcMpUT4zUM_qQNesoqElBojHXumDomtHsj8yTpCw6G1A4BuZeoqPBZUV-Ewl_APLYWwbXsWi77/s1600/SelectedPrinterIsNotAnAOSPrinter.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ZOg8NJv9wKvENlmWrJmaM-Y8W5_tllXertRYVk838huKfjNMV2cYICk4T_2sjzJ20KhcMpUT4zUM_qQNesoqElBojHXumDomtHsj8yTpCw6G1A4BuZeoqPBZUV-Ewl_APLYWwbXsWi77/s320/SelectedPrinterIsNotAnAOSPrinter.png&quot; width=&quot;273&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;b&gt;Resolution&lt;/b&gt;&lt;/i&gt;: Install the printer driver on the server.&lt;br /&gt;
Sometimes there&#39;re confusion regarding AOS printer and shared printer.&lt;br /&gt;
For printing to works in batch mode (&lt;i&gt;running from server&lt;/i&gt;), the printer has to be AOS printer, which the printer is &quot;Installed&quot; as printer on the AOS host server, not &quot;Connect&quot; as shared printer.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/4512003062603115594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/02/running-batch-report-in-ax2009-batch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/4512003062603115594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/4512003062603115594'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/02/running-batch-report-in-ax2009-batch.html' title='Running batch report in AX2009 (batch printing)'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheKzqlGTjenPnSoBxdkHjgsPAEWeqcJqFyuuvz23SgN21u-wZ416dGBeC-eRBs8x-Sw1UCXd-iwGiH7oytozcveyvAClwMn_j24Ph0m-c8dLLX4PxjokXiRLC3C5EMaGHNkhtpgNUuhZgg/s72-c/UseOfServerPrinterNotEnabled.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-5300209394068124216</id><published>2013-01-10T02:35:00.000-08:00</published><updated>2013-01-10T02:35:18.211-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="affectedElementsByControl"/><category scheme="http://www.blogger.com/atom/ns#" term="affectedElementsByField"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Change the color of a single colum not the entire row"/><category scheme="http://www.blogger.com/atom/ns#" term="displayOption"/><title type='text'>How change the color of a single colum not the entire row</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-family: courier, &#39;courier new&#39;, monospace; font-size: 14px; line-height: 19px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;You can override the displayOption() method of the form&#39;s datasource 
to change appearance of any row in the grid. U can set either the 
foreground or the background color of the row.&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-family: courier, &#39;courier new&#39;, monospace; font-size: 14px; line-height: 19px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-family: courier, &#39;courier new&#39;, monospace; font-size: 14px; line-height: 19px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;pre style=&quot;font-family: courier, &#39;courier new&#39;, monospace; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;public void displayOption(Common _record, FormRowDisplayOption _options)
{
   _options.backColor(WinApi::RGB2int(0,255,0)); 
} 

For highlighting one or more cells, override the 

To highlight one or more individual cells, use 
the ._options.affectedElementsByControl() method. 

public void displayOption(Common _record, FormRowDisplayOption _options)
{
  _options.backColor(WinApi::RGB2int(0,255,0));
  _options.affectedElementsByControl(Control1.id());
  _options.affectedElementsByControl(Control2.id());
} 

Remember one thing, u can change multiple cells this way but u cant 
assign different colors to different cells. U have to use only one 
color for any of the cells in the row.&lt;/pre&gt;
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/5300209394068124216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/how-change-color-of-single-colum-not.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5300209394068124216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5300209394068124216'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/how-change-color-of-single-colum-not.html' title='How change the color of a single colum not the entire row'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-7489382085089544791</id><published>2013-01-08T23:16:00.002-08:00</published><updated>2013-01-08T23:16:24.417-08:00</updated><title type='text'>Primary key, Primary Index and Clustured Index</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-8847160240166539400&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: #fefdfa; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; position: relative; width: 586px;&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;There are two main types of indexes that we can have on a Microsoft SQL Server backend Database. These are normal and clustered indexes. Normal index can be viewed as the index in the back of a book. We first look in the index for a topic. After finding the topic in alphabetical order we also find the page number or address of the topic in the book. We then use the address to easily find the topic. If we did not have this index we would have to search sequentially through the book and the larger the book the greater the effort and time to either find a topic or realize that it does not exist.&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;This is similar to a normal index in the database where we have the data stored in one file and the index stored in another file in the order specified. The database engine using the index will first look in the index file then retrieve the address of the record that is used to locate the record in the data file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;For clustered index the records in the data file are sorted in the order of the index. We therefore do not have a separate index file from the data file as we have for normal index. You should also note that it is only possible to have one clustered index per table, since the records may only be sorted in one order at any time. You can have several normal indexes and one clustered index for each table. Clustered indexes are more efficient since the index is the actual data records and hence you do not need to seek in another file after finding the key.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;The Primary Index of a table is the main index that is used to uniquely identify records in it. No duplicated values are allowed in this index and all fields in the index are required. You can designate a clustered or normal index as the primary index. Since the primary index is the main index you should gain optimum performance by designating a clustered index for this purpose.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;Please note that indexes in general improve performance for search but not for inserts or update, since the overhead of organizing and or writing the index is involved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;The fields in the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Primary key&lt;/strong&gt;&amp;nbsp;uniquely identify records in any given table. Each unique combination of&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Primary key&lt;/strong&gt;&amp;nbsp;fields uniquely identifies one (and only one) record in the table.&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Primary keys&lt;/strong&gt;&amp;nbsp;MUST be unique. There can only be ONE primary key per table. Not all unique indexes are primary keys.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; margin: 0px; padding: 0px;&quot;&gt;The&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Clustered index&lt;/strong&gt;&amp;nbsp;is the physical order in which records are stored in the table. Say you have a clustered index on a text field called &quot;Name&quot;, and you insert a record with a name that starts with a letter D, the record will physically be inserted between the C and the E record. Clustered indexes do not have to be unique.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/7489382085089544791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/primary-key-primary-index-and-clustured.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/7489382085089544791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/7489382085089544791'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/primary-key-primary-index-and-clustured.html' title='Primary key, Primary Index and Clustured Index'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-584330230591372359</id><published>2013-01-03T23:59:00.001-08:00</published><updated>2013-01-03T23:59:14.122-08:00</updated><title type='text'>Data Selection and Manipulation in Ax 2009</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-bottom: 15px;&quot;&gt;
You can use SQL statements either interactively or within source code, to access and retrieve data that is stored the database. Data manipulation is performed through the following statements:&lt;/div&gt;
&lt;ul style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;
&lt;li style=&quot;list-style-image: none;&quot;&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa856945(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;insert&lt;/a&gt;&amp;nbsp;adds one or more new records into a table.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;list-style-image: none;&quot;&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa854683(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;update&lt;/a&gt;&amp;nbsp;modifies data in existing table records.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;list-style-image: none;&quot;&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa620338(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;delete&lt;/a&gt;&amp;nbsp;removes existing records from a table.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Before any data can be changed in Microsoft Dynamics AX, the data must first be selected for update by using a&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa845764(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;select statement&lt;/a&gt;. The&amp;nbsp;&lt;span class=&quot;code&quot; style=&quot;color: darkgreen; font-family: Consolas, Courier, monospace;&quot;&gt;select forUpdate&lt;/span&gt;&amp;nbsp;command selects records exclusively for update.&lt;/div&gt;
&lt;div style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-bottom: 15px;&quot;&gt;
The&amp;nbsp;&lt;span class=&quot;code&quot; style=&quot;color: darkgreen; font-family: Consolas, Courier, monospace;&quot;&gt;insert&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;code&quot; style=&quot;color: darkgreen; font-family: Consolas, Courier, monospace;&quot;&gt;update&lt;/span&gt;, and&amp;nbsp;&lt;span class=&quot;code&quot; style=&quot;color: darkgreen; font-family: Consolas, Courier, monospace;&quot;&gt;delete&lt;/span&gt;&amp;nbsp;methods perform operations on only one record at a time. The&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa879372(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;array insert&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa635694(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;insert_recordset&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa676522(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;RecordInsertList&lt;/a&gt;, and&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa674382(v=ax.10).aspx&quot; style=&quot;color: #03697a; text-decoration: initial;&quot;&gt;update_recordset&lt;/a&gt;statements perform operations on multiple records at a time. However, the X++ record-set operations can fall back to record-by-record operations in a number of situations.&lt;/div&gt;
&lt;div style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-bottom: 15px;&quot;&gt;
For more detail information Go to the :&lt;/div&gt;
&lt;div style=&quot;padding-bottom: 15px;&quot;&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;http://msdn.microsoft.com/en-us/library/aa883417(v=ax.10).aspx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-bottom: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/584330230591372359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/data-selection-and-manipulation-in-ax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/584330230591372359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/584330230591372359'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/data-selection-and-manipulation-in-ax.html' title='Data Selection and Manipulation in Ax 2009'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-5826101197809999850</id><published>2013-01-03T23:55:00.000-08:00</published><updated>2013-01-03T23:55:09.550-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="get the current active company in AX 2009"/><title type='text'>How to get the current active company in AX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;By running the curExt() function the current active company is returned.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;code style=&quot;background-color: white; color: #222222; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;static void curExtExample(Args _arg)&lt;br /&gt;{&lt;br /&gt;str s;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;// Sets s to the extension of the current company.&lt;br /&gt;s = curExt();&lt;br /&gt;print &quot;Current extension is &quot; + s;&lt;br /&gt;pause;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/5826101197809999850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/how-to-get-current-active-company-in-ax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5826101197809999850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/5826101197809999850'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/how-to-get-current-active-company-in-ax.html' title='How to get the current active company in AX'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-6137940034080790973</id><published>2013-01-03T23:42:00.000-08:00</published><updated>2013-01-03T23:43:23.393-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Copying data of one table to another table across the company in AX 2009"/><title type='text'>Copying data of one table to another table across the company in AX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;//Copying data of one table to another table across the company in AX2009&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;static void CopyDataFromOneTableToAnother(Args _args)&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; TableA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tableA;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; TableB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tableB;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; DataArea &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataArea;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; ;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; while select dataArea&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; changeCompany(dataArea.id)&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableA= null;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableB= null;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while select tableA&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableB.CustAccount &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= tableA.CustAccount;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableB.ItemCode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = tableA.ItemCode;&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tableB.insert();&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; info(strfmt(&quot;Mission Accomplished&quot;));&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 14px/21px Georgia, Utopia, &amp;quot;Palatino Linotype&amp;quot;, Palatino, serif; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/6137940034080790973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/copying-data-of-one-table-to-another.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/6137940034080790973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/6137940034080790973'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2013/01/copying-data-of-one-table-to-another.html' title='Copying data of one table to another table across the company in AX'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-8165431233814983821</id><published>2012-11-06T05:25:00.003-08:00</published><updated>2012-11-06T05:27:16.826-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><title type='text'>Run a form automatically when opening dynamics ax</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 12px; line-height: 18px; margin-bottom: 10px;&quot;&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
create menu item for the form and call:&lt;/h4&gt;
&lt;/div&gt;
&lt;pre style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;span style=&quot;background-color: white; color: purple;&quot;&gt;new MenuFunction(menuitemDisplayStr(YourMenuItemName), MenuItemType::Display).run(); &lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 12px; line-height: 18px; margin-bottom: 10px;&quot;&gt;
&lt;span style=&quot;background-color: white; color: purple;&quot;&gt;Place this code to &lt;b&gt;Info.startupPost()&lt;/b&gt; (if you want it to start when the client starts) or &lt;b&gt;Info.workspaceWindowCreated()&lt;/b&gt; (if you want it to start every time new workspace is opened).&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/8165431233814983821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/11/run-form-automatically-when-opening_6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/8165431233814983821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/8165431233814983821'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/11/run-form-automatically-when-opening_6.html' title='Run a form automatically when opening dynamics ax'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-712708226702431808</id><published>2012-10-18T04:14:00.000-07:00</published><updated>2012-10-18T04:15:24.154-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012 Eventing"/><category scheme="http://www.blogger.com/atom/ns#" term="Eventing"/><title type='text'>Microsoft Dynamics AX 2012 Eventing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;code style=&quot;border: 0px; color: #333333; font-family: Monaco, Consolas, &#39;Andale Mono&#39;, &#39;DejaVu Sans Mono&#39;, monospace; font-size: 13px; line-height: 24px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: georgia,times new roman,times,serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; line-height: 19.5px;&quot;&gt;Hello Fr&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;iends,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: Monaco, Consolas, &#39;Andale Mono&#39;, &#39;DejaVu Sans Mono&#39;, monospace; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: georgia,times new roman,times,serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;One of the great new development improvements for Microsoft Dynamics AX 2012 is&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Eventing&quot;&lt;/strong&gt;.&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background-color: transparent; font-family: georgia, &#39;times new roman&#39;, times, serif; font-size: 13px;&quot;&gt;For most people, that have ever done any Object oriented development or programming, eventing is a concept that most familiar.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&amp;nbsp;You could do event handling in earlier versions too but in AX 2012, event handling is better than previous version. Now it uses the concepts of delegates, event handlers etc...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;line-height: 19.5px;&quot;&gt;Everybody must have seen that there are very few customers that use out of the box AX without any&amp;nbsp;customization&#39;s&amp;nbsp; I would say not even a single customer. All customers are required to customize AX to fulfill their business needs. Sometimes,&amp;nbsp;customization&#39;s&amp;nbsp;become so large that it becomes difficult to upgrade when Microsoft does make changes in the lower layer. Finally, it becomes cost/budget issue so event handling mechanism in AX 2012 will help to lower the cost of developing&amp;nbsp;customization&#39;s&amp;nbsp;and then upgrading these&amp;nbsp;customization&#39;s.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #333333; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Events are simple and powerful concept. In daily life, we encounter with so many events. Events can be used to support these programming paradigms.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;b style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;1) Observation:&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;Generate alerts to see exceptional behavior.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;2) Information dissemination:&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;To convey information to right people at right time.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;3) Decoupling:&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.5px;&quot;&gt;&amp;nbsp;Consumer&amp;nbsp;doesn&#39;t&amp;nbsp;need to know about producer. Producer and Consumer can be sitting &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in totally different applications.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Terminology&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;AX 2012 events are based on .NET eventing concepts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;Producer:&lt;/b&gt;&amp;nbsp;Object to trigger the event.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;b&gt;Consumer:&lt;/b&gt;&amp;nbsp;Object to consume the event and process logic based on the event triggered.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;b&gt;Event:&lt;/b&gt;&amp;nbsp;An action that needs to be triggered&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;b&gt;Event Payload:&lt;/b&gt;&amp;nbsp;Information that can go along with event.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Delegate:&lt;/b&gt;&amp;nbsp;Definition that is passed to trigger an event. Basically, communicator between producer and consumer&lt;/span&gt;&lt;span style=&quot;background-color: #e0e0e0;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #e0e0e0; color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Things to remember while using Events in AX2012&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(1) Delegate keyword to use in delegate method.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(2) Public or any other accessibility specifier is not allowed in a delegate method.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(3) Delegate Method return type must be void.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(4) Delegate Method body must be empty.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(5) A delegate declaration can have the same type of parameters as a method.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(6) Event handlers can run only on the same tier as the publisher class of the delegate runs on.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(7) Handler can be implemented either in X++ or in managed code.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(8) Only static methods are allowed to be event handlers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(9) Delegate method can’t be called outside class. Basically, events can’t be raised outside class in which &amp;nbsp; &amp;nbsp; event is defined.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(10) Event handlers for host methods can use one of two parameter signatures:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (i) &amp;nbsp; One parameter of the type XppPrePostArgs. Go through all the methods available in &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/xppprepostargs.aspx&quot; style=&quot;color: #666699;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;XppPrePostArgs&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (ii) The same parameters that are on the host method that the event handler subscribes to.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;Now, let me show you how to use events in AX 2012.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;1. Let’s create a class Consumer to create EventHandler (sendEmailToCustomer). This will be called once order is shipped so that email can be sent to customer to notify. It has to be static method&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzIO0Qdo2WHb7cgLbdwmH1Kf6qpxP9yXxibSvUmtO9qHzcpijsnJQBT0vR7sYLc5eD6j5xRxSXXMRgBaYhqsoVYN0DUEwofCZc09GtE7yJeWxlc8HTsMjzCFs8wTDeBjkdpOMLMIegpg/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;2. Now let’s create Producer class where this event (sendEmailToCustomer) is called using Delegates. Add delegate by right clicking on Producer class &amp;gt; New &amp;gt; Delegate.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZEbk5vNXo7uXtwkrLlMHLrfrP649NzRW9_nRJnIDYeeHLwsU5HwzqPHBoHiEl-7ljiJ2Wx49e1NQXpLtfjO8bwpJuJTeVfBL0yKa5WXPO3ej1kxqbm5RNHrks_2A986Mk75Yq158nC0/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;3. Change its name to delegateEmail (you can have any name). Parameter should be same as event handler method (sendEmailToCustomer) i.e. of type Email. Notice it has no body and is a blank method.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNzMtllcYpVYeUjzLsFNZkc3pWG8JDaxTmYan3gz6aDD7RvsMQxALuhyphenhyphen0E9VLfYS05jx6lMuw1zrhUMcuEbaPO5XXbv4Se6WujklxEP1yUq6wM-KdtqV7KOMIO_IxoaLNhhelqrmdtSLY/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;Now drag and drop sendEmailToCustomer method from Consumer class to delegateEmail.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW0q1v9CwPWGluRmpd2Ca-1QR0peF77fGDWNJ8KTmcwnNSTf4nRTFZTlE28S2Clkj0II0Kn2L_cX6aml2Lb-kVJnQ6zV1HkpegLzbqRqtNx4vpwSnK6PgEUs0M9jvQXgPRBwH2h2v0Wpc/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;5. Look at properties of EventHandler. You will notice it is pointing to Class Consumer and method sendEmailToCustomer&lt;/span&gt;&lt;o:p style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCJ-o-ft7fUB_pulvUmn6PL8vAgRWGTZl4i7-h8SrHQDGOwx2JPnOUNGeMfW8uulejegtSJOLieHcnRUjSsBd7-gk_2pVr8rnBfTCQfRvsMo5-g0RZtTo3-zfQfVEISfJtoZBCtQLNEeQ/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;6.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;If order is not shipped, I am creating another event handler (errorLog) in Consumer class to log error into error log.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6L3DNf8UCswIJsmyeIleHAkSBh9Wqog_s5aw2RdNull5J8FzKmcr70OLkSaL08fcm8BZhohCfGXkSQD1wQDyo0R0TP78iODkIB71db_dQTWd_MlsvfLnWlGsfCzrtdc9Ltx_agpLSERY/s400/Untitled.png&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;7.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;Create another delegate method (de&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;legateErrorLog) in Producer class to call this event handler (errorLog)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5je6__sC08r0_HnOnRm6h5dsL6LugbkclzejR4Tvi0OeRTOz9ugFT4GK13_rnFMdePpju-tzk9Bt4i7jBXib7bkEQrKYu4tWfxfNXmc7mNFD-O3uXUK2ztiJzT0KBUCmPV2fAX40mD3E/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5je6__sC08r0_HnOnRm6h5dsL6LugbkclzejR4Tvi0OeRTOz9ugFT4GK13_rnFMdePpju-tzk9Bt4i7jBXib7bkEQrKYu4tWfxfNXmc7mNFD-O3uXUK2ztiJzT0KBUCmPV2fAX40mD3E/s400/Untitled.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;8. Drag and drop event handler (errorLog) in delegate method (delegateErrorLog) similar to step 4.&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;9.&amp;nbsp;Now let’s create main method in Producer class to ship order and let’s see how delegates can be used to trigger event handlers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYqLQ32-7F6eI_FIZPwKTwrMTXqDZ-rDYN5GQQ1WYC2g-eoA556J8ejm2v5IszYPdfycHU1fp-QpYrdSdRGTMvRmmkFCZIUx-Jcx-OpG25MJQM4iCFgSj9aXSHcjCOVqlZ-1ouY9Vd4jM/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYqLQ32-7F6eI_FIZPwKTwrMTXqDZ-rDYN5GQQ1WYC2g-eoA556J8ejm2v5IszYPdfycHU1fp-QpYrdSdRGTMvRmmkFCZIUx-Jcx-OpG25MJQM4iCFgSj9aXSHcjCOVqlZ-1ouY9Vd4jM/s400/Untitled.png&quot; width=&quot;371&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;0. Suppose shipOrder method returns true. Now, if I run this main method, it should go into delegateEmail method and should trigger method sendEmailToCustomer. Let’s run and see the result.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;11. Here is the result and it is as expected so it did trigger method sendEmailToCustomer.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtyHDD-5hjqwQxuoWWSkDAvP3mx-voTRHFwEh7ncxa-x9pP5CWf4HjrzbV0FgFHU3IIE8GTcA42tX6ZCqHCs61ASjwhl_SNkEAauERkMxMz7FtRoHInP-ugVewMKyGrO3H237PzmdAqzU/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;11.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;Let’s suppose shipOrder method returns false. Now, if I run this main method, it should go into delegateErrorLog method and should trigger method errorLog. Let’s run and see the result.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW6FSW4w0084PLb9tq2EiOaK8Sngb_vWD7TUm1LHoxnez7dmpbWG-IXTk8nN3JB2H7FYGldc8T3oChdTe2_QNcqGrMHjNmd7EQ1zatTXLY2Qm_F6DSv01Z25ULkJBfEf_e0XEDEX2L-M0/s400/Untitled.png&quot; width=&quot;368&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;12. Here is the result and it is as expected so it did trigger method errorLog.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiy2IE-pdzapAdakgtZkUk9YanfHF_CCFSDHsHNlrM-knkK7KrGtYuMOvnD3-ALueNQTgGyQHBvcf0x4JS39BOGy3QD37ZrXoPBRGnGQV5iIcLgH-lnJStAdQEmkN2k_X7fsyn8hG4rE8/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;13.&amp;nbsp;Handlers can also be added/removed in x++.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;Add Handler:&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;It uses += sign&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br style=&quot;color: #333333; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;.&lt;/span&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMF1tjEwzFq7eWIXylnMEsdYIkLIwvTAp7r8vMWJn2oMIHuRWk6n4xfKFT9PYL8K3PrQDpLRYh1UdJh7miWmjIqGRUqQze0TZsQ06tTlxH3MKGghjf5YVkFXFwi2GsTcv7aUCzWlEDpRc/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Remove Handler:&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;It uses -= sign.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifVvfwFKVF3cD59cJXmasi4wa3SLkdIunhHjB1T7mc4wmN8qnuhaI0PtOHpS4bA7yg4xTB1B5lb4rn6PzPUbRCPIR_ZtzX7j_eKwiZb6x-cBJnwzYbeO-rML19A4CjTAClSjYn4zSaPhU/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;14.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Now, let’s&amp;nbsp; use addStaticHandler in main method. If you see the code, it is calling addStaticHandler before calling delegate method. If we run it and see the result, it should send 2 emails.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdLyMScBRQPkcpczYD3TtnKa3My6JxjU4YA9UuaryVzVCmF2sIIWDzDollQYkSUu1SPvof00_ZLnvQ92w0doiB_h-MpQyMmCWzUYElMyCDSxO_tGdCgigjoYcX_PaHBAhPe-M_MvxTwj8/s320/Untitled.png&quot; width=&quot;319&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;15. Here is the result as expected.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQdi0cCvOSSOWWejX2fOnmGrJpkMiIVgdwi4tssOYxVOljVytkW9CkIidIOAlmye0UKgxh5bXdk9Col2kUUy3u6v2BsvQ2RTP3lQj2FnD2YsigC6Y3_Gfh13g7bHa6BsdUu8-yLwR2Nl4/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;7. Similarly if we use removeStaticHandler method instead of addStaticHandler before calling &lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;delegate method then it will remove handler and will not send any email.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;So, you can see that with the use of delegates and event handlers, it is so easy to trigger events. Also, it will be easy and less time consuming to upgrade it. Suppose if delegates are called from standard methods while doing customizations then it will be so easy to upgrade if standard methods are changed in next release because only 1 liner code of calling delegate method needs to be rearranged and no changes will be required in event handler methods.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;Use of Pre and Post event handlers&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;In AX 2012, any event handler method can dropped in other method. If the property “CalledWhen” is set to “Pre” then it becomes pre event handler. If it is set to “Post” then it becomes post event handler. Pre event handler is called before the method under which it is dropped and Post event handler is called after method ends. These are so powerful that event handler method can be created in new class and can be dropped in any standard or any other method without changing a single line of code and can be set as pre or post event handler as per business need. Suppose, before creating a customer in AX, business need is to do some business logic then logic can be written in pre event handler and can be dropped in insert method of CustTable. Similarly, if there is post logic to be written after customer is created then post event handler can be created and dropped in insert method of CustTable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Let’s see how pre and post event handler methods can be created and used.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;1. Let’s take same example. I added 2 event handler methods in Consumer class.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCKAjWQc6vjUoassDaw3V5C3sRyhkq1Rpimyhs787VvOSj8Ve7zNavcaUHNs_1bwLGBhSo5SGiy-s2U965OepKCg1-jS08Zri2qX73lM6PPlnObeoJ-Dcvfed1gkFjFggMnKZ31UdNGsg/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTrA1On0DVZDz-aZYr3B6wyRhuertOjabr2gCrvniQ3OWeEIhz1x2NQkZq0pnFdP-TIA1d1yeVHAnWpcKjsbw2JYJPKfTU9zs_nBPBGBH6xcv51g1YQIHwyKuX_bGzen6brftTXPvR4FU/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;2.&amp;nbsp;Drag and drop both these event handlers in method sendEmailToCustomer&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fAXxp8Rn27zfQOGFhPoOCVkD9qgt9rejn2shcmvc1vhRoPUKCVq5mUVEL1ryO22Hg6scqItiaxzl6nuhtBJUHdrWSbCz66La_yoPvH7_wzvMlwkJI29pcbwuxpoSvomNt39Crez8GP4/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;3. Set property “CalledWhen” to Pre for EventHandler1 and Post for EventHandler2.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;img border=&quot;0&quot; height=&quot;84&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLF1Js7jEax1-6v-hYKBWg4gpOCNqaVE5hzy6XC6_86LmDIhlN1XmJVolB2ih4cT58U9dbdWHmA1M-rzLBUCz6ZN0cOgvXWYOjq304PHyoRZ30M25tdtLfE0geO6sFRFNy0Xs-PMJS-_o/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;89&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD9vahpk5ZFm4-gONC42RJh080pT4KiQPMhuYzGIIU2WoHLCeF6XG3rxo5IW-BKs5mdduHDx0D31I51LvU1j4dEVXn2NDwyF0AahyKw3lN3LK6stm57ESuR9V9gzeoswsISyOPIwhu7lM/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;4. Now let’s run main method of Producer class again and see the results. It should call EventHandler1 and then sendEmailToCustomer and then EventHandler2.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkkCdEEqs6vVACZwPJcKKBI-txN-arW0mBvoWFoyKGf3Bd-z2R3JZmCSY4bUxg1y0_EcyAFYG8V5ofgqW63N6F4K0iSkPGynsg6NQYE6KoUISVXY-C5bhFnpel1jajxDMvw2_5XqZUcSs/s320/Untitled.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Here is the result as expected.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOz0rGVMtAvwYlAig2myBooop2xKdCAdMCljH2WHjIoPnDF-L7SV_z6FHZw51god0OtmNp0LY693NGVSS0YapnEUwVL7hRko5H6cCYm0P4jsN9HAQ7iWwQXOADqemcNwvjrXTy5uylp9M/s1600/Untitled.png&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br style=&quot;background-color: #e0e0e0;&quot; /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;With use of events, it has opened so many doors and possibilities. Model architecture and events can be integrated which can help if multiple vendors are doing customizations in different models so that it doesn’t impact customizations of other models/vendors. Use of pre and post handlers is so powerful that it can be used without changing a single line of code in original method. Pre or Post handlers can be just dropped in the original method and will be called automatically before (pre handler method) or after (post handler method) original method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Stay tuned for more on events. I am still exploring the possibilities using events in AX 2012.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19.5px; margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;background-color: #e0e0e0; color: #333333; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 13px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/712708226702431808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/microsoft-dynamics-ax-2012-eventing.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/712708226702431808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/712708226702431808'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/microsoft-dynamics-ax-2012-eventing.html' title='Microsoft Dynamics AX 2012 Eventing'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzIO0Qdo2WHb7cgLbdwmH1Kf6qpxP9yXxibSvUmtO9qHzcpijsnJQBT0vR7sYLc5eD6j5xRxSXXMRgBaYhqsoVYN0DUEwofCZc09GtE7yJeWxlc8HTsMjzCFs8wTDeBjkdpOMLMIegpg/s72-c/Untitled.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-2745469162469014126</id><published>2012-10-16T04:57:00.000-07:00</published><updated>2012-10-16T05:04:47.430-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Lookup Form"/><title type='text'>Building Lookups - Using a form for lookup building</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial; text-align: justify;&quot;&gt;In numerous situations, stan&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial; text-align: justify;&quot;&gt;dard, automatic, or even dynamic runtime lookups cannot display the required data. For example, it might be a lookup with tab pages or a search field. In such cases, Dynamics AX offers the possibility to create an AOT form and use it as lookup.﻿﻿&lt;/span&gt;&lt;br /&gt;
&lt;h5 style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot;&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-family: Tahoma, Geneva, sans-serif; font-weight: normal;&quot;&gt;&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;will demonstrate&quot;&gt;&lt;/a&gt;In this recipe, we will demonstrate how to create a lookup using an AOT form. As an example, we will modify the standard customer account lookup to display only active customers.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;ch04lvl2sec06&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;h4 class=&quot;docSection2Title&quot; id=&quot;title-ID0ETQBG&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;How to do it...&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;new form&quot;&gt;&lt;/a&gt;1. In AOT, create a new form called&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustLookup&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;source with&quot;&gt;&lt;/a&gt;. Add a new data source with the following properties:&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Table&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AllowCreate&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AllowEdit&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AllowDelete&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AllowCheck&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;OnlyFetchActive&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Index&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AccountIdx&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;2. Change the form&#39;s following design properties:&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Frame&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Border&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;WindowType&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Popup&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;3. Add a new&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Grid&lt;/span&gt;&amp;nbsp;to the form&#39;s design:&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;id334&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Customers&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ShowRowLabels&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;No&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataSource&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;4. Add a new&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;StringEdit&lt;/span&gt;&amp;nbsp;control to the grid:&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AccountNum&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataSource&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataField&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AccountNum&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;AutoDeclaration&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Yes&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;5. Add another&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;StringEdit&lt;/span&gt;&amp;nbsp;control to the grid, right after&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;AccountNum:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataSource&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataField&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;6. Add one more&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;StringEdit&lt;/span&gt;&amp;nbsp;control to the grid, right after&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Name:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Phone&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataSource&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataField&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Phone&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;7. Add a new&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;ComboBox&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;of the&quot;&gt;&lt;/a&gt;&amp;nbsp;control to the end of the grid:&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;2&quot;&gt;&lt;/col&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Name&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Blocked&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataSource&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DataField&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Blocked&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;8. Override the form&#39;s init() method with the following code:&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;id335&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;docEmphStrong&quot;&gt;public void init()
&lt;/span&gt;
{;
super();
element.selectMode(AccountNum);
}
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;9. Override the form&#39;s run() with the following code:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;docEmphStrong&quot;&gt;public void run()
&lt;/span&gt;
{
FormStringControl callingControl;
boolean filterLookup;
;
callingControl = SysTableLookup::getCallerStringControl(
element.args());
filterLookup = SysTableLookup::filterLookupPreRun(
callingControl,
AccountNum,
CustTable_ds);
super();
SysTableLookup::filterLookupPostRun(
filterLookup,
callingControl.text(),
AccountNum,
CustTable_ds);
}
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;10. Finally, override init() of the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustTable&lt;/span&gt;&amp;nbsp;data source with the following code:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;docEmphStrong&quot;&gt;public void init()
&lt;/span&gt;
{
Query query;
QueryBuildDataSource qbds;
QueryBuildRange qbr;
;
query = new Query();
qbds = query.addDataSource(tablenum(CustTable));
qbr = qbds.addRange(fieldnum(CustTable, Blocked));
qbr.value(queryvalue(CustVendorBlocked::No));
this.query(query);
}
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;11. The form in AOT should look like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKq_f8JAYZgWryViWUSKPLf0N8l96V5KinB3vin-0gMXLl17z64CnTNRb3BWomSk2RhtlfNqJf7ZTgE36Tc6US1_sOiJKMevO5t395AA1tyMW1wNEq3XWQV92yQdOwExDXfj3SQtIhHNA2/s1600/lookup_building_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKq_f8JAYZgWryViWUSKPLf0N8l96V5KinB3vin-0gMXLl17z64CnTNRb3BWomSk2RhtlfNqJf7ZTgE36Tc6US1_sOiJKMevO5t395AA1tyMW1wNEq3XWQV92yQdOwExDXfj3SQtIhHNA2/s320/lookup_building_1.jpg&quot; width=&quot;248&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h5 style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-family: Tahoma, Geneva, sans-serif; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;12. Locate the extended data type&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustAccount&lt;/span&gt;&amp;nbsp;in AOT, and change its property:&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; frame=&quot;hsides&quot; rules=&quot;groups&quot;&gt;&lt;colgroup align=&quot;left&quot; span=&quot;2&quot;&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;col width=&quot;1&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Property&lt;/span&gt;&lt;/th&gt;&lt;th align=&quot;left&quot; class=&quot;docTableCell bottomBorder thead&quot; scope=&quot;col&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Value&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;FormHelp&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; class=&quot;docTableCell&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify;&quot; valign=&quot;top&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CustLookup&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;13. To test the results, open&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Accounts receivable | Sales Order Details&lt;/span&gt;&amp;nbsp;and start creating a new sales order. Notice that now&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Customer account&lt;/span&gt;&amp;nbsp;lookup is different, and it includes only active customers:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Xiwv3CPT1jScrtUg5D0ap4Xozz2BQgf-HgXu9HaF6hYhETiTQigkf3bVHA4zIOsbS4x41y7X5upVCUQkNA-BEWji_TKC9TamN9nCp0s4-5Nx4jLOpzAgt5c4pfXWdm6SytveitC2MZJt/s1600/Using%2520a%2520form%2520for%2520lookup%2520building_2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Xiwv3CPT1jScrtUg5D0ap4Xozz2BQgf-HgXu9HaF6hYhETiTQigkf3bVHA4zIOsbS4x41y7X5upVCUQkNA-BEWji_TKC9TamN9nCp0s4-5Nx4jLOpzAgt5c4pfXWdm6SytveitC2MZJt/s320/Using%2520a%2520form%2520for%2520lookup%2520building_2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;How it works...&lt;/span&gt;&lt;/div&gt;
&lt;h5 style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_noidung&quot; style=&quot;font-family: Tahoma, Geneva, sans-serif; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;
&lt;/span&gt;&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;The newly created&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CurrencyLookup&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;It is&quot;&gt;&lt;/a&gt;&amp;nbsp;form will replace the automatically generated customer account lookup. It is recommended to append text&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Lookup&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;so that&quot;&gt;&lt;/a&gt;&amp;nbsp;to the end of the form name, so that lookups can be easily distinguished from other AOT forms.&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;id337&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;make our&quot;&gt;&lt;/a&gt;In order to make our form lookup looks exactly like a standard lookup, we have to adjust its layout. So, we set form design&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Frame&lt;/span&gt;&amp;nbsp;and&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;WindowType&lt;/span&gt;&amp;nbsp;properties respectively to&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Border&lt;/span&gt;&amp;nbsp;and&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Popup&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;and makes&quot;&gt;&lt;/a&gt;. This removes form borders and makes the form lookup like a true lookup. By setting the grid property&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;ShowRowLabels&lt;/span&gt;&amp;nbsp;to&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;No&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;not a&quot;&gt;&lt;/a&gt;, we hide grid row labels, which are also not a part of automatically generated lookups. Then, we create a grid with four controls, which are bound to the relevant&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustTable&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;table fields&quot;&gt;&lt;/a&gt;&amp;nbsp;table fields.&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;id338&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;data source&quot;&gt;&lt;/a&gt;Next, we change the data source properties. We do not allow any data change by setting&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;AllowEdit, AllowCreate&lt;/span&gt;, and&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;AllowDelete&lt;/span&gt;&amp;nbsp;properties to&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;No&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;be disabled&quot;&gt;&lt;/a&gt;. Security checks should be disabled by setting&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;AllowCheck&lt;/span&gt;&amp;nbsp;to&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;No&lt;/span&gt;. To increase performance, we set&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;OnlyFetchActive&lt;/span&gt;&amp;nbsp;to&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Yes&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;size of&quot;&gt;&lt;/a&gt;, which will reduce the size of the database result set to only the fields that are visible. We also set the data source index to improve lookup performance.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;which form&quot;&gt;&lt;/a&gt;Now, we need to define which form control will be returned as a lookup value to the calling form upon user selection. We need to specify it manually in the form&#39;s init() by calling element.selectMode() with the name of the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;AccountNum&lt;/span&gt;control as argument.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;In the form&#39;s run(), we simulate standard lookup filtering, which allows user to user&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;*&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;if the&quot;&gt;&lt;/a&gt;&amp;nbsp;symbol to search for records in the lookup. For example, if the user types&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;1*&lt;/span&gt;&amp;nbsp;into the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Customer account&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;all customer&quot;&gt;&lt;/a&gt;&amp;nbsp;control, the lookup will open automatically with all customer accounts starting with&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;1&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;use the&quot;&gt;&lt;/a&gt;. To achieve that, we use the filterLookupPreRun()﻿ and filterLookupPostRun() methods of the standard SysTableLookup&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;a control&quot;&gt;&lt;/a&gt;&amp;nbsp;class. Both methods requires calling a control, which we get by using getCallerStringControl() method of SysTableLookup. The first method reads user input and returns true if a search is being performed, otherwise, false. It must be called before the super() in the form&#39;s run() and accepts four arguments:﻿&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;id339&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;1. The calling control on the parent form.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;2. The returning control on the lookup form.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;3. The lookup data source.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;4. An optional list of other lookup data sources.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;The filterLookupPostRun() must be called after the super() in the form&#39;s run() and also accepts four arguments:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;ol class=&quot;docList&quot; type=&quot;1&quot;&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;1. A result value from previously called filterLookupPreRun().&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;2. The user text specified in the calling control.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;3. The returning control on the lookup form.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;div class=&quot;docList&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;4. The lookup data source.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;The code in the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustTable&lt;/span&gt;&amp;nbsp;data source&#39;s init() replaces the data source query created by its super() with the custom one. Basically, here we create a new Query&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;and set&quot;&gt;&lt;/a&gt;&amp;nbsp;object, add a range to show only active customers, and set this object as the new&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustTable&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;data source&quot;&gt;&lt;/a&gt;&amp;nbsp;data source query. This ensures that there are no dynamic links from the caller form&#39;s data source.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;docText&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;The value&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustLookup&lt;/span&gt;&amp;nbsp;in the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;FormHelp&lt;/span&gt;&amp;nbsp;property of the&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;CustAccount&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=202993299388026022&quot; name=&quot;will make&quot;&gt;&lt;/a&gt;&amp;nbsp;extended data type will make sure that this form is opened every time the user opens&lt;span class=&quot;docEmphStrong&quot;&gt;&amp;nbsp;Customer account&lt;/span&gt;&amp;nbsp;lookup.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/h5&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/2745469162469014126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/building-lookups-using-form-for-lookup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/2745469162469014126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/2745469162469014126'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/building-lookups-using-form-for-lookup.html' title='Building Lookups - Using a form for lookup building'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKq_f8JAYZgWryViWUSKPLf0N8l96V5KinB3vin-0gMXLl17z64CnTNRb3BWomSk2RhtlfNqJf7ZTgE36Tc6US1_sOiJKMevO5t395AA1tyMW1wNEq3XWQV92yQdOwExDXfj3SQtIhHNA2/s72-c/lookup_building_1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-7934799556440353190</id><published>2012-10-14T22:41:00.001-07:00</published><updated>2012-10-14T22:42:53.441-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Customized Lookup"/><title type='text'>X++ code to create a customized lookup on form</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 1.4;&quot;&gt;Override the lookup method on Formdatasource field(on which you want to show lookup) , and copy the following code to your method.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4249176869306865476&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
Comment the super() method in the lookup.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;public void lookup(FormControl _formControl, str _filterStr)&lt;br /&gt;{&lt;/strong&gt;&lt;br /&gt;
SysTableLookup sysTableLookup; // systemclass to create //customlookup&lt;br /&gt;
Query query;&lt;br /&gt;
QueryBuildDataSource qbd;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
sysTableLookup = SysTableLookup::newParameters(&lt;br /&gt;
tablenum(InventTable),&lt;br /&gt;
_formcontrol);&lt;br /&gt;
&lt;br /&gt;
// Construct query on the table,&lt;br /&gt;
// whose records you want to show as lookup.&lt;br /&gt;
query = new Query();&lt;br /&gt;
qbd = query.addDataSource(tablenum(InventTable));&lt;br /&gt;
qbd.addRange(fieldnum(InventTable,ItemType)).value(SysQuery::value(enum2str&lt;br /&gt;
(ItemType::Item)));&lt;br /&gt;
&lt;br /&gt;
// add the fields to the lookup list&lt;br /&gt;
sysTableLookup.addLookupfield(fieldnum(InventTable,ItemId));&lt;br /&gt;
sysTableLookup.addLookupfield(fieldnum(InventTable,ItemName));&lt;br /&gt;
&lt;br /&gt;
// pass the query as parameter&lt;br /&gt;
// system will show the records in the lookup&lt;br /&gt;
// as per your query&lt;br /&gt;
sysTableLookup.parmQuery(query);&lt;br /&gt;
sysTableLookup.performFormLookup();&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;}&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/7934799556440353190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/x-code-to-create-customized-lookup-on.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/7934799556440353190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/7934799556440353190'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/10/x-code-to-create-customized-lookup-on.html' title='X++ code to create a customized lookup on form'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1160138846196443368</id><published>2012-08-29T04:29:00.001-07:00</published><updated>2012-08-29T04:30:47.423-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Sales order - Commission"/><title type='text'>Sales orders – commissions in Ax 2009</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;Setup Commission posting&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Microsoft Dynamics® AX2009 calculates sales commissions at the sales line level upon invoicing a sales order.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;The Commission posting form is used to specify a general ledger account for a commission posting to be debited only during an invoice update, and also as an offset account that is credited.&amp;nbsp;Click Navigation Pane node: Accounts receivable -&amp;gt; Setup -&amp;gt; Commission -&amp;gt; Commission posting.&amp;nbsp;Select ‘Commission’&amp;nbsp; to setup debit account and ‘Commission offset’ to setup credit account.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;Customer groups for commissions&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;When calculating the commission of a sales line Microsoft Dynamics AX 2009 searches for the related sales representative, item, and customer combination set up in the Commission calculation form. Groups of sales representatives, items, and customers can also be set up in Commission relationships in the Commission calculation form.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Use Commission customer groups (CCG) to integrate groupings of customers into the calculation of commission transactions for sales orders. Notice that CCGs are not necessarily connected to customer groups.&amp;nbsp;Click Navigation Pane node: Accounts receivable -&amp;gt; Setup -&amp;gt; Commission -&amp;gt; Customer groups for commission.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;For a commission to be calculated with regard to a specific CCG, the CCG must be associated with a sales order. A CCG can be set up on:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Customer – Specify the CCG on the Sales order tab in the Customer commission group field. This defaults to the sales order when creating a sales order with this customer.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Sales order – Specify the CCG on the Setup tab in the Customer group field. Notice that a setting in the sales order overrides the setting from the Customers form.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To link CCG with the customer, click Navigation Pane node: Accounts receivable -&amp;gt; Customer Details. Switch to the Sales order tab on the Customers form. Change Commission Customer Group.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To link sales order with the CCG, click Navigation Pane node: Accounts receivable -&amp;gt; Sales Order Details.&amp;nbsp; Switch to the Setup tab and select ‘Sales group’, select CCG. If you already have selected the group for the customer, it will be populated automatically.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;Commission item groups&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Use Commission item groups (CIG) to integrate combinations of items into the commission calculation. Notice that although CIGs are completely independent of ordinary item groups Inventory management &amp;gt; Setup &amp;gt; Item groups it might be desirable to group items into CIGs under similar premises. You can’t change CIG in the order line.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To check existing Item groups, open Inventory management -&amp;gt; Setup -&amp;gt; Item groups.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To create new CIG Accounts receivable -&amp;gt; Setup -&amp;gt; Commission -&amp;gt; Item groups.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To link items with CIG, click Navigation Pane node: Inventory management -&amp;gt; Item details, switch to the General tab on the Item form.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;Commission sales group&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;The purpose of grouping employees is broader than the purpose of grouping customers and items for commission agreements. Within the Commission sales group (CSG) is the specification of which employees may receive a commission when a customer associated with the relevant sales group buys certain items.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Click Navigation Pane node: Accounts receivable -&amp;gt; Setup -&amp;gt; Commission -&amp;gt; Sales groups.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Open Sales rep. form. to setup sales representatives (they need to be in the employee table).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;You can allocate percentages of both less than 100% and more than 100%. If the amount is more than 100%, a warning message appears. However, the system correctly calculates the amount if this warning is ignored and an over allocation is required.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;You can also associate employees with a sales group by clicking Human Resources &amp;gt; Employee Details. Select an employee and click Commission, select the sales group to attach the employee to.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Click Navigation Pane node: Human Resources -&amp;gt; Employee Details. Click the Commission -&amp;gt; Sales groups menu button.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;The same effect as creating a Table relation for a sales rep can be created by only attaching one salesperson to the CSG (Contact).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To integrate CSGs into the calculation of sales order commissions, specify a CSG at one of the following levels:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Customer – Specify the CSG on the Sales order tab in the Sales group field. This defaults to the sales order when creating a sales order with this customer.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Sales order – Specify the CSG in the Sales group field. This overrides the setting specified on the customer.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Sales order line – Specify the CSG in the Sales group field. This overrides the customer and sales order settings.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;Commission calculation&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Click Navigation Pane node: Accounts receivable -&amp;gt; Setup -&amp;gt; Commission -&amp;gt; Commission calculation.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Go to the Setup tab, specify the following options:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin: 10px 0px; outline: 0px; padding: 0px 0px 0px 1em;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 16px; list-style: disc; margin: 4px 0px 4px 20px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;The period the commission calculation is valid.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 16px; list-style: disc; margin: 4px 0px 4px 20px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;When commission calculation occurs: Before line discount, After line discount or After the total discount.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 16px; list-style: disc; margin: 4px 0px 4px 20px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Whether the commission calculation is based on the contribution Margin or on Revenue earned for the sales order&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 16px; list-style: disc; margin: 4px 0px 4px 20px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;In the Find next field, specify whether Microsoft Dynamics AX 2009 is to continue searching for more commission agreements for a salesperson. If this option is not selected, any agreements on the Group or All levels, for example, will be suppressed.&amp;nbsp; Microsoft Dynamics AX 2009 searches to find whether there are employees associated with a Sales group who are to receive a commission.&amp;nbsp; It will accumulate commissions for all possible level.&amp;nbsp;The search for a commission calculation agreement moves from specific relations to general – all relations: &amp;nbsp; Table level, Item and Customer combination;&amp;nbsp;&amp;nbsp;Group level combination of Item and Customer combination;&amp;nbsp;- All – which is the general level.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 16px; list-style: disc; margin: 4px 0px 4px 20px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;If during the search a specific table relation exists, this overrides a commission calculation setup at the group level and in the same manner as a group setting overrides a general All setting.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;background-color: white;&quot;&gt;View commission transactions&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To see created commission transactions, click Navigation Pane node: Accounts receivable -&amp;gt; Customer Details. Click the Inquiries -&amp;gt; Invoice menu button. Commission -&amp;gt; Commission transactions menu button.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;To see all of commission transactions posted for employee, click Navigation Pane node: Human Resources -&amp;gt; Employee Details. Click the Commission -&amp;gt; Commission transactions menu button.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #242424; font-family: Tahoma, sans-serif; font-size: 12px; line-height: 22px; list-style: none; margin-bottom: 18px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Source: Dynamics Ax training materials.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1160138846196443368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/sales-orders-commissions-in-ax-2009.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1160138846196443368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1160138846196443368'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/sales-orders-commissions-in-ax-2009.html' title='Sales orders – commissions in Ax 2009'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-4414907225480504652</id><published>2012-08-28T00:46:00.000-07:00</published><updated>2012-08-28T00:46:52.053-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Create Sales order in Ax 2012"/><title type='text'>Create Sales Order in Ax 2012 using X++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Hi,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;In this post we will learn the below using X++ :&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;1) How to Create Sales Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;2) How to Create Sales Order Line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;3) How to Post Sales Order&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Code :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;public static void SalesOrderDemo(Args _s)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;// Create the Sales Order&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;SalesTable salesTable;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;NumberSeq NumberSeq;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;SalesId sid;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;SalesLine sl;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;SalesFormLetter fl;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;NumberSeq =NumberSeq::newGetNum(SalesParameters::numRefSalesId() , true);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;sid=NumberSeq.num();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;salesTable.SalesId = sid;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;salesTable.initValue();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;salesTable.CustAccount = &quot;1101&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;salesTable.initFromCustTable();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;salesTable.insert();&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;//Create the Sales Line with the created Sales Order&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;sl.SalesId=sid;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;sl.ItemId=&quot;1101&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;sl.CreateLine(NoYes::Yes,NoYes::Yes,NoYes::Yes,NoYes::Yes,NoYes::Yes,NoYes::Yes);&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;info(&quot;Sales Order Created with Line&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;//How to Post the Sales Order Invoice&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;fl=SalesFormLetter::construct(DocumentStatus::Invoice);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;fl.update(SalesTable::find(sid));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;info(&quot;Sales Order Posted&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #6a6a6a; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/4414907225480504652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/create-sales-order-in-ax-2012-using-x.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/4414907225480504652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/4414907225480504652'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/create-sales-order-in-ax-2012-using-x.html' title='Create Sales Order in Ax 2012 using X++'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-3441685483246041234</id><published>2012-08-10T11:28:00.002-07:00</published><updated>2012-08-10T11:30:02.520-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012 Financial Dimensions"/><title type='text'>Dynamics AX 2012 Financial Dimensions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Hi Friends,&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Today we will be exploring the new changes related to Financial dimensions in AX 2012.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #0c343d; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;
&lt;b&gt;Earlier versions AX 2009, 4.0 :&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;In older version System use to limit the creation of dimensions up to 10.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;By default 3 dimensions were available in the system namely Department, CostCenter and Purpose.&lt;br /&gt;Technically these dimensions were controlled by Enum SysDimension and an array EDT Dimension.&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;So If we have 3 enum elements in SysDimension, then its corresponding array elements are stored in&amp;nbsp;&amp;nbsp;&amp;nbsp; dimension EDT and can be referred as Dimension[0], Dimension[1].....&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;If you would like to store these dimension values against customized table, then simply we were adding the EDT Dimension to that Table. At Form level simply drag and drop field on Group then system use to&amp;nbsp; show all the array elements as string control.&lt;/li&gt;
&lt;/ul&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;New version AX 2012 (6.0) :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;In AX 60, their is no limit to dimension creations. One can create n number of dimensions as per&amp;nbsp;&amp;nbsp;&amp;nbsp; organization requirements.&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Technically their is huge change in framework, the way these dimensions used to be created and stored.&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Firstly EDT Dimension (array) is deprecated and replaced with DimensionDefault (Int64 RecId). &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Financial Dimensions master table Dimension is replaced with DimensionAttribute and DimensionValueDetails.&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;Now if one wish to store these dimension on your customized table then instead of EDT Dimension one should add DimensionDefault EDT.&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;At Form level make use of DimensionDefaultingController class to show the available dimensions.&lt;/li&gt;
&lt;/ul&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #0c343d;&quot;&gt;How to access Financial Dimensions values in AX 2012:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;In earlier version, accessing dimension values was very simple like&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustTable.Dimension[0] &amp;nbsp; &amp;nbsp;&amp;nbsp; ==&amp;nbsp; Department&amp;nbsp; value &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustTable.Dimension[1]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;nbsp; CostCenter&amp;nbsp; value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustTable.Dimension[2]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;nbsp; Purpose&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;In AX 60, since they have replaced Dimension EDT with RecId DimensionDefault we have to make use of Dimension helper classes to access values.So in CustTable you will find defaultDimension field which stores reference recId for DimensionAttributeSet. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;I am referring Customer 1101 in CEU Company, Contoso Demo Data for illustration purpose. Note the dimension values for this customer as shown in below snap.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqp7jK0dEnJhUniPM4mOBCf9AWajD5SGSfeXlt1GHbNDof-CpwlQGMmFvIGyQ-7JEz4mSrX3sbblyiKHSROpSGB3Me35MSwJaiiN7FwCbl7xxVCwWaVqOrJmBBDlDlmOg-WSE-ytA4S8ox/s1600/FinancialDimensions.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqp7jK0dEnJhUniPM4mOBCf9AWajD5SGSfeXlt1GHbNDof-CpwlQGMmFvIGyQ-7JEz4mSrX3sbblyiKHSROpSGB3Me35MSwJaiiN7FwCbl7xxVCwWaVqOrJmBBDlDlmOg-WSE-ytA4S8ox/s320/FinancialDimensions.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;Refer the code to access the values.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot; /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;static void DEV_Dimension(Args _args)&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustTable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custTable = CustTable::find(&quot;1101&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DimensionAttributeValueSetStorage dimStorage;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter i;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimStorage = DimensionAttributeValueSetStorage::find(custTable.DefaultDimension);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i=1 ; i&amp;lt;= dimStorage.elements() ; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info(strFmt(&quot;%1 = %2&quot;, DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dimStorage.getDisplayValueByIndex(i)));&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;}&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;When you run the job, will see as below&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgyswcX-7xOkjCBo-AQJcHjJ8WlxuOoFeRVRnZXozNAOqoMA8eAyHVG9FHxU62hTotqiYnIc6Y86zgnlUgwWJ3OKbCssIo-2CD1u7DyjWICt8FwW1bb3X8iGa6PHY71t8kMjRodk0zqz8v/s1600/DimensionOutput.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgyswcX-7xOkjCBo-AQJcHjJ8WlxuOoFeRVRnZXozNAOqoMA8eAyHVG9FHxU62hTotqiYnIc6Y86zgnlUgwWJ3OKbCssIo-2CD1u7DyjWICt8FwW1bb3X8iGa6PHY71t8kMjRodk0zqz8v/s320/DimensionOutput.jpg&quot; width=&quot;256&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;I know that now you might have understood the importance of theses helper classes, they are making our lives easy :)&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/3441685483246041234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/dynamics-ax-2012-financial-dimensions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/3441685483246041234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/3441685483246041234'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/dynamics-ax-2012-financial-dimensions.html' title='Dynamics AX 2012 Financial Dimensions'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqp7jK0dEnJhUniPM4mOBCf9AWajD5SGSfeXlt1GHbNDof-CpwlQGMmFvIGyQ-7JEz4mSrX3sbblyiKHSROpSGB3Me35MSwJaiiN7FwCbl7xxVCwWaVqOrJmBBDlDlmOg-WSE-ytA4S8ox/s72-c/FinancialDimensions.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1189442323900063765</id><published>2012-08-08T23:50:00.001-07:00</published><updated>2012-08-09T22:15:22.534-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Ax dynamics"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Cheque printing functionality"/><title type='text'>Cheque Printing functionality in Ax2009</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Cheque Printing in Ax2009 is very simple&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;.Already there are classes and reports available in Ax2009.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Just the matter is change the develop the new report(with the help of existing Cheque reports) and code in classes.&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;First:&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Create a new base enum in ChequeFormType(ex:HDFC)&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Scond:&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;List of classes for Cheque:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;1.BankPrintTestCheque(for testing the layout of the cheque)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;2.BankChequePrint(is the main class for &#39;Bank Cheque printing&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;3.CustVendCheque(calles when vendor payment and customer payemnt-&amp;gt;generate payment)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;add the code whereever ChequeFormType enum is used :)-&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Third:&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;dublicate the existing report &#39;Cheque_DK&#39; and rename.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;change the design as per the HDFC Bank layout.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Test ur cheque layout process:-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;1. select a perticular bank a/c in bank details form under Bank Module.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;2. Click setup button-&amp;gt;cheque layout.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;3. select cheque number as fixed.Select check form as &#39;HDFC&#39; then click Print test button.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;Note: before testing the print layout for hdfc bank need to develop a new report.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;The same report is called when u print the report from the vendor payment journal :)-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18.899999618530273px;&quot;&gt;good luch&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1189442323900063765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/cheque-printing-functionality-in-ax2009.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1189442323900063765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1189442323900063765'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/cheque-printing-functionality-in-ax2009.html' title='Cheque Printing functionality in Ax2009'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-3485051723930162305</id><published>2012-08-07T23:11:00.000-07:00</published><updated>2012-08-09T22:19:43.217-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Batch Processes"/><title type='text'>How batch processing works under the hood AX2009</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;In this article I am going to explain how batch processing in AX2009 works, I don&#39;t mean&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;how to set up a batch group or any of that kind of thing that you find in the manual,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;what I mean is&amp;nbsp;what&amp;nbsp;each AOS is doing in the background to decide how and when to pick&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;up batches and process and complete them. Understanding this background can help in&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;advanced batch troubleshooting or development scenarios.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;In AX2009 batch processing changed. Now we have AOSes which can run batch processes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;directly, if you want to see what&#39;s happening with a batch process, it can be more difficult than&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;in AX3 or AX4 as there is no client sitting there running to look at.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;What happens now is that each AOS has a dedicated thread which checks for batches, basically&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;all this does is calls Classes\BatchRun.ServerGetTask() once every 60 seconds (timing is not&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;configurable) and if there is any work for that AOS to do then the AOS will pick up a task from here.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;I&#39;ll give an example of an end-to-end batch process to show what happens where and when:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- A report is sent to batch by a user, it goes into the batch queue in BATCHJOB (header) and&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;BATCH (the batch tasks).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Once every 60 seconds each AOS that has been configured for batch processing&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;(in administration-&amp;gt;setup-&amp;gt;server configuration) will call the X++ method -&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Classes\BatchRun.serverGetTask()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- In serverGetTask() the logic is exposed in X++&amp;nbsp;so we can all see what happens, this is the&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;main place that we decide what to pick up for batch processing. Basically it checks if there&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;is any tasks in the BATCH table waiting for this AOS - based on the batch groups that this&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;AOS is configured to process, and based on the time that the records in BATCH are due to&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;be processed (i.e. something processes at 21:00 each day then it won&#39;t get picked up until&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;21:00 despite the fact that the AOS polls every 60 seconds). There are a few stages to this method:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;1. First we check if there is a task (a task is a record in BATCH table) ready for us, the query for&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;this is like this:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;courier new&#39;; font-size: 8pt; line-height: 18.149999618530273px; padding: 5px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;select firstonly pessimisticlock RecId, CreatedBy, ExecutedBy, StartDateTime, Status,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SessionIdx,SessionLoginDateTime, Company, ServerId, Info&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from batch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batch.Status == BatchStatus::Ready&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.RunType == BatchRunType::Server&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; (Session::isServer() || batch.CreatedBy == user)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; join Language from userInfo&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where userInfo.Id == batch.CreatedBy&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; userInfo.Enable == true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batchServerGroup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batchServerGroup.ServerId == serverId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.GroupId == batchServerGroup.GroupId;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;2. If a task is returned in step 1 then there&#39;s nothing more to do and we start processing that task.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;If no task is returned then we look to see if any batch jobs need to be started, the query for this is like this:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;courier new&#39;; font-size: 8pt; line-height: 18.149999618530273px; padding: 5px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;update_recordset batchJob setting&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status = BatchStatus::Executing,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDateTime = thisDate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batchJob.Status == BatchStatus::Waiting&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp;&amp;nbsp; batchJob.OrigStartDateTime&amp;nbsp;&amp;nbsp; &amp;lt;= thisDate&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batch.BatchJobId == batchJob.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batchServerGroup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batch.GroupId == batchServerGroup.GroupId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batchServerGroup.ServerId == serverId;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;3. After step 2 we will run Classes\batchRun.serverProcessDependencies(). In here something&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;interesting happens - we see that we use this table &quot;BatchGlobal&quot;, this is used as a focal point,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;because we might have several AOSes running batch processing in the same environment,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;and so for some operations we look to this table to see if another AOS has already done&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;something, to decide whether the current AOS needs to do it as well or not. For dependencies&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;we just make sure that another AOS is not doing this in the same second. So if we continue here,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;the queries we run to set more tasks (again tasks are just records in the BATCH table) ready for&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;processing are below - you can see in the queries how we update the status on the BATCH&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;table records, checking that we only do it for records which are ready and do not have any&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;constraints that are not completed yet:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;courier new&#39;; font-size: 8pt; line-height: 18.149999618530273px; padding: 5px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;//There are no more available tasks and the user is asking for any task.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;courier new&#39;; font-size: 8pt; line-height: 18.149999618530273px; padding: 5px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 8pt; line-height: 18.149999618530273px;&quot;&gt;Search for more tasks with&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;courier new&#39;; font-size: 8pt; line-height: 18.149999618530273px; padding: 5px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //dependencies&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; update_recordset batch setting Status = BatchStatus::Ready&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batch.Status == BatchStatus::Waiting&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.ConstraintType == BatchConstraintType::Or&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batchJob&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batchJob.Status == BatchStatus::Executing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.BatchJobId == batchJob.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join constraintsOr&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where constraintsOr.BatchId == batch.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batchDependsOr&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((batchDependsOr.Status == BatchStatus::Finished&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; (constraintsOr.ExpectedStatus == BatchDependencyStatus::Finished&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || constraintsOr.ExpectedStatus == BatchDependencyStatus::FinishedOrError))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || (batchDependsOr.Status == BatchStatus::Error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; (constraintsOr.ExpectedStatus == BatchDependencyStatus::Error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || constraintsOr.ExpectedStatus == BatchDependencyStatus::FinishedOrError)))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; constraintsOr.DependsOnBatchId == batchDependsOr.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; update_recordset batch setting Status = BatchStatus::Ready&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batch.Status == BatchStatus::Waiting&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.ConstraintType == BatchConstraintType::And&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists join batchJob&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where batchJob.Status == BatchStatus::Executing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batch.BatchJobId == batchJob.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; notexists join constraintsAnd exists join batchDependsAnd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; constraintsAnd.DependsOnBatchId == batchDependsAnd.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; constraintsAnd.BatchId == batch.RecId&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; ((batchDependsAnd.Status != BatchStatus::Finished &amp;amp;&amp;amp; batchDependsAnd.Status != BatchStatus::Error)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || (constraintsAnd.ExpectedStatus == BatchDependencyStatus::Finished&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batchDependsAnd.Status == BatchStatus::Error)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || (constraintsAnd.ExpectedStatus == BatchDependencyStatus::Error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; batchDependsAnd.Status == BatchStatus::Finished))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;4. When this serverProcessDependencies() is complete in step 3 we call again to serverGetOneTask() (same as in step 1), if there were some more tasks set to &quot;ready&quot; in step 3 then we might pick up a task to work on here. Of course if not tasks were &quot;ready&quot; in step 3 then we won&#39;t find a task and we&#39;ll just do nothing.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- So our report which we sent to batch, if in the steps numbered 1-4 above, we found this record was ready to process, and we picked it up, what happens next inside the AOS kernel is that we start a worker session, which can be thought of a bit like a client session, just without a client, it will have it&#39;s own session ID and you&#39;ll see the ID recorded against the record in the Batch table. From this point it calls BatchRun.runJobStatic() and actually runs the batch process - this is just normal X++ running the process here. When this runJobStatic() completes we call BatchRun.ServerFinishTask(), which just sets the status of the record in BATCH to either &quot;finished&quot; or &quot;error&quot; (if it failed for some reason).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;- Now our batch task is finished - the record in the BATCH table. But the header for this batch, the Tables\BatchJob record is not set to finished yet. For this part there is another background process running every 60 seconds on each AOS which just calls into BatchRun.serverProcessFinishedJobs(). Now we can see in this X++ method what it does - we use this BatchGlobal table again, to make sure that between all AOSes we only check for finished jobs a maximum of once every 60 seconds, if it has been 60 seconds then we will run a whole load of queries (too many to copy here but you can check there to see them) to create the batch history (various tables), set the BatchJob record to finished and delete the completed tasks and constraints.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;There are a couple of other background things that happen in the AOS kernel for batch processing:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;1. Every 5 minutes it will call to BatchRun.serverCleanUpDeadTasks() - again we use the BatchGlobal table, so that we&#39;ll only run this once every 5 minutes between all AOSes. This just sets tasks back to &quot;ready&quot; if the session ID for the worker session (I mentioned this earlier - we create this worker session when we start processing a task) is no longer a valid session - basically if a task fails with an X++ exception, or something like that, then the worker session will end, and if you have configured this batch task to allow some retries, then it&#39;s this method which will reset the task for it to have a retry.&lt;br /&gt;2. Every 5 minutes each AOS will check the server settings, to see if it&#39;s supposed to process the same batch groups - or if it&#39;s not supposed to be a batch server any more, all those settings.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/3485051723930162305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/how-batch-processing-works-under-hood.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/3485051723930162305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/3485051723930162305'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/how-batch-processing-works-under-hood.html' title='How batch processing works under the hood AX2009'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1661426481647296738</id><published>2012-08-07T22:45:00.000-07:00</published><updated>2012-08-09T22:17:00.453-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Create batch class"/><title type='text'>Creating a batch class in Dynamics AX 2009</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-7469299315113410993&quot; itemprop=&quot;articleBody&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 650px;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;For creating a batch class in Dynamics AX we can start from the Tutorial_RunbaseBatch class,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;but here is the explanation for understanding all its methods:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;In the&amp;nbsp;&lt;em&gt;classDeclaration&lt;/em&gt;, we declare any variable that contains user&#39;s selection or preferences&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;(for example, the customer account for launch a customer report). Also, we declare other&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;variables like dialog fields, auxiliar variables, etc. But, the most important feature here, is the&amp;nbsp;&lt;em&gt;#localmacro.CurrentList&lt;/em&gt;&amp;nbsp;declaration. This macro helps you to define which variables you want&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;to save for running the class in batch mode (when not user interaction is available).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;class Tutorial_RunbaseBatch extends RunBaseBatch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; //Packed variables&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; TansDate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transDate;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CustAccount &amp;nbsp; &amp;nbsp; &amp;nbsp;custAccount;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Dialog fields&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; DialogField &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dlgCustAccount;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; DialogField &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dlgTransDate;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Current version&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // We can different versions for different purposes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; #define.CurrentVersion(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; #define.Version1(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; #localmacro.CurrentList &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Our current variable list for save user&#39;s selected values&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; transDate,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; custAccount&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp;#endmacro&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;The macro&amp;nbsp;&lt;em&gt;#define.CurrentVersion(1)&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;#define.Version1(1)&lt;/em&gt;&amp;nbsp;are useful for scaling our class&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;when we need to change/upgrade it preserving compatibility.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Now two methods:&amp;nbsp;&lt;em&gt;pack&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;unpack&lt;/em&gt;. These methods are used for store and retrieve user&#39;s&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;preferences and perform the batch operation when none user are available (in batch mode).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;Here is the point where we use the macro defined previously:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;csharpcode&quot; style=&quot;font-family: Consolas, &#39;Courier New&#39;, Courier, monospace; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;container&lt;/span&gt; pack()
{
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; [#CurrentVersion,#CurrentList];
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; boolean unpack(&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;container&lt;/span&gt; packedClass)
{
    Version version = RunBase::getVersion(packedClass);
;
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;switch&lt;/span&gt; (version)
    {
        &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; #CurrentVersion:
            [version,#CurrentList] = packedClass;
            &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;
        &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;//case #otherVersion:&lt;/span&gt;
            &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;//[version,#CurrentList, #otherList] = packedClass;&lt;/span&gt;
            &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;//break;&lt;/span&gt;
        &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;default&lt;/span&gt;:
            &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;
    }

    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;
}&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Bacause we need to ask the user about preferences for run this object (report,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;process, query, etc.), we must implement some methods:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;-&amp;nbsp;&lt;em&gt;dialog&lt;/em&gt;: for build the custom dialog for prompting user&#39;s preferences.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;-&amp;nbsp;&lt;em&gt;dialogPostRun&lt;/em&gt;: after dialog was created, you can perform other UI tasks here.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;-&amp;nbsp;&lt;em&gt;getFromDialog&lt;/em&gt;: used for retrive user&#39;s preferences (dialog values).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;-&amp;nbsp;&lt;em&gt;validate&lt;/em&gt;: here, you can perform a validation for any data entered by the user.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;csharpcode&quot; style=&quot;font-family: Consolas, &#39;Courier New&#39;, Courier, monospace; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; Object dialog()
{
    DialogRunbase       dialog = super();
    ;
 
    &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// Creation of our custom dialog fields/controls to ask user for preferences&lt;/span&gt;
    dlgTransDate = dialog.addFieldValue(typeid(TransDate),transDate);
    dlgCustAccount = dialog.addFieldValue(typeid(CustAccount),custAccount);

    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; dialog;
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; dialogPostRun(DialogRunbase dialog)
{
;
    super(dialog);
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; boolean getFromDialog()
{
    ;

    &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// Retrieving user&#39;s preferences&lt;/span&gt;
    transDate   = dlgTransDate.&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;value&lt;/span&gt;();
    custAccount = dlgCustAccount.&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;value&lt;/span&gt;();

    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; super();
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; boolean validate()
{
    &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// We can perform some validations here&lt;/span&gt;
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;)
        &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; checkFailed(&lt;span class=&quot;str&quot; style=&quot;color: #006080;&quot;&gt;&quot;&quot;&lt;/span&gt;);

    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;
}
&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Finally, the&amp;nbsp;&lt;em&gt;main&lt;/em&gt;&amp;nbsp;method&amp;nbsp;&lt;em&gt;constructs&lt;/em&gt;&amp;nbsp;the object from this batch class, and after&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;prompting user and validation was successful, the&amp;nbsp;&lt;em&gt;run&lt;/em&gt;&amp;nbsp;method is called to perform&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;some task (in batch mode if it was selected):&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;csharpcode&quot; style=&quot;font-family: Consolas, &#39;Courier New&#39;, Courier, monospace; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;server &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; Tutorial_RunbaseBatch construct()
{
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Tutorial_RunbaseBatch();
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; run()
{
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;try&lt;/span&gt;
    {
        &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// Obviously, this code is silly, why show something to nobody?&lt;/span&gt;
        &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// remember, this code is running in batch without user interaction&lt;/span&gt;
        info(strfmt(&lt;span class=&quot;str&quot; style=&quot;color: #006080;&quot;&gt;&quot;Parameters: %1 for %2&quot;&lt;/span&gt;, transDate, custAccount));
    }
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;catch&lt;/span&gt;(Exception::Deadlock)
    {
        retry;
    }
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;catch&lt;/span&gt;(Exception::UpdateConflict)
    {
        &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;throw&lt;/span&gt; Exception::UpdateConflict;
    }
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;catch&lt;/span&gt;
    {
        &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;throw&lt;/span&gt; Exception::Error;
    }
}

&lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; main(Args args)
{
    Tutorial_RunbaseBatch    tutorial_RunBase;
    ;

    &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// Instanciating this batch class&lt;/span&gt;
    tutorial_RunBase = Tutorial_RunbaseBatch::construct();

    &lt;span class=&quot;rem&quot; style=&quot;color: green;&quot;&gt;// Prompting user and run if all is ok&lt;/span&gt;
    &lt;span class=&quot;kwrd&quot; style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (tutorial_RunBase.prompt())
        tutorial_RunBase.run();
}
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1661426481647296738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/creating-batch-class-in-dynamics-ax-2009.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1661426481647296738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1661426481647296738'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/08/creating-batch-class-in-dynamics-ax-2009.html' title='Creating a batch class in Dynamics AX 2009'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-314978396892271593</id><published>2012-07-17T06:08:00.003-07:00</published><updated>2012-08-09T22:18:06.045-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Number Seq in Ax 2009"/><title type='text'>Creating a new Number Sequence for an Existing Module in Ax2009, and Putting it to Use!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;When I first learned how to create a Number Sequence in my&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Dynamics AX 2009 Development IV&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;Class (80014) in February of 2010, I&amp;nbsp;left&amp;nbsp;with more confusion about the topic than it should have, and I dreaded coming back to work with the prospect of actually having to implement new Number Sequences. However, once I pulled together the precise steps from various books, online documents, and flat out trial-and-error, the task turned out to not be quite as bad as I had originally left the class thinking. I was however dumbfounded as to why no single source (that I was able to find) outlined the exact steps from creating a new Number Sequence to putting it to use in one clean tutorial.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;NOTE: Please bear with me in this tutorial; I am going to break naming convention best practices, so that my example is clearer.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;The first thing you need to do is determine which module you want/need to create the new number sequence for. For this example, I am going create a new number sequence for the “Accounts Receivable” module. Then take the following steps:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: medium;&quot;&gt;Creating a new Number Sequence for the Accounts Receivable Module&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;1&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Create your&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Extended Data Type&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;that will be used in your table as your Number Sequence field. For this example we will create a string based&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Extended Data Type&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;called&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;edt_ComplaintId&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;(with a Label property = “Complaint Report”)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;2&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Next, since we are using the “Accounts Receivable” module, we must modify the proper NumberSeqReference_XXXX Class. Accounts Receivable, actually maps to Customer (or Cust), so we need to make a modification to the&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;NumberSeqReference_Customer&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;class.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;We are only concerned with the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;loadModule()&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;method, and will simply need to add the following code to it:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numRef.dataTypeId = typeId2ExtendedTypeId(typeid(edt_ComplaintId)); numRef.referenceHelp = &quot;Unique key for the Complaint Report&quot;; numRef.wizardContinuous = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numRef.wizardManual = NoYes::No;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numRef.wizardAllowChangeDown = NoYes::No;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numRef.wizardAllowChangeUp = NoYes::No;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numRef.wizardHighest = 999999;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;this.create(numRef);&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;3&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. After compiling and saving your changes, the next step is to use the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Number Sequence Wizard&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;to set it up. Click&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Basic&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Setup&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Number sequences&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Number sequences&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;to open the form where you can manage your Number Sequences.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;4&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Click on the “&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Wizard&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;”&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;button&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;, which then should initialize the wizard.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;NOTE: If you receive an error at this point telling you “The application already has the required number sequences”, this means that you either did not add the definition to an established NumberSeqReference_XXXX Class&#39; (in this example, the NumberSeqReference_Customer Class)&lt;strong&gt;loadModule()&lt;/strong&gt;&amp;nbsp;method, or you have already run the Wizard and set it up.&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;5&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Once you arrive on the Wizard Welcome screen, click the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Next &amp;gt;&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;button&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;6&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. On the following screen, verify that the&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Module&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;is “Accounts receivable” and the&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Reference&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;is “Complaint Report” (which is the label of our&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Extended Data Type&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;). The&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Number Sequence code&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;is just an auto-generated value that you can leave as is (Remember this code, so that you can find it in your list of Number Sequences, because you are going to want to make a couple changes to it). Once you have verified the above, click the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Next &amp;gt;&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;button&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;7&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. The next screen just gives you an overview, click the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Finish&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;button&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;8&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. You should then see your Number Sequence in the list.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;9&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. You will probably want to change the Format to something such as “CR-######”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;10&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. At this point, your Number Sequence is ready for use!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: medium;&quot;&gt;Using the Number Sequence&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;1&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Create a Table and name it&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;tbl_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;2&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Add the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;edt_ComplaintId&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Extended Data Type&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;as one of the fields (drag and drop the&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Extended Data Type&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;directly into the fields of the Table) and name this field ComplaintId.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;3&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Add the following&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Method&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;to the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;tbl_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;static client server NumberSequenceReference numRefComplaintId()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;return NumberSeqReference::findReference(typeId2ExtendedTypeId(typeid(edt_ComplaintId)));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;4&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Create a&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Form&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;called&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;frm_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;5&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Add the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;tbl_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;table to the form’s&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Data Sources&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;, and name the&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Data Source&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;ds_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;6&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Add the following&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Methods&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;to the&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Form&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public class FormRun extends ObjectRun&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;NumberSeqFormHandler numberSeqFormHandler;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;NumberSeqFormHandler numberSeqFormHandler()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if (!numberSeqFormHandler)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;numberSeqFormHandler = NumberSeqFormHandler::newForm(Tmt_CallReport::numRefComplaintId().NumberSequence, element, ds_Complaint.dataSource(), fieldnum(tbl_Complaint, ComplaintId));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;return numberSeqFormHandler;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;7&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Add the following&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Methods&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;to the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;ds_Complaint&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;Data Source&lt;/em&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;blockquote style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public void create(boolean _append = false)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;element.numberSeqFormHandler().formMethodDataSourceCreatePre();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;super(_append);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;element.numberSeqFormHandler().formMethodDataSourceCreate();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public void delete()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;element.numberSeqFormHandler().formMethodDataSourceDelete();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;super();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public void write()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;super();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;element.numberSeqFormHandler().formMethodDataSourceWrite();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #444444;&quot;&gt;&lt;strong style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;8&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;. Your Number Sequence should now function!&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/314978396892271593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/creating-new-number-sequence-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/314978396892271593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/314978396892271593'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/creating-new-number-sequence-for.html' title='Creating a new Number Sequence for an Existing Module in Ax2009, and Putting it to Use!'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-6500984246224369006</id><published>2012-07-17T06:05:00.001-07:00</published><updated>2012-08-09T22:19:15.688-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Find\Filter functionality on display method"/><title type='text'>Adding Find\Filter functionality on Display method</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Override Context method of Form control which is using display method and provide code for filter. E.g I have done below for PhysicalInvent field of InventOnHandItem form.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;void context()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;int selectedMenu;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;real test;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;formrun fr;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Args ag;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Itemname strtext;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;querybuilddataSource qb1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;queryrun qr;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;query q;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;PopupMenu menu = new PopupMenu(element.hWnd());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;int a = menu.insertItem(&#39;Find&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;int b = menu.insertItem(&#39;Filter&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;int c = menu.insertItem(&#39;Remove Filter&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;selectedMenu = menu.draw();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;switch (selectedMenu)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;case -1:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;case a:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;ag = new args(&#39;SysformSearch&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;fr = new formrun(ag);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;fr.run();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;fr.wait();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;strtext = fr.design().controlName(&#39;FindEdit&#39;).valueStr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;if(strtext)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;q = inventSum_Ds.query();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;qb1 =q.dataSourceTable(tablenum(InventSum));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;QB1.addRange(FieldNum(InventSum,PhysicalInvent)).value(SySQuery::value(strtext));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;INVENTSUM_DS.query(Q);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;INVENTSUM_ds.executeQuery();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;case b:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;InventSum_DS.filter(FieldNum(InventSum,PhysicalInvent),Sysquery::value(InventSum.PhysicalInvent()));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;case c :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;InventSum_DS.removeFilter();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Default:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot; /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;}&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/6500984246224369006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/adding-findfilter-functionality-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/6500984246224369006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/6500984246224369006'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/adding-findfilter-functionality-on.html' title='Adding Find\Filter functionality on Display method'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-202993299388026022.post-1099837408559313117</id><published>2012-07-06T21:16:00.000-07:00</published><updated>2012-08-09T22:20:54.389-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ax 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Axapta"/><category scheme="http://www.blogger.com/atom/ns#" term="Number Seq in Ax 2012"/><title type='text'>Number Sequence Creation in Ax 2012 For Existing Module</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Here I want to design a form named FirstForm with DataSource FirstTable&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;I want to create sequence&amp;nbsp; like &quot;AX00001---------AX99999&quot;.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step 1&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Create an EDT - String Type&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
So, I created an EDT named &quot;AXSeqEDT&quot; with label &quot;AX Seq&quot;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Drag into Table(FirstTable)àFields&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step 2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now create a new Number Sequence&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Path for creating num Sequence is&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&quot;Module:: Organization administration.......Common.........Number sequences......Number sequences&quot;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Click on New(Number Sequence)&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now number Sequence form will be opened----That contains 4 sections.&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Section 1.&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Identification&lt;/b&gt;.....Specify the NumberSeqCode and Name&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Section 2.&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Scope Parameters&lt;/b&gt;... Select the Scope from the Dropdown&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Section 3.&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Segments&lt;/b&gt;.... Add the constant and alphanumeric (by clicking the add button and selecting from drop down)&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Section 4 .&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;General&lt;/b&gt;.....Checkmark for continous and Specify the &quot;smallest and largest and Next&quot; Fields&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now Save Ur Settings&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step 3&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now add the Respective manual-code to&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;class&lt;/b&gt;&amp;nbsp;- NumberSeqModule&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;URMODULE&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
And&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Table&lt;/b&gt;&amp;nbsp;-&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;URMODULE&lt;/b&gt;Parameters.&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
So I am creating number sequence based on HRM Module.....So iam using&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;class&lt;/b&gt;&amp;nbsp;NumberSeqModule&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;HRM&lt;/b&gt;&amp;nbsp;and&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Table&lt;/b&gt;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;HRM&lt;/b&gt;Parameters&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now go to AOT---Classes-NumberSeqModuleHRM---loadModule()&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Add the code here...&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Note::Here we can add the code seeing the existing implementation&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
The Added Code is::&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;i style=&quot;margin: 0px; padding: 0px;&quot;&gt;/* setup discussion number sequence - it is global */&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmDatatypeId(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;extendedtypenum&lt;/b&gt;(AXSeqEDT));&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmReferenceHelp(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;literalstr&lt;/b&gt;(&quot;@SYS32633&quot;));&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardIsContinuous(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;true&lt;/b&gt;);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardIsManual(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardIsChangeDownAllowed(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardIsChangeUpAllowed(NoYes::No);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmWizardHighest(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;99999&lt;/b&gt;);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; datatype.parmSortField(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;12&lt;/b&gt;);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.create(datatype);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;Now Goto&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;AOT---Tables---HRMParameters---methods-----click on new method&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;/b&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Add the code In the New method&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Note::Here we can add the code seeing the existing implementation&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
The Added Code is&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;static&lt;/b&gt;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;client&lt;/b&gt;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;server&lt;/b&gt;&amp;nbsp;NumberSequenceReference numRefAXSeqEDT()&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;return&lt;/b&gt;&amp;nbsp;NumberSeqReference::findReference(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;extendedTypeNum&lt;/b&gt;(AXSeqEDT));&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step 4&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
In order to add our newly created number sequence reference to our Module write the following Job and Execute it&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Below job is important to run because without it your new number sequence will not be available to number sequence form under Parameters. This is the change in behavior from AX 2009 where&amp;nbsp;all new number sequence loads while restarting the Dynamic AX. In AX 2012 all the number sequence&amp;nbsp;created to system while installation, so restarting the AOS wont effect in loading the new number sequence, that is why it is important to run the job to load new number sequences.&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
The Code added in The Job is&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;static&lt;/b&gt;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;void&lt;/b&gt;&amp;nbsp;jobName(Args _args)&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeqModuleHRM&amp;nbsp; NumberSeqModuleHRM =&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;new&lt;/b&gt;&amp;nbsp;NumberSeqModuleHRM();&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NumberSeqModuleHRm.load();&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;5&lt;/b&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
After executing the Above Job, our newly created number Sequence reference &quot;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;AX Seq&lt;/b&gt;&quot; will be added to HRM Module----Number sequence setup form&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Lets Check it&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now click on Number Sequence and Identify the newly created Number Seq Reference&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
After Identifying the Number Sequence Reference ----Allot the Number Sequence Code to the Number Sequence Reference.....By selecting from the drop down list&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;6&lt;/b&gt;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now add the Code in Create method of Forms Datasource methods&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Goto-AOT-Forms-FirstForm-Datasources-FirstTable-Methods-Override method(Create)&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;public&lt;/b&gt;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;void&lt;/b&gt;&amp;nbsp;create(&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;boolean&lt;/b&gt;&amp;nbsp;_append =&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;false&lt;/b&gt;)&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;super&lt;/b&gt;(_append);&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstTable.AXSeqEDT = NumberSeq::newGetNum(HRMParameters::numRefAXSeqEDT(),&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;true&lt;/b&gt;).num();&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;Step 7&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
Now save all ur settings.....Now Open our form-FirstForm&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 10px 5px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; margin: 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;ForumPostSignature&quot; style=&quot;border-color: rgb(221, 221, 221); border-style: solid; border-width: 1px 0px 0px; font-size: 11px; margin: 1em 8px 8px; padding: 1em 0px 20px;&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; line-height: 16px; margin: 10px 5px; padding: 0px;&quot;&gt;
Thanks &amp;amp; Regards&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://axaptapiyush.blogspot.com/feeds/1099837408559313117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/number-sequence-creation-in-ax-2012-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1099837408559313117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/202993299388026022/posts/default/1099837408559313117'/><link rel='alternate' type='text/html' href='http://axaptapiyush.blogspot.com/2012/07/number-sequence-creation-in-ax-2012-for.html' title='Number Sequence Creation in Ax 2012 For Existing Module'/><author><name>Piyush Kumar Ojha</name><uri>http://www.blogger.com/profile/10752867330843717769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2rGOSbzclCB8UIFR0CcIn-Kq_VHcGvZ_An4oaBi5x7oTL41HTaGk3yZc53eKWIpOEyOtr9Z63BoiiESd7b2yuw-h6Hwu4Ww5Eip4SXyk6HYJgUB4J7CAXFU6FMMNVJvXwXFy_bPR64L9sxVe0e4aaZkWyKUSOtP8GrV3tQChX2qJjwQ/s1600/IMG_1805.jpg'/></author><thr:total>0</thr:total></entry></feed>