... | @@ -2,64 +2,120 @@ |
... | @@ -2,64 +2,120 @@ |
|
Developer
|
|
Developer
|
|
-------
|
|
-------
|
|
|
|
|
|
|
|
Das Rechnungsmodul bietet für Entwickler eine große API an Events an. Durch die verschiedenen Events ist es dir möglich auf verschiedene Ereignisse von Rechnungen oder Rechnungsentwürfen zu reagieren.
|
|
|
|
|
|
|
|
|
|
#### Invoice Events
|
|
#### Invoice Events
|
|
|
|
|
|
- onQuiqqerInvoiceCreateCreditNote [Invoice]
|
|
##### onQuiqqerInvoiceCreateCreditNote
|
|
- onQuiqqerInvoiceCancel [Invoice]
|
|
|
|
- onQuiqqerInvoiceStorno [Invoice] (Same as cancel, alias)
|
|
- `onQuiqqerInvoiceCreateCreditNote [Invoice]`
|
|
|
|
|
|
|
|
Invoice = Original Rechnung
|
|
|
|
|
|
|
|
Wird gefeuert wenn eine Gutschrift (Credit Note) erstellt werden soll. Zu diesem Zeitpunkt ist diese noch nicht erstellt.
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceCreateCreditNoteEnd
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceCreateCreditNoteEnd [Invoice, CreditNote]`
|
|
|
|
|
|
|
|
Invoice = Original Rechnung
|
|
|
|
CreditNote = Erstellte Gutschrift Rechnung
|
|
|
|
|
|
|
|
Wird gefeuert wenn eine Gutschrift (Credit Note) erstellt ist
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceCancel
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceCancel [Invoice]`
|
|
|
|
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceStorno
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceStorno [Invoice] (Same as cancel, alias)`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoicePaymentStatusChanged
|
|
|
|
|
|
- onQuiqqerInvoicePaymentStatusChanged [Invoice, (int) $newStatus, (int) $oldStatus]
|
|
- `onQuiqqerInvoicePaymentStatusChanged [Invoice, (int) $newStatus, (int) $oldStatus]`
|
|
|
|
|
|
- onQuiqqerInvoiceAddComment [Invoice, message]
|
|
##### onQuiqqerInvoiceAddComment
|
|
- onQuiqqerInvoiceAddHistory [Invoice, message]
|
|
|
|
|
|
|
|
- onQuiqqerInvoiceCopyBegin [Invoice]
|
|
- `onQuiqqerInvoiceAddComment [Invoice, message]`
|
|
- onQuiqqerInvoiceCopy [Invoice]
|
|
|
|
- onQuiqqerInvoiceCopyEnd [Invoice, TemporaryInvoice]
|
|
|
|
|
|
|
|
- onQuiqqerInvoiceAddPaymentBegin [
|
|
##### onQuiqqerInvoiceAddHistory
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceAddHistory [Invoice, message]`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceCopyBegin
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceCopyBegin [Invoice]`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceCopy
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceCopy [Invoice]`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceCopyEnd
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceCopyEnd [Invoice, TemporaryInvoice]`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceAddPaymentBegin
|
|
|
|
|
|
|
|
```
|
|
|
|
onQuiqqerInvoiceAddPaymentBegin [
|
|
Invoice,
|
|
Invoice,
|
|
$amount,
|
|
$amount,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
$date
|
|
$date
|
|
]
|
|
]
|
|
|
|
```
|
|
|
|
|
|
- onQuiqqerInvoiceAddPayment [
|
|
##### onQuiqqerInvoiceAddPayment
|
|
|
|
|
|
|
|
```
|
|
|
|
onQuiqqerInvoiceAddPayment [
|
|
Invoice,
|
|
Invoice,
|
|
$amount,
|
|
$amount,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
$date
|
|
$date
|
|
]
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceAddPaymentEnd
|
|
|
|
|
|
- onQuiqqerInvoiceAddPaymentEnd [
|
|
```
|
|
|
|
onQuiqqerInvoiceAddPaymentEnd [
|
|
Invoice,
|
|
Invoice,
|
|
$amount,
|
|
$amount,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
QUI\ERP\Accounting\Payments\Api\PaymentsInterface,
|
|
$date
|
|
$date
|
|
]
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceProcessingStatusSet
|
|
|
|
|
|
|
|
- `onQuiqqerInvoiceProcessingStatusSet [Invoice, $Status]`
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceProcessingStatusChange
|
|
|
|
|
|
- onQuiqqerInvoiceProcessingStatusSet [Invoice, $Status]
|
|
- `onQuiqqerInvoiceProcessingStatusChange [Invoice, $Status]`
|
|
- onQuiqqerInvoiceProcessingStatusChange [Invoice, $Status]
|
|
|
|
|
|
|
|
|
|
|
|
#### Temporary Invoice Events
|
|
#### Temporary Invoice Events
|
|
|
|
|
|
- onQuiqqerInvoiceTemporaryInvoicePostBegin [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoicePostBegin [TemporaryInvoice]`
|
|
- onQuiqqerInvoiceTemporaryInvoicePost [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoicePost [TemporaryInvoice]`
|
|
- onQuiqqerInvoiceTemporaryInvoicePostEnd [TemporaryInvoice, Invoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoicePostEnd [TemporaryInvoice, Invoice]`
|
|
|
|
|
|
- onQuiqqerInvoiceTemporaryInvoiceSaveBegin [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceSaveBegin [TemporaryInvoice]`
|
|
- onQuiqqerInvoiceTemporaryInvoiceSave [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceSave [TemporaryInvoice]`
|
|
- onQuiqqerInvoiceTemporaryInvoiceSaveEnd [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceSaveEnd [TemporaryInvoice]`
|
|
|
|
|
|
- onQuiqqerInvoiceTemporaryInvoiceCopy [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceCopy [TemporaryInvoice]`
|
|
- onQuiqqerInvoiceTemporaryInvoiceCopyEnd [TemporaryInvoice, TemporaryInvoice $Copy]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceCopyEnd [TemporaryInvoice, TemporaryInvoice $Copy]`
|
|
|
|
|
|
- onQuiqqerInvoiceTemporaryInvoiceDelete [TemporaryInvoice]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceDelete [TemporaryInvoice]`
|
|
|
|
|
|
- onQuiqqerInvoiceTemporaryInvoiceAddHistory [TemporaryInvoice, message]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceAddHistory [TemporaryInvoice, message]`
|
|
- onQuiqqerInvoiceTemporaryInvoiceAddComment [TemporaryInvoice, message]
|
|
- `onQuiqqerInvoiceTemporaryInvoiceAddComment [TemporaryInvoice, message]`
|
|
|
|
|
|
|
|
|
|
##### onQuiqqerInvoiceTemporaryInvoiceMissingAttributes
|
|
##### onQuiqqerInvoiceTemporaryInvoiceMissingAttributes
|
... | | ... | |