Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

Creating CoC for the 'Out of Box' method of 'TradePostalAddress' map in D365FO 8.1 with PU20

$
0
0

Hi,

I am using D365FO 8.1 with PU20.

I have a scenario wherein the existing out of box method of the map "TradePostalAddress" is overlayered.

I need to remove the over layering. I have created the CoC method to refactor the code to extensions as below:

[ExtensionOf(mapStr(TradePostalAddress))]
public final class TradePostalAddressMap_AAA_Extension
{
     public DirPartyTable partyTable()
     {
          DirPartyTable   ret;
          ret = next partyTable();
          
          /*
           Refactor your overlayered code here 
          */
           
          return ret;
     }
}


As I was going through the content over internet, I didnt find anything related to my scenario and moreover I found few content saying extension of map is not support in D365FO.

The reason I am posting the query here is to reconfirm if the CoC is possible for Maps to remove the overlayering and refactor the code to extensions using CoC.

Would appreciate for your response.

Sincerely,

Muneeb


Viewing all articles
Browse latest Browse all 143529


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>