Magidoc

FinanceVendorPaymentRun
Object

An AP payment run: one sweep of everything ready to pay, grouped into one payment per vendor.

A draft run has moved no money — it is the selection, priced and grouped, for review. Posting it writes the payments and records the outcome of each group on this same document, so the run is the receipt of what was swept rather than a bulk write nobody can reconstruct.

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

glCompanyId

status

Non-null

paymentDate

Non-null

paymentAccountId

vendorAccountIds

[ID !]

The vendors the sweep was narrowed to, or null when it swept every vendor with something ready.

totalAmount

Non-null

groups

Non-null

postedAt

postedBy

createdAt

Non-null

createdBy

ID !
Non-null

modifiedAt

Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getVendorPaymentRuns from Query