pub struct DocumentFlowJeConfig {
pub inventory_account: String,
pub gr_ir_clearing_account: String,
pub ap_account: String,
pub cash_account: String,
pub ar_account: String,
pub revenue_account: String,
pub cogs_account: String,
}Expand description
Configuration for document flow JE generation.
Fields§
§inventory_account: StringInventory account (default: 1200 from control_accounts::INVENTORY)
gr_ir_clearing_account: StringGR/IR clearing account (default: 2900 from control_accounts::GR_IR_CLEARING)
ap_account: StringAccounts payable control account (default: 2000 from control_accounts::AP_CONTROL)
cash_account: StringCash/bank account (default: 1000 from cash_accounts::OPERATING_CASH)
ar_account: StringAccounts receivable control account (default: 1100 from control_accounts::AR_CONTROL)
revenue_account: StringRevenue account (default: 4000 from revenue_accounts::PRODUCT_REVENUE)
cogs_account: StringCOGS account (default: 5000 from expense_accounts::COGS)
Trait Implementations§
Source§impl Clone for DocumentFlowJeConfig
impl Clone for DocumentFlowJeConfig
Source§fn clone(&self) -> DocumentFlowJeConfig
fn clone(&self) -> DocumentFlowJeConfig
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 moreSource§impl Debug for DocumentFlowJeConfig
impl Debug for DocumentFlowJeConfig
Auto Trait Implementations§
impl Freeze for DocumentFlowJeConfig
impl RefUnwindSafe for DocumentFlowJeConfig
impl Send for DocumentFlowJeConfig
impl Sync for DocumentFlowJeConfig
impl Unpin for DocumentFlowJeConfig
impl UnsafeUnpin for DocumentFlowJeConfig
impl UnwindSafe for DocumentFlowJeConfig
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