pub struct SubledgerSnapshot {
pub ap_invoices: Vec<APInvoice>,
pub ar_invoices: Vec<ARInvoice>,
pub fa_records: Vec<FixedAssetRecord>,
pub inventory_positions: Vec<InventoryPosition>,
pub inventory_movements: Vec<InventoryMovement>,
pub ar_aging_reports: Vec<ARAgingReport>,
pub ap_aging_reports: Vec<APAgingReport>,
pub depreciation_runs: Vec<DepreciationRun>,
pub inventory_valuations: Vec<InventoryValuationResult>,
pub dunning_runs: Vec<DunningRun>,
pub dunning_letters: Vec<DunningLetter>,
}Expand description
Subledger snapshot containing generated subledger records.
Fields§
§ap_invoices: Vec<APInvoice>AP invoices linked from document flow vendor invoices.
ar_invoices: Vec<ARInvoice>AR invoices linked from document flow customer invoices.
fa_records: Vec<FixedAssetRecord>FA subledger records (asset acquisitions from FA generator).
inventory_positions: Vec<InventoryPosition>Inventory positions from inventory generator.
inventory_movements: Vec<InventoryMovement>Inventory movements from inventory generator.
ar_aging_reports: Vec<ARAgingReport>AR aging reports, one per company, computed after payment settlement.
ap_aging_reports: Vec<APAgingReport>AP aging reports, one per company, computed after payment settlement.
depreciation_runs: Vec<DepreciationRun>Depreciation runs — one per fiscal period per company (from DepreciationRunGenerator).
inventory_valuations: Vec<InventoryValuationResult>Inventory valuation results — one per company (lower-of-cost-or-NRV, IAS 2 / ASC 330).
dunning_runs: Vec<DunningRun>Dunning runs executed after AR aging (one per company per dunning cycle).
dunning_letters: Vec<DunningLetter>Dunning letters generated across all dunning runs.
Trait Implementations§
Source§impl Clone for SubledgerSnapshot
impl Clone for SubledgerSnapshot
Source§fn clone(&self) -> SubledgerSnapshot
fn clone(&self) -> SubledgerSnapshot
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SubledgerSnapshot
impl Debug for SubledgerSnapshot
Source§impl Default for SubledgerSnapshot
impl Default for SubledgerSnapshot
Source§fn default() -> SubledgerSnapshot
fn default() -> SubledgerSnapshot
Auto Trait Implementations§
impl Freeze for SubledgerSnapshot
impl RefUnwindSafe for SubledgerSnapshot
impl Send for SubledgerSnapshot
impl Sync for SubledgerSnapshot
impl Unpin for SubledgerSnapshot
impl UnsafeUnpin for SubledgerSnapshot
impl UnwindSafe for SubledgerSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.