December 2018
Beginner
210 pages
5h 7m
English
The next code example demonstrates how to use this feature. We will call the Export Lease Contracts XMLport from a page to export the selected contract, without opening the request page.
The ExportContract function shown in the code block exports the contract record by directing the XMLport output into a file stream. The SETTABLEVIEW function is used to limit the export to records satisfying the filtering criteria applied to the LeaseContractHeader variable. Before calling SETTABLEVIEW, we set a filter on the contract number to select a single record; in practice it, can be any viable table filter. This function should be declared on page 50505 Lease Contract, and will be called on the same page:
LOCAL ...
Read now
Unlock full access