pub struct InventoryCOGSData {Show 14 fields
pub opening_fg: Decimal,
pub production_completions: Decimal,
pub cogs: Decimal,
pub scrap: Decimal,
pub closing_fg: Decimal,
pub opening_wip: Decimal,
pub material_issues: Decimal,
pub labor_absorbed: Decimal,
pub overhead_applied: Decimal,
pub completions_out_of_wip: Decimal,
pub wip_scrap: Decimal,
pub closing_wip: Decimal,
pub total_variance: Decimal,
pub sum_of_component_variances: Decimal,
}Expand description
Input data for COGS and inventory reconciliation checks.
Fields§
§opening_fg: DecimalOpening finished-goods balance.
production_completions: DecimalProduction completions transferred into FG.
cogs: DecimalCost of goods sold posted to P&L.
scrap: DecimalScrap written off from FG.
closing_fg: DecimalClosing finished-goods balance.
opening_wip: DecimalOpening work-in-process balance.
material_issues: DecimalRaw-material issues to production.
labor_absorbed: DecimalLabor costs absorbed into WIP.
overhead_applied: DecimalOverhead applied to WIP.
completions_out_of_wip: DecimalCompletions transferred out of WIP (into FG).
wip_scrap: DecimalScrap written off directly from WIP.
closing_wip: DecimalClosing work-in-process balance.
total_variance: DecimalTotal manufacturing variance reported.
sum_of_component_variances: DecimalSum of individual component variances (material, labor, overhead, etc.).
Trait Implementations§
Source§impl Clone for InventoryCOGSData
impl Clone for InventoryCOGSData
Source§fn clone(&self) -> InventoryCOGSData
fn clone(&self) -> InventoryCOGSData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InventoryCOGSData
impl RefUnwindSafe for InventoryCOGSData
impl Send for InventoryCOGSData
impl Sync for InventoryCOGSData
impl Unpin for InventoryCOGSData
impl UnsafeUnpin for InventoryCOGSData
impl UnwindSafe for InventoryCOGSData
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
Mutably borrows from an owned value. Read more
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<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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.