c775146b64
Implementation A partner, not just software HexDive Technologies' local team handles setup, data migration, training and ongoing support — in Sinhala, Tamil and English. [confirm] 1 Discovery Map your network, products and processes. 2 Configuration Set up depots, pricing, schemes, routes and users. 3 Migration & training Move your data and train every team. 4 Go-live & support Dedicated account manager and local support desk.
61 lines
1.4 KiB
C#
61 lines
1.4 KiB
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.RecurringExpense;
|
|
|
|
public record CreateRecurringExpenseRequest(
|
|
string Name,
|
|
Guid CategoryId,
|
|
Guid? WarehouseId,
|
|
Guid? VendorId,
|
|
decimal Amount,
|
|
string? Payee,
|
|
string? Description,
|
|
RecurringFrequency Frequency,
|
|
int? DayOfMonth,
|
|
int? DayOfWeek,
|
|
DateTime StartDate,
|
|
DateTime? EndDate,
|
|
bool AutoPost);
|
|
|
|
public record UpdateRecurringExpenseRequest(
|
|
string Name,
|
|
Guid CategoryId,
|
|
Guid? WarehouseId,
|
|
Guid? VendorId,
|
|
decimal Amount,
|
|
string? Payee,
|
|
string? Description,
|
|
RecurringFrequency Frequency,
|
|
int? DayOfMonth,
|
|
int? DayOfWeek,
|
|
DateTime StartDate,
|
|
DateTime? EndDate,
|
|
bool AutoPost);
|
|
|
|
public record RecurringExpenseResponse(
|
|
Guid Id,
|
|
string Name,
|
|
Guid CategoryId,
|
|
string CategoryName,
|
|
Guid? WarehouseId,
|
|
string? WarehouseName,
|
|
Guid? VendorId,
|
|
string? VendorName,
|
|
decimal Amount,
|
|
string? Payee,
|
|
string? Description,
|
|
RecurringFrequency Frequency,
|
|
int? DayOfMonth,
|
|
int? DayOfWeek,
|
|
DateTime StartDate,
|
|
DateTime? EndDate,
|
|
DateTime NextRunDate,
|
|
bool AutoPost,
|
|
bool IsPaused,
|
|
bool IsActive,
|
|
DateTime CreatedAt);
|
|
|
|
public record PagedRecurringExpensesResponse(List<RecurringExpenseResponse> Items, int Page, int PageSize, int Total);
|
|
|
|
public record RunDueResponse(int Generated, List<Guid> ExpenseIds);
|