pub struct P2PFlowConfig {
pub enabled: bool,
pub three_way_match_rate: f64,
pub partial_delivery_rate: f64,
pub price_variance_rate: f64,
pub max_price_variance_percent: f64,
pub quantity_variance_rate: f64,
pub average_po_to_gr_days: u32,
pub average_gr_to_invoice_days: u32,
pub average_invoice_to_payment_days: u32,
pub line_count_distribution: DocumentLineCountDistribution,
pub payment_behavior: P2PPaymentBehaviorConfig,
}Expand description
P2P (Procure-to-Pay) flow configuration.
Fields§
§enabled: boolEnable P2P document flow generation
three_way_match_rate: f64Three-way match success rate (PO-GR-Invoice)
partial_delivery_rate: f64Rate of partial deliveries
price_variance_rate: f64Rate of price variances between PO and Invoice
max_price_variance_percent: f64Maximum price variance percentage
quantity_variance_rate: f64Rate of quantity variances between PO/GR and Invoice
average_po_to_gr_days: u32Average days from PO to goods receipt
average_gr_to_invoice_days: u32Average days from GR to invoice
average_invoice_to_payment_days: u32Average days from invoice to payment
line_count_distribution: DocumentLineCountDistributionPO line count distribution
payment_behavior: P2PPaymentBehaviorConfigPayment behavior configuration
Trait Implementations§
Source§impl Clone for P2PFlowConfig
impl Clone for P2PFlowConfig
Source§fn clone(&self) -> P2PFlowConfig
fn clone(&self) -> P2PFlowConfig
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 P2PFlowConfig
impl Debug for P2PFlowConfig
Source§impl Default for P2PFlowConfig
impl Default for P2PFlowConfig
Source§impl<'de> Deserialize<'de> for P2PFlowConfig
impl<'de> Deserialize<'de> for P2PFlowConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for P2PFlowConfig
impl RefUnwindSafe for P2PFlowConfig
impl Send for P2PFlowConfig
impl Sync for P2PFlowConfig
impl Unpin for P2PFlowConfig
impl UnwindSafe for P2PFlowConfig
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