Invoice Posting

Purpose
The purpose of the Invoice Posting screen is to allow the user, on demand, to post and charge the balances of those Invoices still unposted. Items can be posted by the individual who created the unposted invoice or by those users that have the Subway Invoice Maintenance Modifer (All) security role.

Invoice Looking For
If the user has the Subway Invoice Maintenance Modifier (All) or Subway Invoice Administrator security role then they will see every user that has an unposted invoice. If the user has have Subway Invoice Maintenance Modifier (Own) then the user will not be allowed to select from this drop-down list.

Balance Type
There is an additional filter for Balance Type. The default is All

Detail Grids
Once a username is selected in the Invoice Looking For drop-down list the left hand grid is populated with all the unposted invoices. Changing the Invoice Looking For repopulates this grid. Selecting a record on the left hand grid will populate the right hand grid with that Invoices individual items. Checking the records in the left hand grid will be the ones that will be posted or displayed on the edit list if one of those buttons are clicked.

Post Selected Items Button and Posting Algorithm
The first step is to run the posting process is to create a list of Invoices the user has selected. That list is then passed to the stored procedure ^^Proc Subway InvoicePosting Batch^^ which is executed by the Process Execution Web Service. Then the ^^Invoice Session Register^^ report is run for each Invoice Id.