<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Okashasameer on Medium]]></title>
        <description><![CDATA[Stories by Okashasameer on Medium]]></description>
        <link>https://medium.com/@okashasameer0?source=rss-0fbe2b1da622------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AsvKP6XmYXtg8gUp</url>
            <title>Stories by Okashasameer on Medium</title>
            <link>https://medium.com/@okashasameer0?source=rss-0fbe2b1da622------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:05:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@okashasameer0/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Vendor Transaction Report in D365FO]]></title>
            <link>https://medium.com/@okashasameer0/building-a-vendor-transaction-report-in-d365fo-73f5138875aa?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/73f5138875aa</guid>
            <category><![CDATA[ssrs-reports]]></category>
            <category><![CDATA[d365-fo]]></category>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 15:31:31 GMT</pubDate>
            <atom:updated>2026-09-07T15:31:31.010Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I developed a custom SSRS report in Microsoft Dynamics 365 Finance &amp; Operations to display vendor transaction history with date range and vendor account filtering.</p><p>The report pulls transaction data from VendTrans joined with VendTable, giving users a consolidated view of vendor invoices, vouchers, and posted amounts within a selected date range.</p><p>Key features:</p><ul><li>From Date / To Date filtering</li><li>Vendor Account-based filtering</li><li>Invoice and Voucher details</li><li>Posting Date and Amount per transaction</li><li>Currency information</li><li>Runs interactively or in the background (batch)</li></ul><p>Technical implementation:</p><ul><li>X++</li><li>SSRS Reporting</li><li>Data Provider (DP) Class extending SrsReportDataProviderPreProcessTempDB</li><li>TempDB Table (VendTransactionTmp) — AccountNum, VendorName, Invoice, Voucher, PostingDate, Currency, Amount</li><li>TempDB Table (VendTransactionTmp)</li><li>DataContract class with SysOperationLabel-based parameters</li><li>Report Controller (SrsReportRunController)</li></ul><p>This project strengthened my understanding of building report parameter contracts and controlling report UI behavior (e.g., enabling “Render Parameters” to expose contract fields on the report dialog).</p><h3>Code:</h3><pre>while select vendTrans<br>    where ((!fromDate || vendTrans.TransDate &gt;= fromDate) &amp;&amp;<br>           (!toDate || vendTrans.TransDate &lt;= toDate) &amp;&amp;<br>           (!vendorAccount || vendTrans.AccountNum == vendorAccount))<br>    join vendTable<br>        where vendTable.AccountNum == vendTrans.AccountNum<br>{<br>    vendTransactionTmp.clear();<br>    vendTransactionTmp.AccountNum  = vendTable.AccountNum;<br>    vendTransactionTmp.VendorName  = vendTable.name();<br>    vendTransactionTmp.Invoice     = vendTrans.Invoice;<br>    vendTransactionTmp.Voucher     = vendTrans.Voucher;<br>    vendTransactionTmp.PostingDate = vendTrans.TransDate;<br>    vendTransactionTmp.Currency    = vendTrans.CurrencyCode;<br>    vendTransactionTmp.Amount      = vendTrans.AmountCur;<br>    vendTransactionTmp.insert();<br>}</pre><h3>Report View:</h3><p>Render Parameters = “True”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/0*krNF2p2vQHYWrJ3E" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*LoR_Q7OWnPSc0Mv5" /><figcaption>Report parameters dialog</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NGb991UCc2bjbSpz" /><figcaption>Output</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73f5138875aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Number Sequences in D365 F&O]]></title>
            <link>https://medium.com/@okashasameer0/exploring-number-sequences-in-d365-f-o-faa6299904a2?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/faa6299904a2</guid>
            <category><![CDATA[d365-number-sequence]]></category>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 15:27:25 GMT</pubDate>
            <atom:updated>2026-09-07T15:27:25.414Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my D365 Finance &amp; Operations learning journey, I explored Number Sequences in X++ and created a custom Number Sequence through code for a custom Extended Data Type (EDT).</p><p>In this project, I created a custom Number Sequence for Student ID in Microsoft Dynamics 365 Finance &amp; Operations (D365 F&amp;O) using X++. The objective was to generate unique Student IDs automatically for the StudentTable using a custom StudentId Extended Data Type (EDT).</p><h3>Technologies Used</h3><ul><li>Microsoft Dynamics 365 Finance &amp; Operations</li><li>X++</li><li>Visual Studio</li><li>Extended Data Type (EDT)</li><li>Number Sequence Framework</li><li>NumberSeqApplicationModule</li><li>Runnable Class</li></ul><h3>Project Overview</h3><p>The requirement was to create a Number Sequence on the Student ID data type and generate that Number Sequence through code.</p><p>For this project, I used StudentTable, where StudentId is a custom Extended Data Type.</p><p>D365 F&amp;O provides different ways to configure Number Sequences. For this exercise, I implemented the code-based approach.</p><p>I created two classes:</p><ul><li>StudentIdNumSeq — Extends NumberSeqApplicationModule and defines the Number Sequence configuration for the StudentId EDT.</li><li>LoadStudentIdNumSeq — A runnable class used to load and register the Number Sequence through code.</li></ul><h3>Conclusion</h3><p>This project helped me understand how to create and register Number Sequences programmatically in Microsoft Dynamics 365 Finance &amp; Operations.</p><p>I gained hands-on experience with the Number Sequence framework, NumberSeqApplicationModule, custom Extended Data Types, delegates, and runnable classes in X++.</p><p>This was a useful practical exercise for understanding how automatic ID generation can be implemented for custom tables and fields in D365 F&amp;O.</p><p>#MicrosoftDynamics365 #D365FO #Dynamics365 #XPlusPlus #Xpp #NumberSequence #D365Development #FinanceAndOperations #ERP #SoftwareDevelopment</p><h3>Code:</h3><pre>Code — StudentIdNumSeq</pre><pre>public class StudentIdNumSeq extends NumberSeqApplicationModule<br>{<br>    protected void loadModule()<br>    {<br>        NumberSeqDatatype datatype = NumberSeqDatatype::construct();</pre><pre>        datatype.parmDatatypeId(extendedTypeNum(studentId));<br>        datatype.parmReferenceHelp(<br>            literalStr(&quot;Unique key used for the Students.&quot;)<br>        );<br>        datatype.parmWizardIsContinuous(false);<br>        datatype.parmWizardIsManual(NoYes::No);<br>        datatype.parmWizardFetchAheadQty(10);<br>        datatype.parmSortField(1);</pre><pre>        datatype.addParameterType(<br>            NumberSeqParameterType::DataArea,<br>            true,<br>            false<br>        );</pre><pre>        this.create(datatype);<br>    }</pre><pre>    public NumberSeqModule numberSeqModule()<br>    {<br>        return NumberSeqModule::Cust;<br>    }</pre><pre>    [SubscribesTo(<br>        classstr(NumberSeqGlobal),<br>        delegatestr(NumberSeqGlobal, buildModulesMapDelegate)<br>    )]<br>    static void buildModulesMapSubscriber(<br>        Map numberSeqModuleNamesMap)<br>    {<br>        NumberSeqGlobal::addModuleToMap(<br>            classnum(StudentIdNumSeq),<br>            numberSeqModuleNamesMap<br>        );<br>    }<br>}<br>------------------------------------------------------------------<br>Code — LoadStudentIdNumSeq</pre><pre>class LoadStudentIdNumSeq<br>{<br>    public static void main(Args _args)<br>    {<br>        StudentIdNumSeq studentIdNumSeq = new StudentIdNumSeq();<br>        studentIdNumSeq.load();<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/0*zt2nW0D0e-weIsnQ" /><figcaption>output</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faa6299904a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving SSRS Report Design for Better Readability]]></title>
            <link>https://medium.com/@okashasameer0/improving-ssrs-report-design-for-better-readability-e018873e3db1?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/e018873e3db1</guid>
            <category><![CDATA[xpp]]></category>
            <category><![CDATA[reports-in-d365]]></category>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Thu, 03 Sep 2026 14:42:10 GMT</pubDate>
            <atom:updated>2026-09-03T14:42:10.395Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, I worked on enhancing an SSRS report in D365 Finance &amp; Operations.</p><p><strong>What I implemented:</strong></p><ul><li>Created a temporary table named CustTmp.</li><li>Created a Data Contract class and a Data Provider (DP) class.</li><li>Created a new Auto Design for the report.</li><li>Added a Table under the Auto Design.</li><li>Applied the TableStyleAlternatingRowsTemplate style template to improve readability with alternating row colors.</li><li>Added and mapped Customer Account, Currency, and Customer Group fields from CustTable.</li><li>Used the Data Provider (DP) class to populate data into the CustTmp temporary table.</li><li>Organized the report layout to make it cleaner, more structured, and easier to read.</li></ul><p>Every improvement in report design helps create a more user-friendly experience while strengthening my practical knowledge of X++, SSRS, and Microsoft Dynamics 365 Finance &amp; Operations.</p><p><strong>CODE:</strong></p><pre>while select AccountNum, Currency, CustGroup<br>    from custTable<br>{<br>    custTmp.clear();<br><br>    custTmp.AccountNumber = custTable.AccountNum;<br>    custTmp.Currency      = custTable.Currency;<br>    custTmp.CustGroup     = custTable.CustGroup;<br><br>    custTmp.insert();<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HXH2-JZRA1Pqmh4s" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/0*iiH2UY5tFsyhrd_M" /></figure><p><strong>Final Output</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e018873e3db1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Custom Inventory Report in D365FO]]></title>
            <link>https://medium.com/@okashasameer0/building-a-custom-inventory-report-in-d365fo-b2d97bc784a2?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2d97bc784a2</guid>
            <category><![CDATA[reports-in-d365]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 00:21:30 GMT</pubDate>
            <atom:updated>2026-08-06T00:21:30.878Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I developed a custom SSRS report in Microsoft Dynamics 365 Finance &amp; Operations with Item Number-based filtering.</p><p>The report consolidates inventory information from multiple tables and provides users with a single view of inventory and replenishment details.</p><p><strong>Key features:</strong></p><ul><li>• Item Number-based filtering</li><li>• On-hand inventory information</li><li>• Physical inventory details</li><li>• Minimum and Maximum inventory values from ReqItemTable</li><li>• Fixed warehouse location information</li><li>• Replenishment minimum and maximum quantities</li><li>• Batch and License Plate details</li><li>• Site and Warehouse information</li></ul><p><strong>Technical implementation:</strong></p><ul><li>• X++</li><li>• SSRS Reporting</li><li>• Data Provider (DP) Class</li><li>• TempDB Table</li><li>• QueryRun and Map collections</li><li>This project improved my understanding of D365FO reporting and inventory management processes.</li></ul><p><strong>Code:</strong></p><pre>contract = this.parmDataContract() as CustomInventOnHandContract;<br><br>filterItem = contract.parmItemId();<br><br>while select inventSum<br><br>where inventSum.Closed == NoYes::No &amp;&amp; (filterItem == &#39;&#39; || inventSum.ItemId == filterItem)<br><br>{<br><br>customInventmp.Minimum = reqItemTable.MinInventOnhand;<br><br>customInventmp.Maximum = reqItemTable.MaxInventOnhand;<br><br>customInventmp.FixedLocation = fixedLocation.WMSLocationId;<br><br>if (replenishMap.exists(inventSum.ItemId))<br><br>{<br><br>container c = replenishMap.lookup(inventSum.ItemId);<br><br>customInventmp.ReplenishmentMinimum = conPeek(c, 1);<br><br>customInventmp.ReplenishmentMaximum = conPeek(c, 2);<br><br>}<br><br>customInventmp.insert();<br><br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/0*79nhmKlIC5hz-qOd" /></figure><p>Filtering on itemId</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DJnG2jhcJkXMTTWt" /></figure><p>output</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2d97bc784a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Custom Vendor List Form in Microsoft Dynamics 365 Finance & Operations (D365 F&O)]]></title>
            <link>https://medium.com/@okashasameer0/building-a-custom-vendor-list-form-in-microsoft-dynamics-365-finance-operations-d365-f-o-f2a36649bde1?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2a36649bde1</guid>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 00:18:08 GMT</pubDate>
            <atom:updated>2026-08-06T00:18:08.607Z</atom:updated>
            <content:encoded><![CDATA[<p>In this project, I developed a custom Vendor List Form in Microsoft Dynamics 365 Finance &amp; Operations (D365 F&amp;O) using X++. The objective was to create a user-friendly form that allows users to quickly filter vendors based on currency and navigate directly to the standard Vendor form.</p><h3>Technologies Used</h3><ul><li>Microsoft Dynamics 365 Finance &amp; Operations</li><li>X++</li><li>Visual Studio</li><li>Form Pattern: Simple List</li><li>Menu Item Buttons</li><li>Table Extension</li><li>QueryBuildDataSource &amp; QueryBuildRange</li></ul><h3>Project Overview</h3><p>The form is based on the Simple List pattern and uses VendTable and VendTrans as its primary data source. VendTrans is joined to display invoice-related information in the grid.To display additional information, I created a VendTable extension and added custom fields, which are displayed alongside the standard vendor information.</p><p>The form provides quick filtering options through menu item buttons, making vendor navigation much faster.</p><h3>Form Design</h3><p>The form contains:</p><ul><li>VendTable as the datasource</li><li>Simple List form pattern</li><li>Grid displaying vendor information</li><li>Custom fields from the VendTable extension</li><li>Button group containing: USD Vendors, All Vendors, Other Vendors, Open Vendor Form</li></ul><p>The grid displays information such as:</p><ul><li>Vendor Account</li><li>Created Date &amp; Time</li><li>Credit Rating</li><li>Currency</li><li>Invoice</li></ul><h3>Default Behaviour</h3><p>When the form is opened from the dashboard or menu item, it initially displays all vendor records.</p><p>The user can then use the available buttons to filter or navigate through vendor records without opening multiple forms.</p><h3>Features Implemented</h3><ul><li>USD Vendors: Displays only vendors whose currency is USD.</li><li>Other Vendors: Displays vendors with currencies other than USD.</li><li>All Vendors: Clears applied filters and displays all vendor records.</li><li>Open Vendor Form: Opens the standard Vendor Details form for the selected vendor using a Display Menu Item.</li></ul><h3>Conclusion</h3><p>This project helped me understand how to build custom forms in Microsoft Dynamics 365 Finance &amp; Operations using X++. I gained hands-on experience with the Simple List form pattern, dynamic filtering using QueryBuildDataSource and QueryBuildRange, table extensions, and navigation to standard forms through Display Menu Items.</p><p>#MicrosoftDynamics365 #D365FO #Dynamics365 #XPlusPlus #Xpp #FormDevelopment #D365Development #FinanceAndOperations #ERP #SoftwareDevelopment</p><h3>Code:</h3><pre>public void applyVendorFilters()<br>{<br>    QueryBuildDataSource qbds;<br>    QueryBuildRange range;</pre><pre>    qbds = VendTable_ds.query().dataSourceTable(tableNum(VendTable));</pre><pre>    if (qbds)<br>    {<br>        // USD Vendors<br>        qbds.clearRanges();<br>        qbds.addRange(fieldNum(VendTable, Currency)).value(queryValue(&quot;USD&quot;));<br>        VendTable_ds.executeQuery();</pre><pre>        // Other Vendors<br>        qbds.clearRanges();<br>        qbds.addRange(fieldNum(VendTable, Currency)).value(strFmt(&quot;!%1&quot;, queryValue(&quot;USD&quot;)));<br>        VendTable_ds.executeQuery();</pre><pre>        // All Vendors<br>        qbds.clearRanges();<br>        VendTable_ds.executeQuery();<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PBGbjD-KFyjgW5xh" /></figure><p>All Vendors</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/0*HgMCHG5DH0PHZSrR" /></figure><p>USD Vendors</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/0*8d8VqchEoNlKHPRw" /></figure><p>Non-USD Vendors</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2a36649bde1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Container Functions in X++]]></title>
            <link>https://medium.com/@okashasameer0/learning-container-functions-in-x-1de1ebd5a7f0?source=rss-0fbe2b1da622------2</link>
            <guid isPermaLink="false">https://medium.com/p/1de1ebd5a7f0</guid>
            <dc:creator><![CDATA[Okashasameer]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 11:17:00 GMT</pubDate>
            <atom:updated>2026-07-16T11:17:00.782Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my D365 Finance &amp; Operations learning journey, I explored the Container data type in X++ and practiced some of its commonly used functions.</p><p>A Container is an immutable collection that can store multiple data types in a single variable, such as:</p><ul><li>String</li><li>Integer</li><li>Real</li><li>Boolean</li><li>Int64</li><li>Date</li><li>UtcDateTime</li><li>GUID</li><li>Enum</li></ul><p>For this practice, I created my own container with different data types and explored some commonly used container functions.</p><h3>✅ Functions I practiced</h3><ul><li>conLen(): Returns the total number of elements in a container.</li><li>conPeek(): Reads the value at a specified position.</li><li>conIns(): Inserts a new element at a specific position.</li><li>conPoke(): Replaces an existing value at a specified position.</li><li>conDel(): Removes one or more elements from the container.</li></ul><pre>class CustomCon<br>{<br>    /// &lt;summary&gt;<br>    /// Class entry point. The system will call this method when a designated menu <br>    /// is selected or when execution starts and this class is set as the startup class.<br>    /// &lt;/summary&gt;<br>    /// &lt;param name = &quot;_args&quot;&gt;The specified arguments.&lt;/param&gt;<br>    public static void main(Args _args)<br>    {<br>        container _con;<br>        int64 _myInt = 2147483648; //we have to decalre int64 first</pre><pre>        _con =<br>        [ <br>            &quot;SAMEER&quot;                                 //string<br>            , 24                                     //int<br>            , 2.54                                   //real<br>            , true                                   //Boolean<br>            , _myInt                                 // Int64<br>            , systemDateGet()                        // Date<br>            , DateTimeUtil::utcNow()                 // UtcDateTime<br>            ,guid2Str(newGuid())                     // GUID<br>            ,enum2Symbol(enumNum(NoYes) ,NoYes::Yes) // Enum<br>            <br>        ];</pre><pre>        // 1. conLen()<br>        Info(strFmt(&quot;length of the container = %1&quot;, conLen(_con)));</pre><pre>        //2. conPeek()<br>        Info(strFmt(&quot;First Value = %1&quot;,conPeek(_con, 1)));</pre><pre>        //3. conIns()<br>        _con = conIns(_con, 2, &quot;Inserted Value&quot;);</pre><pre>        info(&quot;After conIns()&quot;);<br>        for (int i = 1; i &lt;= conLen(_con); i++)<br>        {<br>            info(strFmt(&quot;%1 = %2&quot;, i, conPeek(_con,i)));<br>        }</pre><pre>        // 4. conPoke()<br>        _con = conPoke(_con, 1, &quot;Updated Name&quot;);</pre><pre>        info(&quot;After conPoke()&quot;);<br>        for (int i = 1; i &lt;= conLen(_con); i++)<br>        {<br>            info(strFmt(&quot;%1 = %2&quot;, i, conPeek(_con,i)));<br>        }</pre><pre>        // 5. conDel()<br>        _con = conDel(_con, 3, 1);</pre><pre>        info(&quot;After conDel()&quot;);<br>        for (int i = 1; i &lt;= conLen(_con); i++)<br>        {<br>            info(strFmt(&quot;%1 = %2&quot;, i, conPeek(_con,i)));<br>        }<br>    }</pre><pre>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*HWE28WBpcO9rUWkfU7xrGg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1de1ebd5a7f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>