Published APIs
The following APIs are available within the Rebates App which can be used to extract information from the Rebates App for reporting purposes.
-
Sales Rebate Entries - provides a view of the Rebate Entries created in relation to Sales including financial details
-
Purchase Rebate Entries - provides a view of the Rebate Entries created in relation to Purchase including financial details
Both of the above APIs can be accessed using the following API information.
-
API Publisher: cleverDynamics
-
API Group: rebates
-
API Version: 1.1
-
Entity Set Name: salesRebateEntries or purchaseRebateEntries (as applicable)
Published Events
The following Events are available within the Rebates App which can be used to Extend/Alter the behaviour of the solution within a Project.
Note: the following are the names of the Events but do not include the required Parameters.
Rebate Management CRBTMN Codeunit
-
OnBeforeGetRebateEntryTotals
-
OnBeforeGetSteppedRebateValue
-
OnBeforeCreatePurchaseLineModify
-
OnBeforeCreatePurchaseHeaderModify
-
OnBeforeCreateSalesLineModify
-
OnBeforeCreateSalesHeaderModify
-
OnCustomGetRebateTypeOnCustomGetPurchRebateType
Rebate Jnl Mgt CRBTMN Codeunit
-
OnBeforeCreateGenJournal
-
OnBeforeCreateGenJournalFromPurchRebate
-
OnAfterTestAccrualSetup
-
OnBeforeInsertGenJournalLine
-
OnBeforeInsertGenJournalLineFromPurchRebate
Purch. Rebate Mgt CRBTMN Codeunit
-
OnAfterLoadActiveRebateHeaderIntoTemp
-
OnBeforeCalculateRebateTotal
-
OnBeforeCalculateRebateTotalPerVendor
-
OnBeforeGetRebateEntryTotals
-
OnBeforeGetSteppedRebateValue
-
OnCustomValueTypeGetSteppedValue
-
OnCustomValueCalculationGetSteppedValue
Sales Rebate Mgt CRBTMN Codeunit
-
OnAfterLoadActiveRebateHeaderIntoTemp
-
OnBeforeGetRebateEntryTotals
-
OnBeforeGetSteppedRebateValue
-
OnBeforeCalculateRebateTotal
-
OnCustomValueTypeGetSteppedValue
-
OnCustomValueCalculationGetSteppedValue
-
OnBeforeCalculateRebateTotalByCustomer
Sales Rebate Header CRBTMN Table
-
OnBeforeCanActivate
-
OnBeforeChageStatus
-
onBeforeSendDateSetupMissingNotification
Sales Rebate Entry CRBTMN Table
-
OnAfterCopyFromSalesInvoiceLine
-
OnAfterCopyFromSalesCrMemoLine
Purch. Rebate Entry CRBTMN Table
-
OnAfterCopyFromPurchInvoiceLine
-
OnAfterCopyFromPurchCrMemoLine
Purch. Rebate Header CRBTMN Table
-
OnBeforeCanActivate
-
OnBeforeChageStatus
-
onBeforeSendDateSetupMissingNotification