This connector provides data for the finance Accounts Payable screens /summary>
More...
|
static ALedgerTable | GetLedgerInfo (Int32 ALedgerNumber) |
| Retrieve all the information for the current Ledger More...
|
|
static AccountsPayableTDS | LoadAApSupplier (Int32 ALedgerNumber, Int64 APartnerKey, TDataBase ADataBase=null) |
| Loads Supplier and Partner. More...
|
|
static AccountsPayableTDS | LoadAApDocument (Int32 ALedgerNumber, Int32 AApDocumentId, TDataBase ADataBase=null) |
| Loads ApDocument row, and also Supplier, DocumentDetail, and AnalAttrib. More...
|
|
static AccountsPayableTDS | CreateAApDocument (Int32 ALedgerNumber, Int64 APartnerKey, bool ACreditNoteOrInvoice, TDataBase ADataBase=null) |
| Create a new AP document (invoice or credit note) and fill with default values from the supplier More...
|
|
static TSubmitChangesResult | SaveAApDocument (ref AccountsPayableTDS AInspectDS, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
| Store the AP Documents (and matching document details and analattribs). More...
|
|
static AccountsPayableTDS | CreateAApDocumentDetail (Int32 ALedgerNumber, Int32 AApDocumentId, string AApSupplier_DefaultExpAccount, string AApSupplier_DefaultCostCentre, decimal AAmount, Int32 ALastDetailNumber) |
| create a new AP document detail for an existing AP document; attention: need to modify the LastDetailNumber on the client side! More...
|
|
static String | CheckAccountsAndCostCentres (Int32 ALedgerNumber, List< String >AccountCodesCostCentres) |
| Check that the Account codes for an invoice can be used with the cost centres referenced. More...
|
|
static bool | ApproveAPDocuments (Int32 ALedgerNumber, List< Int32 >AApproveTheseDocs, out TVerificationResultCollection AVerificationResult) |
| Approve documents that have an OPEN status This is called by a client More...
|
|
static void | CancelAPDocuments (Int32 ALedgerNumber, List< Int32 >ACancelTheseDocs, bool ADeleteCancelledRows, TDataBase ADataBase=null) |
| Documents can only be deleted if they're not posted yet. More...
|
|
static bool | PostAPDocuments (Int32 ALedgerNumber, List< Int32 >AAPDocumentIds, DateTime APostingDate, Boolean Reversal, out Int32 AglBatchNumber, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
| creates GL transactions for the selected AP documents, and posts those GL transactions, and marks the AP documents as Posted Also used to "un-post" posted documents. More...
|
|
static bool | CreatePaymentTableEntries (ref AccountsPayableTDS ADataset, Int32 ALedgerNumber, List< Int32 >ADocumentsToPay) |
|
static bool | PostAPPayments (ref AccountsPayableTDS AMainDS, DateTime APostingDate, out Int32 AglBatchNumber, out AccountsPayableTDSAApPaymentTable ANewPayments, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
| Store payments in the database, and post the payment to GL More...
|
|
static AccountsPayableTDS | LoadAPPayment (Int32 ALedgerNumber, Int32 APaymentNumber, TDataBase ADataBase=null) |
| Load this payment, together with the supplier and all the related documents. More...
|
|
static bool | WasThisPaymentReversed (Int32 ALedgerNumber, Int32 APaymentNumber) |
|
static bool | ReversePayment (Int32 ALedgerNumber, Int32 APaymentNumber, DateTime APostingDate, out List< Int32 >AglBatchNumbers, out TVerificationResultCollection AVerifications, TDataBase ADataBase=null) |
| Create "balancing" documents that undo the effect of all the documents in this payment, then "pay" those documents, create new ones (duplicates of the originals), and post them. More...
|
|
This connector provides data for the finance Accounts Payable screens /summary>