View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Reference/Entity Model/FinancialMgmtDebtPaymentCancelV

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers_Guide/Reference/Entity_Model#FinancialMgmtDebtPaymentCancelV


FinancialMgmtDebtPaymentCancelV

Canceled debt payment tab allows the debt payment transformation into a generated debt payment. If you want to add new records in this tab, you must use the Create from button on the settlement tab. Once you have a cancelled debt payment, the only way to ed

To the database table (C_Debt_Payment_Cancel) of this entity.

Properties

Note:

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).
settlement C_Settlement_ID Mandatory
FinancialMgmtSettlement Termination of a business operation by using its assets to discharge its liabilities.
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 Mandatory
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.
bankStatementLine C_BankStatementLine_ID FinancialMgmtBankStatementLine The Bank Statement Line identifies a unique transaction (Payment, Withdrawal, Charge) for the defined time period at this Bank.
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
changeSettlementCancel ChangeSettlementCancel Mandatory
java.lang.Boolean
cancelProcessed Cancel_Processed Mandatory
java.lang.Boolean The settlement cancel is processed.
settlementGenerate C_Settlement_Generate_ID FinancialMgmtSettlement Refers to the settlement in which this Debt/Payment has been generated.
status Status Mandatory
Max Length: 60
java.lang.String Current status of a debt/payment.
withholding C_Withholding_ID FinancialMgmtWithholding The Withholding indicates the type of withholding to be calculated.
withholdingamount Withholdingamount java.math.BigDecimal


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 http://www.openbravo.com/legal/license.html
  * 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-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
 */
 package org.openbravo.model.financialmgmt.payment;
 
 import java.math.BigDecimal;
 import java.util.Date;
 
 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.ad.access.User;
 import org.openbravo.model.ad.system.Client;
 import org.openbravo.model.common.bank.BankAccount;
 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.financialmgmt.cashmgmt.BankStatementLine;
 import org.openbravo.model.financialmgmt.cashmgmt.CashBook;
 import org.openbravo.model.financialmgmt.cashmgmt.CashJournalLine;
 import org.openbravo.model.financialmgmt.tax.Withholding;
 /**
  * Entity class for entity FinancialMgmtDebtPaymentCancelV (stored in table C_Debt_Payment_Cancel).
  *
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
  */
 public class DebtPaymentCancelV extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "C_Debt_Payment_Cancel";
     public static final String ENTITY_NAME = "FinancialMgmtDebtPaymentCancelV";
     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_SETTLEMENT = "settlement";
     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_BANKSTATEMENTLINE = "bankStatementLine";
     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_CHANGESETTLEMENTCANCEL = "changeSettlementCancel";
     public static final String PROPERTY_CANCELPROCESSED = "cancelProcessed";
     public static final String PROPERTY_SETTLEMENTGENERATE = "settlementGenerate";
     public static final String PROPERTY_STATUS = "status";
     public static final String PROPERTY_WITHHOLDING = "withholding";
     public static final String PROPERTY_WITHHOLDINGAMOUNT = "withholdingamount";
 
     public DebtPaymentCancelV() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_RECEIPT, false);
         setDefaultValue(PROPERTY_PAYMENTCOMPLETE, false);
         setDefaultValue(PROPERTY_MANUAL, false);
         setDefaultValue(PROPERTY_VALID, false);
         setDefaultValue(PROPERTY_CHANGESETTLEMENTCANCEL, false);
         setDefaultValue(PROPERTY_CANCELPROCESSED, false);
     }
 
     @Override
     public String getEntityName() {
         return ENTITY_NAME;
     }
 
     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 getSettlement() {
         return (Settlement) get(PROPERTY_SETTLEMENT);
     }
 
     public void setSettlement(Settlement settlement) {
         set(PROPERTY_SETTLEMENT, settlement);
     }
 
     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 BankStatementLine getBankStatementLine() {
         return (BankStatementLine) get(PROPERTY_BANKSTATEMENTLINE);
     }
 
     public void setBankStatementLine(BankStatementLine bankStatementLine) {
         set(PROPERTY_BANKSTATEMENTLINE, bankStatementLine);
     }
 
     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 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 Settlement getSettlementGenerate() {
         return (Settlement) get(PROPERTY_SETTLEMENTGENERATE);
     }
 
     public void setSettlementGenerate(Settlement settlementGenerate) {
         set(PROPERTY_SETTLEMENTGENERATE, settlementGenerate);
     }
 
     public String getStatus() {
         return (String) get(PROPERTY_STATUS);
     }
 
     public void setStatus(String status) {
         set(PROPERTY_STATUS, status);
     }
 
     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);
     }
 
 }

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Reference/Entity_Model/FinancialMgmtDebtPaymentCancelV"

This page has been accessed 764 times. This page was last modified on 5 August 2014, at 13:53. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.