Posts

Showing posts from November, 2022

Post Po invoice In D 365 Fo using x++

 Today we i will show how to post the purchase order Invoice using x++ in D365 FO /// <summary>     /// This method helps to post the invoice journal journal for the purchase order.     /// </summary>     /// <param name = "_vendaccount">The <c>vendaccount</c> Vendor account num.</param>     /// <param name = "_invoiceNum">he <c>invoiceNum</c> invoice  num.</param>     /// <param name = "_invoiceDate">he <c>invoiceDate</c> Invoice Date.</param>     /// <returns> the parm id created after the invoice posted</returns>     private parmId ngPostInvoice(VendAccount _vendaccount, IGPS_ExcelValueStr _invoiceNum, Transdate _invoiceDate)     {         //post invoice for all matched purchase lines         PurchFormLetter_Invoice purchFormLetter;         Q...

how to generate a CAR Report for your model in d 365 fo

Image
  This article describes how to generate a CA Report for your model. It also describes some best practice rules that are included in the report and provides suggestions for fixing errors and warnings that are associated with these rules. What is the Customization Analysis Report? The Customization Analysis Report is a tool that analyzes your customization and extension models, and runs a predefined set of best practice rules. The report is one of the requirements of the solution certification process. The report is in the form of a Microsoft Excel workbook. How to generate CA report Step 1: Run the command prompt as an administrator Step 2: Go to your AOSService folder. You can either find it in C or K drive in your VM. The xppbp.exe tool is located in c:\packages\bin or I:\AosService\PackagesLocalDirectory\bin. Once you found your AosService folder then you can replace it with the below command. Standard syntax xppbp.exe -metadata=<local packages folder> -all -model=<Mode...

Get the vendor Name Create Computed coloum in data entity

 private static str getVendorNameSql()     {         str getVendorNameSql = strFmt(@" select Name from DirPartyTable             JOIN VendTable on DirPartyTable.recid = VendTable.Party             WHERE VendTable.AccountNum = %1",             SysComputedColumn::returnField(tableStr(IGPS_PurchOrderAccrualEntity), dataEntityDataSourceStr(IGPS_PurchOrderAccrualEntity, IGPS_PurchOrderAccrual), fieldStr(IGPS_PurchOrderAccrual, VendAccount)));         return getVendorNameSql;     }