Posts

Add lookup to batch dialog

Image
Add lookup to Batch dialog Step 1: Creating a batch job parameter creates a contract class containing a reference to the UI builder class. Code:  [ DataContractAttribute ,     SysOperationContractProcessingAttribute (ClassStr(Name UI Builder Class))] class  Lok_CustomerPaymentContract {     LedgerJournalNameId     journalName;     [         DataMemberAttribute ,         SysOperationLabelAttribute (literalStr("As per required ")),         SysOperationDisplayOrderAttribute ('1')     ]        public   LedgerJornalNameId    parmJournalName(LedgerJournalNameId   _journalName =           journalName)   {        JournalName = _journalName;        return   journalName;   } } Step 2: Now Create UI Builder Class to customize the paramet...

How to Change report title in SSRS Report in D365 F&O

Image
  How to Change Report Title Based on Condition in SSRS Report in D365 F&O: Step1: Insert a new Text Box in Report Design and write Expression is the given Below: Step2: Add a DP class in Project Write a code:                                                              if (Condition)                 tmpTable.ReportTitle = "Label of title1";                 else                 tmpTable.ReportTitle = "Label of title2";      Note: this condition writes in the process report method or where your tmp table is inserted.

How to creating a new Project, Package, and Model in D365 F&O

Image
                   Creating a New Project Project  an element can be customized only once they are added to a specific Visual Studio project. The project may only belong to one model.  Model is a group of the element. Standard elements are part of a standard model; You can add them to your model and do customization. A model is a design-time concept. Package is a deployment and compilation unit of one or more models. It includes model metadata, binaries, cubes, and other associated resources. One or more D365 packages can be packaged into a deployment package, the vehicle used for deployment on UAT and production environments. Created a new project 1. Open Visual Studio as admin. 2. On the File menu, point to New, and then click Project. 3. In the list of Templeted types, expand the Installed node. 4. Select the Finance and Operation category. Enter the name of a project and solution name.