View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Reference/Entity Model/FinancialMgmtDebtPayment


Refers to the amount of money to be paid or collected.

To the database table (C_Debt_Payment) of this entity.

Back to the entity model.



Property Column Constraints Type Description
id* C_Debt_Payment_ID Mandatory
Max Length: 32
java.lang.String Refers to the amount of money to be paid or collected.
client AD_Client_ID Mandatory ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active IsActive Mandatory java.lang.Boolean There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

creationDate Created Mandatory java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy Mandatory ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy Mandatory ADUser The Updated By field indicates the user who updated this record.
receipt# IsReceipt Mandatory java.lang.Boolean Indicated a sales transaction (Accounts Receivable if Receipt=Y) or a purchase transaction (Accounts Payable if Receipt=N).
settlementCancelled C_Settlement_Cancel_ID FinancialMgmtSettlement Identifier of a settlement in which this Payment has been cancelled.
settlementGenerate C_Settlement_Generate_ID FinancialMgmtSettlement Refers to the settlement in which this Debt/Payment has been generated.
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
invoice C_Invoice_ID Invoice The Invoice ID uniquely identifies an Invoice Document.
businessPartner# C_BPartner_ID BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
currency C_Currency_ID Mandatory Currency Indicates the currency to be used when processing this document.
cashJournalLine C_CashLine_ID FinancialMgmtJournalLine The Cash Journal Line indicates a unique line in a cash journal.
bankAccount C_BankAccount_ID BankAccount The Bank Account identifies an account at this Bank.
cashbook C_CashBook_ID FinancialMgmtCashBook The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.
formOfPayment# PaymentRule Mandatory
Max Length: 60
java.lang.String Form of Payment indicates the method of payment used for this transaction (eg. cash, wire transfer, etc.)
paymentComplete IsPaid Mandatory java.lang.Boolean The document is paid for.
amount# Amount Mandatory java.math.BigDecimal The Amount indicates the amount for this document line.
writeoffAmount WriteOffAmt java.math.BigDecimal The Write Off Amount indicates the amount to be written off as uncollectible.
dueDate# Dateplanned Mandatory java.util.Date Refers to a date by which the payment must be completed.
manual IsManual Mandatory java.lang.Boolean The Manual check box indicates if the process will done manually.
valid IsValid Mandatory java.lang.Boolean The element passed the validation check
bankStatementLine C_BankStatementLine_ID FinancialMgmtBankStatementLine The Bank Statement Line identifies a unique transaction (Payment, Withdrawal, Charge) for the defined time period at this Bank.
changeSettlementCancel Changesettlementcancel Mandatory java.lang.Boolean
cancelProcessed Cancel_Processed Mandatory java.lang.Boolean The settlement cancel is processed.
generateProcessed Generate_Processed Mandatory java.lang.Boolean The settlement generate is processed.
balancingAmount GLItemAmt java.math.BigDecimal
directPosting Isdirectposting Mandatory java.lang.Boolean Direct Posting
gLItem C_Glitem_ID FinancialMgmtGLItem General ledger item.
salesOrder C_Order_ID Order Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
isAutomaticGenerated IsAutomaticGenerated java.lang.Boolean It is automatically generated.
status Status Mandatory
Max Length: 60
java.lang.String Current status of a debt/payment.
initialStatus Status_Initial Max Length: 60 java.lang.String Status of a payment upon creation.
withholding C_Withholding_ID FinancialMgmtWithholding The Withholding indicates the type of withholding to be calculated.
withholdingamount Withholdingamount java.math.BigDecimal
financialMgmtDebtPaymentBalReplaceList List of FinancialMgmtDebtPaymentBalReplace
financialMgmtDebtPaymentBalancingList List of FinancialMgmtDebtPaymentBalancing

Java Entity Class

 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
package org.openbravo.model.financialmgmt.payment;
import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.base.structure.Traceable;
import org.openbravo.model.common.businesspartner.BusinessPartner;
import org.openbravo.model.common.currency.Currency;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.invoice.Invoice;
import org.openbravo.model.common.order.Order;
import org.openbravo.model.financialmgmt.cashmgmt.BankStatementLine;
import org.openbravo.model.financialmgmt.cashmgmt.CashBook;
import org.openbravo.model.financialmgmt.cashmgmt.CashJournalLine;
import org.openbravo.model.project.Project;
import java.lang.Boolean;
import java.lang.String;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 * Entity class for entity FinancialMgmtDebtPayment (stored in table C_Debt_Payment).
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
public class DebtPayment extends BaseOBObject implements Traceable,
    ClientEnabled, OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "C_Debt_Payment";
    public static final String FinancialMgmtDebtPayment = "FinancialMgmtDebtPayment";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_RECEIPT = "receipt";
    public static final String PROPERTY_SETTLEMENTCANCELLED =
    public static final String PROPERTY_SETTLEMENTGENERATE =
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_INVOICE = "invoice";
    public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
    public static final String PROPERTY_CURRENCY = "currency";
    public static final String PROPERTY_CASHJOURNALLINE = "cashJournalLine";
    public static final String PROPERTY_BANKACCOUNT = "bankAccount";
    public static final String PROPERTY_CASHBOOK = "cashbook";
    public static final String PROPERTY_FORMOFPAYMENT = "formOfPayment";
    public static final String PROPERTY_PAYMENTCOMPLETE = "paymentComplete";
    public static final String PROPERTY_AMOUNT = "amount";
    public static final String PROPERTY_WRITEOFFAMOUNT = "writeoffAmount";
    public static final String PROPERTY_DUEDATE = "dueDate";
    public static final String PROPERTY_MANUAL = "manual";
    public static final String PROPERTY_VALID = "valid";
    public static final String PROPERTY_BANKSTATEMENTLINE = "bankStatementLine";
    public static final String PROPERTY_CHANGESETTLEMENTCANCEL =
    public static final String PROPERTY_CANCELPROCESSED = "cancelProcessed";
    public static final String PROPERTY_GENERATEPROCESSED = "generateProcessed";
    public static final String PROPERTY_BALANCINGAMOUNT = "balancingAmount";
    public static final String PROPERTY_DIRECTPOSTING = "directPosting";
    public static final String PROPERTY_GLITEM = "gLItem";
    public static final String PROPERTY_SALESORDER = "salesOrder";
    public static final String PROPERTY_PROJECT = "project";
    public static final String PROPERTY_ISAUTOMATICGENERATED =
    public static final String PROPERTY_STATUS = "status";
    public static final String PROPERTY_INITIALSTATUS = "initialStatus";
    public static final String PROPERTY_WITHHOLDING = "withholding";
    public static final String PROPERTY_WITHHOLDINGAMOUNT = "withholdingamount";
    public DebtPayment() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_PAYMENTCOMPLETE, false);
        setDefaultValue(PROPERTY_AMOUNT, new BigDecimal(0));
        setDefaultValue(PROPERTY_WRITEOFFAMOUNT, new BigDecimal(0));
        setDefaultValue(PROPERTY_MANUAL, false);
        setDefaultValue(PROPERTY_VALID, false);
        setDefaultValue(PROPERTY_CHANGESETTLEMENTCANCEL, false);
        setDefaultValue(PROPERTY_CANCELPROCESSED, false);
        setDefaultValue(PROPERTY_GENERATEPROCESSED, false);
        setDefaultValue(PROPERTY_BALANCINGAMOUNT, new BigDecimal(0));
        setDefaultValue(PROPERTY_DIRECTPOSTING, false);
        setDefaultValue(PROPERTY_ISAUTOMATICGENERATED, false);
        setDefaultValue(PROPERTY_STATUS, "DE");
        setDefaultValue(PROPERTY_INITIALSTATUS, "DE");
        setDefaultValue(PROPERTY_WITHHOLDINGAMOUNT, new BigDecimal(0));
            new ArrayList<Object>());
            new ArrayList<Object>());
    public String getEntityName() {
        return FinancialMgmtDebtPayment;
    public String getId() {
        return (String) get(PROPERTY_ID);
    public void setId(String id) {
        set(PROPERTY_ID, id);
    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    public User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    public Boolean isReceipt() {
        return (Boolean) get(PROPERTY_RECEIPT);
    public void setReceipt(Boolean receipt) {
        set(PROPERTY_RECEIPT, receipt);
    public Settlement getSettlementCancelled() {
        return (Settlement) get(PROPERTY_SETTLEMENTCANCELLED);
    public void setSettlementCancelled(Settlement settlementCancelled) {
        set(PROPERTY_SETTLEMENTCANCELLED, settlementCancelled);
    public Settlement getSettlementGenerate() {
        return (Settlement) get(PROPERTY_SETTLEMENTGENERATE);
    public void setSettlementGenerate(Settlement settlementGenerate) {
        set(PROPERTY_SETTLEMENTGENERATE, settlementGenerate);
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    public Invoice getInvoice() {
        return (Invoice) get(PROPERTY_INVOICE);
    public void setInvoice(Invoice invoice) {
        set(PROPERTY_INVOICE, invoice);
    public BusinessPartner getBusinessPartner() {
        return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
    public void setBusinessPartner(BusinessPartner businessPartner) {
        set(PROPERTY_BUSINESSPARTNER, businessPartner);
    public Currency getCurrency() {
        return (Currency) get(PROPERTY_CURRENCY);
    public void setCurrency(Currency currency) {
        set(PROPERTY_CURRENCY, currency);
    public CashJournalLine getCashJournalLine() {
        return (CashJournalLine) get(PROPERTY_CASHJOURNALLINE);
    public void setCashJournalLine(CashJournalLine cashJournalLine) {
        set(PROPERTY_CASHJOURNALLINE, cashJournalLine);
    public BankAccount getBankAccount() {
        return (BankAccount) get(PROPERTY_BANKACCOUNT);
    public void setBankAccount(BankAccount bankAccount) {
        set(PROPERTY_BANKACCOUNT, bankAccount);
    public CashBook getCashbook() {
        return (CashBook) get(PROPERTY_CASHBOOK);
    public void setCashbook(CashBook cashbook) {
        set(PROPERTY_CASHBOOK, cashbook);
    public String getFormOfPayment() {
        return (String) get(PROPERTY_FORMOFPAYMENT);
    public void setFormOfPayment(String formOfPayment) {
        set(PROPERTY_FORMOFPAYMENT, formOfPayment);
    public Boolean isPaymentComplete() {
        return (Boolean) get(PROPERTY_PAYMENTCOMPLETE);
    public void setPaymentComplete(Boolean paymentComplete) {
        set(PROPERTY_PAYMENTCOMPLETE, paymentComplete);
    public BigDecimal getAmount() {
        return (BigDecimal) get(PROPERTY_AMOUNT);
    public void setAmount(BigDecimal amount) {
        set(PROPERTY_AMOUNT, amount);
    public BigDecimal getWriteoffAmount() {
        return (BigDecimal) get(PROPERTY_WRITEOFFAMOUNT);
    public void setWriteoffAmount(BigDecimal writeoffAmount) {
        set(PROPERTY_WRITEOFFAMOUNT, writeoffAmount);
    public Date getDueDate() {
        return (Date) get(PROPERTY_DUEDATE);
    public void setDueDate(Date dueDate) {
        set(PROPERTY_DUEDATE, dueDate);
    public Boolean isManual() {
        return (Boolean) get(PROPERTY_MANUAL);
    public void setManual(Boolean manual) {
        set(PROPERTY_MANUAL, manual);
    public Boolean isValid() {
        return (Boolean) get(PROPERTY_VALID);
    public void setValid(Boolean valid) {
        set(PROPERTY_VALID, valid);
    public BankStatementLine getBankStatementLine() {
        return (BankStatementLine) get(PROPERTY_BANKSTATEMENTLINE);
    public void setBankStatementLine(BankStatementLine bankStatementLine) {
        set(PROPERTY_BANKSTATEMENTLINE, bankStatementLine);
    public Boolean isChangeSettlementCancel() {
        return (Boolean) get(PROPERTY_CHANGESETTLEMENTCANCEL);
    public void setChangeSettlementCancel(Boolean changeSettlementCancel) {
        set(PROPERTY_CHANGESETTLEMENTCANCEL, changeSettlementCancel);
    public Boolean isCancelProcessed() {
        return (Boolean) get(PROPERTY_CANCELPROCESSED);
    public void setCancelProcessed(Boolean cancelProcessed) {
        set(PROPERTY_CANCELPROCESSED, cancelProcessed);
    public Boolean isGenerateProcessed() {
        return (Boolean) get(PROPERTY_GENERATEPROCESSED);
    public void setGenerateProcessed(Boolean generateProcessed) {
        set(PROPERTY_GENERATEPROCESSED, generateProcessed);
    public BigDecimal getBalancingAmount() {
        return (BigDecimal) get(PROPERTY_BALANCINGAMOUNT);
    public void setBalancingAmount(BigDecimal balancingAmount) {
        set(PROPERTY_BALANCINGAMOUNT, balancingAmount);
    public Boolean isDirectPosting() {
        return (Boolean) get(PROPERTY_DIRECTPOSTING);
    public void setDirectPosting(Boolean directPosting) {
        set(PROPERTY_DIRECTPOSTING, directPosting);
    public GLItem getGLItem() {
        return (GLItem) get(PROPERTY_GLITEM);
    public void setGLItem(GLItem gLItem) {
        set(PROPERTY_GLITEM, gLItem);
    public Order getSalesOrder() {
        return (Order) get(PROPERTY_SALESORDER);
    public void setSalesOrder(Order salesOrder) {
        set(PROPERTY_SALESORDER, salesOrder);
    public Project getProject() {
        return (Project) get(PROPERTY_PROJECT);
    public void setProject(Project project) {
        set(PROPERTY_PROJECT, project);
    public Boolean isAutomaticGenerated() {
        return (Boolean) get(PROPERTY_ISAUTOMATICGENERATED);
    public void setAutomaticGenerated(Boolean isAutomaticGenerated) {
        set(PROPERTY_ISAUTOMATICGENERATED, isAutomaticGenerated);
    public String getStatus() {
        return (String) get(PROPERTY_STATUS);
    public void setStatus(String status) {
        set(PROPERTY_STATUS, status);
    public String getInitialStatus() {
        return (String) get(PROPERTY_INITIALSTATUS);
    public void setInitialStatus(String initialStatus) {
        set(PROPERTY_INITIALSTATUS, initialStatus);
    public Withholding getWithholding() {
        return (Withholding) get(PROPERTY_WITHHOLDING);
    public void setWithholding(Withholding withholding) {
        set(PROPERTY_WITHHOLDING, withholding);
    public BigDecimal getWithholdingamount() {
        return (BigDecimal) get(PROPERTY_WITHHOLDINGAMOUNT);
    public void setWithholdingamount(BigDecimal withholdingamount) {
        set(PROPERTY_WITHHOLDINGAMOUNT, withholdingamount);
    public List<DebtPaymentBalReplace> getFinancialMgmtDebtPaymentBalReplaceList() {
    public void setFinancialMgmtDebtPaymentBalReplaceList(
        List<DebtPaymentBalReplace> financialMgmtDebtPaymentBalReplaceList) {
    public List<DebtPaymentBalancing> getFinancialMgmtDebtPaymentBalancingList() {
    public void setFinancialMgmtDebtPaymentBalancingList(
        List<DebtPaymentBalancing> financialMgmtDebtPaymentBalancingList) {

Retrieved from ""

This page has been accessed 1,417 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.