pub struct DocumentFlowLinker { /* private fields */ }Expand description
Links document flow invoices to subledger records.
Implementations§
Source§impl DocumentFlowLinker
impl DocumentFlowLinker
Sourcepub fn create_ap_invoice_from_vendor_invoice(
&mut self,
vendor_invoice: &VendorInvoice,
) -> APInvoice
pub fn create_ap_invoice_from_vendor_invoice( &mut self, vendor_invoice: &VendorInvoice, ) -> APInvoice
Convert a document flow VendorInvoice to an AP subledger APInvoice.
This ensures that vendor invoices from the P2P flow create corresponding AP subledger records for complete data coherence.
Sourcepub fn create_ar_invoice_from_customer_invoice(
&mut self,
customer_invoice: &CustomerInvoice,
) -> ARInvoice
pub fn create_ar_invoice_from_customer_invoice( &mut self, customer_invoice: &CustomerInvoice, ) -> ARInvoice
Convert a document flow CustomerInvoice to an AR subledger ARInvoice.
This ensures that customer invoices from the O2C flow create corresponding AR subledger records for complete data coherence.
Sourcepub fn batch_create_ap_invoices(
&mut self,
vendor_invoices: &[VendorInvoice],
) -> Vec<APInvoice>
pub fn batch_create_ap_invoices( &mut self, vendor_invoices: &[VendorInvoice], ) -> Vec<APInvoice>
Batch convert multiple vendor invoices to AP invoices.
Sourcepub fn batch_create_ar_invoices(
&mut self,
customer_invoices: &[CustomerInvoice],
) -> Vec<ARInvoice>
pub fn batch_create_ar_invoices( &mut self, customer_invoices: &[CustomerInvoice], ) -> Vec<ARInvoice>
Batch convert multiple customer invoices to AR invoices.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocumentFlowLinker
impl RefUnwindSafe for DocumentFlowLinker
impl Send for DocumentFlowLinker
impl Sync for DocumentFlowLinker
impl Unpin for DocumentFlowLinker
impl UnwindSafe for DocumentFlowLinker
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