Form DeleteDelivery
- Unit name: Forms.DeleteDelivery
- Form name: DeleteDeliveryForm
- Old form name: unit22 (Bitbtn33, using selectlistform)
Synopsis
Allow deleting a set of deliveries (in block)
Functionalities
The form shows a list of blocks in a grid, and allows to delete the blocks. View OutBlocks, with parameter FromDate today minus 3 days.
Actions
Delete block
allows to delete the block of OUT records: * It shows a 'Are you sure' confirmation dialog before. * It calls the DeliveryControl.DeleteOutBlock service call. * It shows a confirmation dialog after the call returned..
Tables/Views
- OUTBlocks
SELECT BlockNo, Client, max(SystemDate) as SystemDate, PCName as UserName, count(Aviz) as Orders FROM OUT WHERE (SYSTEMDATE>=:FromDate) and isnull(BlockNo, 0)<>0 group by BlockNo, Client, SystemDate, PCName ORDER BY BLOCKNO DESC
Needed Service Calls
DeliveryControl.DeleteOutBlock
With the BlockNo of the selected block as parameter.
Reports
None.