...
Previously, the status of related invoice items was left empty. Now, these items will also have their status updated to Canceled, ensuring consistency for customers who require this information at the invoice item level.
...
...
Negative Multiplier:
When canceling an invoice item, the system multiplies the relevant fields by-1
to generate the cancellation invoice item values. The following fields are affected:InvoicedQuantity__c
InvoiceAmount__c
GrossAmountB1__c
,GrossAmountB2__c
,GrossAmountB3__c
InvoicedAmountNet1__c
,InvoicedAmountNet2__c
,InvoicedAmountNet3__c
RateDiscount1Abs__c
,RateDiscount2Abs__c
, etc.VATAmount__c
,DstAmount__c
References:
The cancellation invoice item includes a reference to the original invoice item in the Connected Item field.Status Update:
The status of the original invoice item is set to Canceled.
The invoice's status is updated to Canceled only if the entire invoice is canceled.
Delta Invoice Item Cancellation
Delta invoice items follow an extended cancellation process, as they introduce additional logic:
...
Automatic Cancelation of Technical Reversal Items:
If a delta invoice item is canceled, the related technical reversal item is automatically canceled.
...
Negative Multiplier:
Similar to standard invoice items, the delta invoice item fields are multiplied by -1
. This applies to:
DeltaGrossAmountB1__c
,DeltaGrossAmountB2__c
,DeltaGrossAmountB3__c
DeltaInvoicedAmountNet1__c
,DeltaInvoicedAmountNet2__c
, etc.DeltaVATAmount__c
,DeltaDstAmount__c
...
Formulas for Delta Amounts:
Delta Cancellation Invoice Item Amount:
(Delta cancellation invoice item amount + technical reversal cancellation item amount)
Example:-90 + 50 = -40
Delta Invoice Item Amount:
(Delta invoice item amount + technical reversal invoice item amount)
Example:90 + -50 = 40
...
References:
The Connected Item field references the original delta invoice item.
The Position Reference is set to
null
.
...
For the purpose of Delta
The status of the original delta invoice item and related technical reversal is set to Canceled
...
Technical Reversal Cancelation Logic
...
A technical reversal item cannot be canceled alone. It is automatically canceled when its related delta invoice item is canceled.
...
Negative Multiplier:
All relevant fields of the technical reversal item are multiplied by -1
to calculate the values for the cancellation.
...
References:
The Connected Item field references the original technical reversal item, with the Position Reference set to null
.
The status of the original technical reversal item is set to Canceled.
Info |
---|
The pre-invoice generation process will not update or delete cancelation pre-invoice items, except when reassignment is required due to a change in the invoice date of their current pre-invoice. In such cases, if the updated invoice date matches an existing pre-invoice, the system will merge the two pre-invoices. This rule does not impact cancelation pre-invoice items from Standard Cancellation, Merged Period Cancellation, or Merge-All Cancellation, which address delta-disabled campaign item cancelations. It also does not affect cancelation pre-invoice items from Invoice or Invoice Item Cancelations, as they must remain in their respective dedicated cancellation invoices. |