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); 
  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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.