How to do it...

Carry out the following steps in order to complete this recipe:

  1. In the AOT, create a new class named VendOutPaymRecord_Test with the following code snippet:
        public class VendOutPaymRecord_Test extends VendOutPaymRecord 
       { 
       } 
        public void output() 
       {   
          str         outRecord; 
          Name        companyName; 
          BankAccount bankAccount; 
          outRecord = strRep(' ', 50); 
          companyName = subStr( 
          custVendPaym.recieversCompanyName(), 1, 40); 
          bankAccount = subStr( 
          custVendPaym.recieversBankAccount(), 1, 8); 
          outRecord = strPoke(outRecord, companyName, 1); 
          outRecord = strPoke(outRecord, bankAccount, 43); 
          file.write(outRecord); 
       } 
  1. Create another class named VendOutPaym_Test with the following code snippet:
public class VendOutPaym_Test extends VendOutPaym { } public ...

Get Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.