pub struct MoveDoneOutcome {
pub move_id: Uuid,
pub done_qty: Decimal,
pub backorder_move_id: Option<Uuid>,
pub sle_count: i32,
pub out_value: Decimal,
pub in_value: Decimal,
pub gl_posted: bool,
pub gl_amount: Decimal,
}Expand description
Outcome of _action_done.
Fields§
§move_id: Uuid§done_qty: Decimal§backorder_move_id: Option<Uuid>The minted backorder move (remaining demand), if any.
sle_count: i32SLE rows minted by the valuation core (0 for value-neutral same-warehouse moves).
out_value: DecimalThe value the OUT leg carried off the source bin (COGS for a delivery shape).
in_value: DecimalThe value the IN leg blended into the destination bin (the line amount for a receipt shape).
gl_posted: bool§gl_amount: DecimalTrait Implementations§
Source§impl Clone for MoveDoneOutcome
impl Clone for MoveDoneOutcome
Auto Trait Implementations§
impl Freeze for MoveDoneOutcome
impl RefUnwindSafe for MoveDoneOutcome
impl Send for MoveDoneOutcome
impl Sync for MoveDoneOutcome
impl Unpin for MoveDoneOutcome
impl UnsafeUnpin for MoveDoneOutcome
impl UnwindSafe for MoveDoneOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
Converts
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> ⓘ
Converts
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 more