In this simple example I’ll show how add a Table display method as a field of a custom lookup field
Below are the steps to be followed : Create new Design for Report under visual studio Add code to method:\Data Dictionary\Tables\PrintMgmtReportFormat\Methods\populateAdd code before TTSCOMMIT:addOther(PrintMgmtDocumentType::PurchaseOrderInvoice, ssrsReportStr(VendInvoiceDocument, MyReport), ssrsReportStr(VendInvoiceDocument, MyReport), #NoCountryRegionId); Choose you new format under:AP -> setup -> form setup -> Print management -> Vendor invoice -> report format to VendInvoiceDocument.MyReport New Report design can be … Continue reading AX / D365FO – Add a custom report design under Print management in AX 2012 →
I have a company logo in my report I have a scenario in which a company logo should change according to the company in which I run. How to do that? It is very easy to add the logo. Go to Organization administration > setup > Organization > Legal entities Here you will have Company … Continue reading AX / D365FO – Add/Change company logo →
If you want to allow edit only some fields on the form grid control this is an example that shows hot to reach this goal. 1. Create a Form method as below 2. Call the above method from the form Data source Active method after Super() as below
In this example I want to call a menu item every time a Data source record is deleted
AX / D365FO – Export Data Entity Enum fields labels in BYOD using Computed columns or Virtual fields
When you export a Data Entity in BYOD the base enums fields values are shown as integer values. This is a big problem because it’s very difficult to understrand the real value of the field. To solve this issue you can extend the standard data entity or modify a custom one using a virtual field … Continue reading AX / D365FO – Export Data Entity Enum fields labels in BYOD using Computed columns or Virtual fields →
If you need to extract invoices and related payment voucher numbers you can use 2 Data entities : “Customer payment journal line” or alternatively use “Customer payment journal line settled invoice” Access Data management > Export “Customer payment journal line” Data Entity Select “Customer payment journal line” Click “Export now” When completed click on “Download … Continue reading AX / D365FO – Data Entity to extract Invoices and related Payment vouchers →
Below code shows how to get buffer from form data source field event handler(modified field) and update values as per the requirement
Something went wrong. Please refresh the page and/or try again.
Segui il mio blog
Ottieni i nuovi contenuti, spediti direttamente nella tua casella di posta.