Formdaki bir alanın değerini başka forma aktarmak.

Merhaba

Formdan başka bir form açtırıyorsunuz açılan forma diğer formdaki herhangi bir alanın değerini göndermek isterseniz parm kullanabilirsiniz.

Örneğin, 

void clicked()
{

Türkiye’ye Hintli Bilişimci Göçü ve Akbank

TÜİK’e göre, % 20,6 Bilişimcinin işsiz olduğu ülkemizde, Akbank gibi büyük bir bankanın projelerini Hint’li bilişimcilerle yürütmesinin sonuçları ne olabilir [1]? Bu durumda Ulaştırma Bakanı Binali Yıldırım’ın 2023 için düşündüğü 160 milyar $’lık yazılım ihracatı hedefine nasıl ulaşabiliriz ki 

 Akbank’ın Genel Müdür Yardımcısı ve aynı zamanda CIO’su Alpaslan Özlü, 2010 yılındaki öncelikli hedeflerinin, bankanın tüm IT altyapısının Hindistan üzerinden “offshore outsourcing” edilerek yürütüleceği olduğu ifade etmekte.

 2009 yılında, bir önceki yıla göre %60 oranında bir artışla kar’ı 2.7 Milyar liraya ulaşan Akbank’ın, ülkemizdeki işsizlik sorununa ve bilişimci işsizliğinin yüksek olmasına karşın, sürdürdüğü yeni stratejisi ile bilişim işlerinde yüksek sayılarda yabancı insan kaynağı çalıştırmakta olduğu ve bu sayıyı sürekli olarak artıracak yeni planlamalar yaptığı görülüyor.

Read more

Bir Fetch Metodu Örneği

Merhaba

Kısa bir süre önce yaptığım bir raporda kullandığım fetch() metodunu örnek olsun diye paylaşıyorum.

Datasource olarak

TaxReportJournal ve inner join ile bağlı  TaxReportJournalLine bulunmakta ayrıca Voucher ve transdate e göre group by alınaktadır.

public boolean fetch()
{

Read more

Debugger

Debugger is one of the most important tools when programming in AX. This appendix is written as a
quick guide on how to use the debugger.
The debugger is installed as a separate application and can be opened directly
from Windows or you can open it from AX. There are two ways of opening the
debugger in AX. You can open it before you start executing whatever you would
like to debug by pressing the Microsoft Dynamics AX button (Alt + M) and then
navigate to Tools | Development Tools | Debugger.
The debugger is also started automatically when the code execution hits a breakpoint.
If you are trying to debug code that is executed through the .NET Business Connector
there are certain steps you have to follow.

Read more

Update_recordset

The update_recordset operator can be used to update a chunk of records in
a table in one database operation. As with the insert_recordset operator
the update_recordset is very efficient because it only needs to call an update in
the database once.
The syntax for the update_recordset operator can be seen in the next example:

Read more

Reading Excel files

Reading Excel files is another side of Excel file manipulation. It is equally important as file
creation. Usage could vary from importing simple data to processing user-filled files like
timesheets, purchase orders, etc.
In this recipe, we will use the file created in the previous recipe. We will read customer data
using SysExcel classes and will show it on the screen.
How to do it…

Read more

Creating Excel files

Microsoft Office Excel format is one of the formats that have been supported by Dynamics AX
since its early versions. For example, the Document handling feature allows producing Excel
files using the data from the system. In the new version of Dynamics AX, i.e. Dynamics AX
2009, this feature is extended even more. Now almost every form has a button called Export
to Excel, which quickly allows loading form data into Excel for further analysis using powerful
Excel tools.
Microsoft Office Excel format handling is done with the help of standard Dynamics AX
application classes prefixed with SysExcel. Basically, those classes are Excel COM wrappers
plus they contain additional helper methods to ease the developer’s tasks.
To demonstrate the principle in this recipe, we will create a new Excel file and fill it with a
customer list. This technique could be used to export any business data in a similar way.
How to do it…

Read more

Coloring records

The possibility to color individual records is one Dynamics AX feature that can improve user experience. Normally, people like to see a reasonable number of colors in the interface they use. This makes their daily tasks not so boring. One of the common requests is to emphasize the importance of disabled records, for example, terminated employees or stopped customers by displaying their records in a different color, normally red. An opposite example could be to show processed records like posted journals or invoices sales orders, let’s say in green. In this recipe, we will color locked-in-journal accounts in the Chart of accounts form.

How to do it…

Read more

Processing multiple records

In my practice, I was asked a number of times to create various application functions that
process user-selected records in a form grid. Regardless of what function is being created, the
first step was always to determine what records were selected by the user.
In this recipe, we explore several ways of achieving this goal. We will modify the Items form
in the Inventory management module by adding a new button to it, which lists currently
selected records in the overview grid.
How to do it…

Read more

Adding a “Go to the Main Table Form” link

Go to the Main Table Form is a feature of Dynamics AX, which allows users to jump to the
main record just by right-clicking on the field and selecting the Go to the Main Table Form
option. It is based on table relations and is available for those controls whose data fields have
foreign key relationships with other tables.
Because of the data structure integrity, this feature works most of the time. However, when it
comes to complex table relations, it does not work correctly or does not work at all. Another
example of when this feature does not work automatically is when the form control is not bound
to a table field. In such situations, Go to the Main Table Form has to be implemented manually.
In this recipe, to demonstrate how it works, we will modify the Business relations form in the
CRM module to make sure that the Employee filter at the top of the form allows users to use
the Go to the Main Table Form feature from the context menu.
How to do it…

Read more