December 2019
Beginner to intermediate
770 pages
16h 14m
English
CreateCustomerWithNonBlockedCustomerCategoryWithFreeGiftsAvailable is a helper function that creates a customer with a non-blocking customer category set, and it's implemented as follows:
local procedure CreateCustomerWithNonBlockedCustomerCategory WithFreeGiftsAvailable(var Customer: record Customer)begin LibrarySales.CreateCustomer(Customer); with Customer do begin Validate( "Customer Category Code_PKT", CreateNonBlockedCustomerCategory WithFreeGiftsAvailable()); Modify(); end;end;
Note that, like our previous helper function, CreateCustomer (see test examples 1 and 2), this test function also makes use of the standard CreateCustomer function in the standard ...
Read now
Unlock full access