Hi All,
Customer has some Customization on Rebate in AX R3 which requires to be implemented in Dynamics 365 FO.
Ax 2012 calculation is based on individual items and the transaction date.
Customer requirement is
1. To accumulate amount per customer not by individual items during the rebate period. Therefore process date was used and
2. Transaction date for the credit note should be the end of the month for monthly rebate, end of quarter for quarterly rebate and end of the year for yearly rebate.
Code has been modified in Classes> PDSRebatePaymentPost > insertRebateEntryForGrouping method as well as run method, as attached in the Snapshots,we couldn't achieve the customer requirement as it's not possible to change the Signature for the defined method.
In Classes> PDSRebatePaymentPost - Insert and Run methods are modified , as Insert method is Private, i'm unable to use COC and
in Run method Insert method is being called which is private, hence Insert method can't be used.
I initiated a request to Microsoft to allow us to make extensions, they replied after 2 weeks and closed the case, reply as below:
<div>See the new methods:</div><div> protected PdsRebateTable initializeRebateEntryForSummarizingFromRebateTable(PdsRebateTable _pdsRebateTable)</div><div><span> protected Query buildRebateSummarizingQuery()<br></span><span></span><br></div>
I can't find the methods provided by Microsoft even in the Latest update of D365FO, can some one share your thoughts how to achieve the above scenario.
Thanks & Regards,
Ansar Basha.S