Arquivo

Textos com Etiquetas ‘dynamics ax’

Criando Classes, melhores práticas!

14, junho, 2010 Sem comentários

Boa noite galera,

Estava fuçando os blogs de AX e encontrei um post bem interessante falando sobre boas práticas ao se criar classes no DAX.

Não vou traduzir aqui pra vocês porque o post é um pouco extenso, mas tenho certeza que vale muito a pena dar uma olhada:
www.artofcreation.be

Por hoje é isso pessoal, desculpem a falta de atualização no blog, em breve colocarei posts bem interessantes.

Abraço,
Peterson Ferreira

Categories: X++ Tags: ,

Vídoes Dynamics AX (Vimeo)

23, abril, 2010 3 comentários

Fala pessoal beleza?

Abaixo segue alguns vídeos que encontrei bem interessantes:
Vídeos tagged ‘dynamicsax’

Abrs,
Peterson Ferreira

Categories: Diversos Tags: ,

Exercícios Funcionais (for dummies) – Dynamics AX 2009

19, abril, 2010 Sem comentários

Fala pessoal beleza?

Estava navegando na net, e achei um site bem interessante!
Um mini-treinamento funcional, isso mesmo, mostra algumas tarefas básicas funcionais (vários módulos), ideais para nós desenvolvedores que muitas vezes deixamos o “funcional” um pouco de lado, mas como todos sabemos não conseguimos viver sem ele!!

Segue abaixo o link:
http://www.sunriseconsult.com/FunctionalDemos.aspx

PS: Ja vou avisando estudar funcional, não é igual X++ (é meio chatinho confesso).

Abrs,
Peterson Ferreira

Categories: Funcional Tags: ,

Utilitário de Preenchimento

17, abril, 2010 Sem comentários

Boa tarde pessoal…

Hoje vou postar aqui sobre uma ferramente muito legal que o Dynamics AX 2009 possui e meu amigo Paulo Sergio me mostrou, que se chama “Utilitário de Preenchimento.”
Agora todo munde deve estar se perguntando oque é isso ou pra que serve isso ?

O que é?
É uma ferramenta que o AX 2009 possui para fazer carga na base de dados em massa.

Pra que server?
É bem simples, sabe aqueles “jobs” que todos nós fazemos para preencher um determinado campo com o mesmo valor? Utilizando o utilitário de preenchimento podemos fazer isso com apenas alguns cliques.

Como utilizar?
Para ativar o utilitário é bem simples vá em Administração> Configurações> Sistema> Configuração.
Depois disso procure o módulo Administração e Habilite o checkbox “Utilitário de Preenchmento”.

Feito isso basta clicar com o botão direito em qualquer campo do AX 2009, selecionar a opção “Utilitário de Preenchimento” e seguir o passo a passo.

PS: Não vou colocar hoje aqui como funciona pois achei bem simples de utilizar, caso alguém tenha dificuldades em utilizar só postar ou mandar email que coloco um tutorial.

Abrs,
Peterson Ferreira

FELIZ ANO NOVO!

3, janeiro, 2010 Sem comentários

Olá pessoal,

Desejo a todos um próspero ANO NOVO, muita saúde, dinheiro!!
E vamos todos juntos nesse ano aprender mais e mais sobre o gigantesco mundo que é o AX!!

E QUE VENHAM OS DESAFIOS!

[]‘s,

Peterson Ferreira

Categories: Diversos Tags:

How Do I – Videos

4, outubro, 2009 1 comentário

Fala galera…
Vou colocar aqui o link dos vídeos que a Microsoft está publicando, os famosos “How do I”.

Forms Series
This how-to video series is focused on forms and their features in Microsoft Dynamics AX.

-How Do I: Link Parent and Child Forms by Using Dynamic Links?
Dynamics AX developers will learn how to create a child form that automatically refreshes when the parent form changes.

Enterprise Portal Series
This how-to video series is focused on Enterprise Portal and its features in MicrosoftDynamics AX.

-How Do I: Use Record Context in Enterprise Portal?
Microsoft Dynamics AX developers will learn how to use record context in Enterprise Portal. Record context is used to pass currently selected record information on a page or Web part to another page or connected Web part.

-How Do I: Create a Simple List Page in Enterprise Portal?
Microsoft Dynamics AX developers will learn how to create a simple list page in Enterprise Portal by using the AxGridView control.

-How Do I: Create a Simple Task Page in Enterprise Portal?
Microsoft Dynamics AX developers will learn how to create a simple task page in Enterprise Portal by using the AxForm control.

-How Do I: Create a Simple Wizard Page in Enterprise Portal?
Microsoft Dynamics AX developers will learn how to create a simple wizard (tunnel) page in Enterprise Portal using the ASP.NET Wizard control and the Enterprise Portal AxForm control.

-How Do I: Call an X++ Class From an EP User Control?
Microsoft Dynamics AX developers will learn how to call an X++ class from an Enterprise Portal user control written in C#. This video shows you how to create an X++ class, create a C# proxy for this class, and then call it from an Enterprise Portal user control written in C#.

-How Do I: Add a Range to a Dataset in an EP List Page?
Microsoft Dynamics AX developers will learn how to add a range to a dataset and restrict the data displayed in an Enterprise Portal list page. You’ll also learn how to use table display and edit methods.

-Enterprise Portal Deployment Webinar
Administrators and developers will learn how the EP deployment process works and advanced EP configuration settings. This recorded session provides deep insight into the EP deployment process, what goes on behind the scenes during EP setup, and some key points on deploying and setting up EP.

-Enterprise Portal Development Webinar
This video is a developer-oriented, deep-dive technical session about Enterprise Portal (EP) for Microsoft Dynamics AX 2009. Developers will learn how to build and customize EP pages and user controls for lists, tasks, and wizards. The video also covers using SilverLight in EP.

-How Do I: Set Up EP in an NLB Cluster?
This video is a developer-oriented, deep-dive technical session about Enterprise Portal (EP) for Microsoft Dynamics AX 2009. Developers will learn how to build and customize EP pages and user controls for lists, tasks, and wizards. The video also covers using SilverLight in EP.

User Interface Series
This how-to video series is focused on user interface features in Microsoft Dynamics AX.

-How Do I: Navigate the Client User Interface?
This video is a developer-oriented, deep-dive technical session about Enterprise Portal (EP) for Microsoft Dynamics AX 2009. Developers will learn how to build and customize EP pages and user controls for lists, tasks, and wizards. The video also covers using SilverLight in EP.

Integration Series
This how-to video series is focused on development features that enable integration with Microsoft Dynamics AX including Application Integration Framework (AIF) and Business Connector.

-How Do I: Create a Custom AIF Pipeline Component?
Microsoft Dynamics AX developers will learn how to create a custom pipeline component that is called when a service operation is called on a document service. You can create a custom pipeline component if the value substitution or the XML transformation pipeline components that are included with Microsoft Dynamics AX don’t meet your requirements.

-How Do I: Integrate an Application Using .NET Business Connector?
Microsoft Dynamics AX developers will learn how to create a custom pipeline component that is called when a service operation is called on a document service. You can create a custom pipeline component if the value substitution or the XML transformation pipeline components that are included with Microsoft Dynamics AX don’t meet your requirements.

-How Do I: Send the Chart of Accounts Electronically?
Administrators and developers will learn how to create an AIF endpoint and configure the chart of accounts so that it can be sent from Microsoft Dynamics AX. This video uses the file system adapter to send the chart of accounts as a text file.

Database Series
This how-to video series is focused on the database features in Microsoft Dynamics AX.

-How Do I: Use X++ SQL Select Statements?
Developers will learn how to use X++ SQL select statements and how they compare to ANSI SQL select statements.

Reporting Series
This how-to video series is focused on reporting features in Microsoft Dynamics AX.

-How Do I: Create a Report Using MorphX?
Developers will learn how to create a report using the MorphX reporting tools.

-How Do I: Troubleshoot Role Center Reporting Errors?
Learn how to troubleshoot Role Center report errors. This video shows you how to find the related report and investigate an SSRS/SSAS report using Visual Studio, how to check the query in SQL Server Management Studio, and how to find the related code inside Microsoft Dynamics AX 2009.

-How Do I: Debug Microsoft Dynamics AX SSRS Reports with Visual Studio 2008?
This video shows you how to debug Microsoft Dynamics AX 2009 SSRS reports by using Visual Studio 2008.

Miscellaneous Series
This how-to series contains videos about various features in Microsoft Dynamics AX and related content.

-How Do I: Navigate the Developer Center?
Learn about the tools and resources available for developers on the MSDN Microsoft Dynamics AX Developer Center.

-How Do I: Apply a Hotfix to an Installation?
Developers and IT professionals will learn about the patching strategy and how to apply an application hotfix to a Microsoft Dynamics AX installation.

Conforme a Microsoft for postando outros vídeos eu irei atualizar este post mesmo ! Intão fiquem atentos!
Espero ter ajudado a todos…COMENTEM!

fonte: http://msdn.microsoft.com/pt-br/dynamics/ax/cc507280%28en-us%29.aspx

Filtrar Datasource de um Formulário

30, setembro, 2009 4 comentários

Fala galera…
Vamos a mais post espero que todos vocês gostem.
Eu e uma amigo no trampo precisamos filtrar o datasource de um formulário ou seja adicionar ranges.
Bem simples…

Você pode alterar o código para a sua necessidade…vamos lá…

O código abaixo coloca dois filtros em um formulário.

Sobscreva o método INIT do formulário desejado. E utilize o código abaixo conforme a sua necessidade.

1
2
3
4
5
6
7
8
//Inicio <DynamicsAxBR>
public void init()
{
    ;
    super();
    DataSourcedoFormulario_ds.query().dataSourceTable(tablenum(DataSourcedoFormulario)).addRange(fieldNum(DataSourcedoFormulario, SeuCampo)).value("Valor que será o range");
}
//Fim <DynamicsAxBR>

Este método pode ser bastante útil quando é necessário que o mesmo formulário seja chamado de lugares diferentes e que passam valores diferentes.

Espero ter ajudado a todos, e até a próxima !!
COMENTEM !!!

Categories: X++ Tags: , , ,

Classes .NET no Dynamics AX 2009

29, setembro, 2009 Sem comentários

Olá, primeiro post no BLOG espero que todos gostem !!
Vamos lá…

Hoje estava no trampo e um brother lembrou de uma função interessante no AX e gostaria de compartilhar com vocês ! A possibilidade de chamar classes do .NET dentro do AX.

Segue exemplo de um JOB para teste:

1
2
3
4
5
6
7
8
9
10
//Inicio <DynamicsAxBR>
static void ExemploPlaySound(Args _args)
{
    System.Media.SoundPlayer myPlayer;
    ;
    myPlayer = new System.Media.SoundPlayer();
    myPlayer.set_SoundLocation("c:\\ringin.wav");
    myPlayer.Play();
}
//Fim <DynamicsAxBR>

Vale lembrar que na IDE do AX 2009, colocando System. já é possível utilizar o auto-complemento.
No AX 4, se me lembro bem, não tem o auto-complemento mas o mesmo aceita as classes sem problemas.

Dica: Utilizando esta funcionalidade o AX disponibiliza diversas funcionalidades de forma muito simples…
Imaginem uma automação via USB, ou disparar algo Wirelles, entre outras coisas…

Comentem…até a próxima…

Categories: X++ Tags: , ,