Klevr Product Documentation logo

Budget Payment Schedule Plugin Documentation

The klevr_CreateBudgetPaymentSchedule Custom API plugin has been enhanced with configurable filtering capabilities for contract transaction deletion.

Feature Overview

The klevr_CreateBudgetPaymentSchedule Custom API plugin has been enhanced with configurable filtering capabilities for contract transaction deletion. This feature allows administrators to customize which contract transactions are deleted during the payment schedule generation process without requiring code changes.

Key Enhancements

  • Configurable Filters: Filter criteria now managed through Environment Variables

  • FetchXML Integration: Converted from QueryExpression to FetchExpression for better flexibility

  • Enhanced Default Filters: Added Active status and Integration status conditions

Design Details

Environment Variable Configuration

Variable Specification

  • Name: klevr_ContractTransactionScheduleDeleteFilters

  • Data Type: Text

  • Purpose: Store FetchXML filter criteria for transaction deletion

Default Filter XML

<filter type='or'>
<condition attribute='klevr_duedate' operator='next-x-years' value='50' />
<filter type='and'>
<condition attribute='statuscode' operator='eq' value='699960000' />
<condition attribute='klevr_integrationstatuscode' operator='eq' value='699960002' />
<condition attribute='klevr_transactiontypecode' operator='in'>
<value>699960000</value>
<value>699960003</value>
</condition>
</filter>
</filter>

The plugin will then use the fetchxml criteria in the Environment Variable when deleting contract transactions allowing full customisation depending on what criterias you want the transactions to be deleted.

Last updated on