# 518 - Quantity Screen Confirmation

518 - (Sales) Quantity Screen Confirmation

| Event  | Extension action set | Description                                           |
| ------ | -------------------- | ----------------------------------------------------- |
| Before | EXT\_0518\_1\_Before | Will be executed before MSS delete the selected line; |

### Before

*Input Parameters*

* inCustomerCode – Código do cliente
* inArticleCode – Código do artigo
* inDocumentType – Código do documento que está a ser criado
* inLine – Nº de linha do documento (quando se está a adicionar um novo artigo esta var é igual a zero)
* inQuantity - Qauntidade
* inUnit – Unidade selecionada
* inPrice - Preço
* inDiscount1 – Desconto1
* inDiscount2 – Desconto 2
* inDiscount3 – Desconto 3
* inDiscount4 – Desconto 4
* inLineType – Tipo de linha selecionada (N – Normal/B – Bónus/O – Oferta/D - Devolução)

*Output Parameters*

* outAbortOperation – True to abort / False to continue
