proto rename for migrating profile to a new year
This commit is contained in:
@@ -433,16 +433,18 @@ message OpeningBalanceAccountMapping {
|
||||
string created_by_user_id = 14;
|
||||
}
|
||||
|
||||
// A predecessor account still holding value that no mapping carries into the
|
||||
// target period. Closing the target period drops these balances silently, so
|
||||
// each one is either an account left to map or one deliberately closed out.
|
||||
message UnmappedSourceAccount {
|
||||
// A portion of a predecessor account's value that no mapping carries into the
|
||||
// target period. Closing the target period drops this value, so each entry must
|
||||
// either be covered by a broader mapping or deliberately closed out.
|
||||
message UnmappedSourceBalance {
|
||||
int64 source_period_id = 1;
|
||||
string source_profile_name = 2;
|
||||
repeated string source_account_segments = 3;
|
||||
string currency = 4;
|
||||
// Signed balance uses the debit-positive convention, and is never zero.
|
||||
string closing_balance = 5;
|
||||
// Signed portion not covered by a mapping, using the debit-positive
|
||||
// convention. This is never zero and may be less than the account's
|
||||
// aggregate closing balance when descendants are mapped separately.
|
||||
string unmapped_balance = 5;
|
||||
OpeningBalanceStatus status = 6;
|
||||
}
|
||||
|
||||
@@ -453,5 +455,5 @@ message ListOpeningBalanceAccountsResponse {
|
||||
// account path. Populated once the period carries balances by explicit
|
||||
// mapping only, which happens when the predecessor belongs to another
|
||||
// profile or when the period has at least one mapping of its own.
|
||||
repeated UnmappedSourceAccount unmapped_source_accounts = 2;
|
||||
repeated UnmappedSourceBalance unmapped_source_balances = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user