📚 SAP Business One SDK Help

Payments Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new Payment object to SAP Business One company database.
Public Method CancelCancels a payment transaction. The cancellation date of the transaction is the original document date.
Public Method CancelbyCurrentSystemDatemethod CancelbyCurrentSystemDate
Public Method CloseCloses a record of the object in SAP Business One database.
Public Method GetApprovalTemplatesGets the related approval template.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method HandleApprovalRequestHandling of incoming payment object and received response from webservice.
Public Method RemoveDeletes a record from the object table.
Public Method RequestApproveCancellationmethod RequestApproveCancellation
Public Method SaveDraftToDocumentConverts an approved draft document to a valid document.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AccountPaymentsReturns the Payments_Accounts object that represents the payments through account transfers.
Public Property AddressSets or returns the Bill To address of the business partner.

Field name: Address.

Length: 254 characters.

Public Property AllocationNumberILAllocation number. This field is only available in the Israel localization.

Field name: AllocNum.

Length: 50 characters.

Public Property ApplyVATSets or returns a valid value of BoYesNoEnum type that specifies whether or not to apply a tax to this payment.

Field name: ApplyVAT.

Public Property AttachmentEntryproperty AttachmentEntry
Public Property AuthorizationStatusReturns the status of the authorization for this payment.

Field name: wddStatus.

Public Property BankAccountSets or returns the bank account number used for this payment.

Field name: BankAcct.

Length: 50 characters.

Public Property BankChargeAmountSets or returns the bank charge amount.

Field name: BcgSum.

Public Property BankChargeAmountInFCReturns the bank charge amount in foreign currency.

Field name: BcgSumFC.

Public Property BankChargeAmountInSCReturns the bank charge amount in system currency.

Field name: BcgSumSy.

Public Property BankCodeSets or returns the bank code for bank transfer.

Field name: BankCode.

Length: 30 characters.

Public Property BillOfExchangeReturns the BillOfExchange object.
Public Property BillOfExchangeAgentSets or returns the code of the company employee responsible for the collection and management of bill of exchange transactions.

Field name: BoeAgent.

Length: 32 characters.

This is a foreign key to the Agent Name table (OAGP), not exposed through the DI API).

Public Property BillOfExchangeAmountSets or returns the total amount of payment using a Bill Of Exchange document in local currency.

Field name: BoeSum.

Public Property BillOfExchangeAmountFCReturns the total amount of payment using a Bill Of Exchange document in foreign currency.

Field name: BoeSumFc.

Public Property BillOfExchangeAmountSCReturns the total amount of payment using a Bill Of Exchange document in system currency.

Field name: BoeSumSc.

Public Property BillofExchangeStatusSets or returns a valid value of BoBoeStatus type that specifies the status of the Bill Of Exchange.

Field name: BoeStatus.

Public Property BlanketAgreementproperty BlanketAgreement
Public Property BoeAccountSets or returns the control G/L account that is used in the Bill Of Exchange transactions.

Field name: BoeAcc.

Length: 15 characters.

Public Property BPLIDproperty BPLID
Public Property BPLNameproperty BPLName
Public Property BrowserReturns the DataBrowser object.
Public Property CancelledIndicates whether the payment was cancelled.
Public Property CancelStatusproperty CancelStatus
Public Property CardCodeSets or returns the business partner code or the account code.

Field name: CardCode.

Length: 15 characters.

This is a foreign key to the BusinessPartnersService object.

Public Property CardNameSets or returns the business partner's full name.

Field name: CardFName.

Length: 100 characters.

Public Property CashAccountSets or returns the cash G/L account used for this payment.

Field name: CashAcct.

Length: 15 characters.

Public Property CashSumSets or returns the amount of cash in the current payment in local currency.

Field name: CashSum.

Mandatory property.

Public Property CashSumFCReturns the amount of cash in the current payment in foreign currency.

Field name: CashSumFC.

Public Property CashSumSysReturns the amount of cash in the current payment in system currency.

Field name: CheckSumSy.

Public Property CertificationNumberproperty CertificationNumber
Public Property CheckAccountSets or returns the check G/L account used for this payment.

Field name: CheckAcct.

Length: 15 characters.

Public Property ChecksReturns the Payments_Checks child object that represents the payments through checks.
Public Property Cigproperty Cig
Public Property ContactPersonCodeSets or returns the contact person code of the specified business partner in this payment. Field name: CntctCode.

This is a foreign key to the ContactEmployees object.

Public Property ControlAccountThe control account for this document.

Field name: BpAct

This is a foreign key to the ChartOfAccounts object.

Public Property CounterReferenceSets or returns reference information about the payment.

Field name: CounterRef.

Length: 8 characters.

Public Property CreditCardsReturns the Payments_CreditCards child object that represents the payments through credit cards.
Public Property Cupproperty Cup
Public Property DeductionPercentSets or returns the deduction percentage.

Field name: DdctPrcnt.

Public Property DeductionSumSets or returns the calculated deduction amount.

Field name: DdctSum.

Public Property DigitalPaymentsIndicates whether it uses digital payment.

Field name: DigPayment.

Public Property DocCurrencySets or returns the document code of the currency used in this payment.

Field name: DocCurr.

Length: 3 characters.

Public Property DocDateSets or returns the posting date of the payment document.

Field name: VatDate.

Public Property DocEntryReturns the document entry key that uniquely identifies the payment document.

Field name: DocEntry.

Public Property DocNumSets or returns the payment document number.

Field name: DocNum.

Public Property DocObjectCodeSets or returns a valid value of BoPaymentsObjectType type that specifies the payments document type.
Public Property DocRateSets or returns the exchange rate (greater than 0) related to the local currency.

Field name: DocRate.

Public Property DocTypeSets or returns a valid value of BoRcptTypes type that specifies the payment recipient (replaces the DocTypte property).

Field name: DocType.

Public Property DocTypteSets or returns a valid value of BoRcptTypes type that specifies the payment recipient.
Public Property DocumentReferencesproperty DocumentReferences
Public Property DueDateSets or returns the due date of the check.

Field name: DueDate.

Public Property EDocExportFormatDocument Export Format
Public Property ElecCommMessageLog Message
Public Property ElecCommStatusCommunication Status
Public Property ElectronicProtocolsproperty ElectronicProtocols
Public Property HandWrittenSets or returns a valid value of BoYesNoEnum type that specifies whether or not this payment is based on a handwritten document.

Field name: Handwrtten.

Public Property InvoicesReturns the Payments_Invoices child object that represents the invoice data for this payment.
Public Property IsPayToBankSets or returns a valid value of BoYesNoEnum type that specifies whether to specify the bank details or only the PaytoCode for the outgoing payment.

Field name: IsPaytoBnk.

Public Property JournalRemarksSets or returns the remarks to the journal entry of this payment.

Field name: .

Length: 50 characters.

Public Property LocalCurrencySets or returns a valid value of BoYesNoEnum type that specifies whether or not the payment uses local currency.

Field name: DiffCurr.

Public Property LocationCodeSets or returns the location code in incoming and outgoing payments.

Applicable for cluster B.

Field name: LocCode.

Public Property PaymentByWTCertifproperty PaymentByWTCertif
Public Property PaymentPrioritySets or returns a valid value of BoPaymentPriorities type that specifies the payment priority.

Field name: PaPriority.

Public Property PaymentReferenceNoSets or returns the number of the payment reference for the payment.

Field name: PaymentRef.

Length: 27 characters.

Public Property Payments_ApprovalRequestsReturns the Payments_ApprovalRequests object.
Public Property PaymentTypeSets or returns a valid value of Payment Type (Object Type).

Field name: ObjType.

Public Property PayToBankAccountNoSets or returns the bank account number for the outgoing payment.

Field name: PBnkAccnt.

Length: 50 characters.

Public Property PayToBankBranchSets or returns the bank branch for the outgoing payment.

Field name: PBnkBranch.

Length: 50 characters.

Public Property PayToBankCodeSets or returns the bank code for the outgoing payment.

Field name: PBnkCode.

Length: 30 characters.

Public Property PayToBankCountrySets or returns the bank country for the outgoing payment.

Field name: PBnkCnt.

Length: 3 characters.

This is a foreign key to the Countries table (OCRY - not exposed through the DI API).

Public Property PayToCodeSets or returns the destination code for the outgoing payment.

Field name: PayToCode.

Length: 50 characters.

Public Property PrimaryFormItemsproperty PrimaryFormItems
Public Property PrintedReturns a valid value of BoYesNoEnum type that specifies whether or not the payment document was printed.

Field name: Printed.

Public Property PrivateKeyVersionproperty PrivateKeyVersion
Public Property ProformaReturns a valid value of BoYesNoEnum type that specifies whether or not the payment refers to a Pro-Forma invoice.

Field name: Proforma.

Public Property ProjectCodeSets or returns the project code that the payment refers to.

Field name: PrjCode.

Length: 8 characters.

This is a foreign key to the Projects table (OPRJ - not exposed through the DI API).

Public Property Reference1Sets or returns the first reference code of the payment.

Field name: Ref1.

Length: 11 characters.

Public Property Reference2Sets or returns the second reference code of the payment.

Field name: Ref2.

Length: 8 characters.

Public Property RemarksSets or returns the remarks to this payment.

Field name: Comments.

Length: 254 characters.

Public Property SeriesSets or returns the auto-number series that generated the document number.

Field name: Series.

This is a foreign key to the Series object.

Public Property SignatureDigestproperty SignatureDigest
Public Property SignatureInputMessageproperty SignatureInputMessage
Public Property SplitVendorCreditRowSplits journal entries of an outgoing payment in credit card installments.
Public Property TaxDateSets or returns the date for the tax calculation or payment.

Field name: TaxDate.

Public Property TaxGroupSets or returns the VAT group.

Field name: VatGroup.

Length: 8 characters.

This is a foreign key to the VatGroups object.

Public Property TransactionCodeSets or returns the transaction code of incoming payment.

Field name: TransCode.

This is a foreign key to the Journal Entry Codes table (OTRC), not exposed through the DI API).

Public Property TransferAccountSets or returns the G/L account number for the payment Transfer Account.

Field name: TrsfrAcct.

Length: 15 characters.

Public Property TransferDateSets or returns the date of the payment transfer to the bank.

Field name: TrsfrDate.

Public Property TransferRealAmountSets or returns the Transfer Real Amount in payment document.

Field name: TfrRealAmt.

The object is applicable for SAP Business One 2004C CEE (country-specific for Russia).

Public Property TransferReferenceSets or returns the reference information for the bank transfer payment means.

Field name: TrsfrRef.

Length: 27 characters.

Public Property TransferSumSets or returns the total payments Transfer Amount.

Field name: TrsfrSum.

Mandatory property.

Public Property UnderOverpaymentdifferenceSets or returns the Under / Over payment Difference.

Field name: UndOvDiff.

Public Property UnderOverpaymentdiffFCproperty UnderOverpaymentdiffFC
Public Property UnderOverpaymentdiffSCSets or returns the Under / Overpayment Difference in System Currency.

Field name: UndOvDiffS.

Public Property UserFieldsReturns the UserFields object.
Public Property VatDateSets or returns the Vat payment date (Document Date).

Field name: TaxDate.

Public Property VATRegNumproperty VATRegNum
Public Property WithholdingTaxCertificatesproperty WithholdingCertificate
Public Property WithholdingTaxDataWTXproperty WithholdingTaxDataWTX
Public Property WTAccountReturns the withholding account.

Field name: WtAccount.

Length: 15 characters.

This is a foreign key to the ChartOfAccounts object.

Public Property WTAmountSets or returns the total withholding tax amount (in local currency) related to the payment.

Field name: WtSum.

Public Property WTAmountFCReturns the total withholding tax amount (in foreign currency) related to the payment.

Field name: WtSumFrgn.

Public Property WTAmountSCReturns the total withholding tax amount (in system currency) related to the payment.

Field name: WtSumSys.

Public Property WtBaseSumSets or returns the Base sum for vat calculation.

Field name: WtBaseSum.

Public Property WtBaseSumFCSets or returns the Withholding Tax Base Sum in Foreign Currency.

Field name: WtBaseSumF.

Public Property WtBaseSumSCSets or returns the Withholding Tax Base Sum in System Currency.

Field name: WtSumSys.

Public Property WTCodeSets or returns the withholding tax code assigend to the payment.

Length: 4 characters.

This is a foreign key to WithholdingTaxCodes object.

Field name: WtCode.

Public Property WTTaxableAmountReturns the withholding taxable amount of the payment.

Field name: WtBaseAmnt.

See Also