In Microsoft Dynamics 365 Finance and Operations (D365 FO), you can get abc code of a customer or prospect in dynamics 365 finance and operations. you can copy and paste the below codes and change them as per your requirement. Here's an example of how you can achieve this:
internal final class CodingSpiderCodingExamples
{
public static void main(Args _args)
{
DirOrganization dirOrganization =
DirOrganization::find(smmBusRelTable::find(“Put your customer Account Number here”).Party);
ABC abc = dirorganization.ABC;
}
}