See the main fields/controls of the routine Automatic Posting Payable, as follows:

These fields determine the data of the bills to be filtered and displayed for selection and later posting, as well as the number of the check to be automatically generated by this routine.