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

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


ERP/3.0/Developers Guide/Reference/Entity Model/FIN Payment ScheduleDetail

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#FIN_Payment_ScheduleDetail


To the database table (FIN_Payment_ScheduleDetail) of this entity.



Property Column Constraints Type Description
id* FIN_Payment_Scheduledetail_ID Mandatory
Max Length: 32
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.
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.
paymentDetails# FIN_Payment_Detail_ID FIN_Payment_Detail
orderPaymentSchedule# FIN_Payment_Schedule_Order FIN_Payment_Schedule
invoicePaymentSchedule# FIN_Payment_Schedule_Invoice FIN_Payment_Schedule
amount# Amount Mandatory
active Isactive 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.

writeoffAmount Writeoffamt java.math.BigDecimal The Write Off Amount indicates the amount to be written off as uncollectible.
canceled Iscanceled Mandatory
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.
activity C_Activity_ID MaterialMgmtABCActivity Activities indicate tasks that are performed and used to utilize Activity based Costing
product M_Product_ID Product Identifies an item which is either purchased or sold in this organization.
salesCampaign C_Campaign_ID MarketingCampaign The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
salesRegion C_Salesregion_ID SalesRegion The Sales Region indicates a specific area of sales coverage.
costCenter C_Costcenter_ID Costcenter Division that adds to the cost of an organization. Internal structure for cost allocation.
stDimension User1_ID UserDimension1 The user defined element displays the optional elements that have been defined for this account combination.
ndDimension User2_ID UserDimension2 The user defined element displays the optional elements that have been defined for this account combination.
doubtfulDebtAmount DoubtfulDebt_Amount Mandatory
java.math.BigDecimal Doubtful Debt Amount
invoicePaid Isinvoicepaid Mandatory
java.lang.Boolean A flag indicating whether this document type is consider paid or not.
dueDate DueDate java.util.Date Date when the payment is due without deductions or discount
aPRMFinancialAccount EM_APRM_FinancialAccount FIN_Financial_Account Financial Account in sales invoice details
aPRMPaymentMethod EM_APRM_PaymentMethod FIN_PaymentMethod Payment Method in Sales Invoice
expected ExpectedAmount java.math.BigDecimal
invoiceAmount InvoiceAmount java.math.BigDecimal
fINPaymentPropDetailList FIN_Payment_Prop_Detail

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-2019 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
 package org.openbravo.model.financialmgmt.payment;
 import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 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.enterprise.Organization;
 import org.openbravo.model.common.plm.Product;
 import org.openbravo.model.financialmgmt.accounting.Costcenter;
 import org.openbravo.model.financialmgmt.accounting.UserDimension1;
 import org.openbravo.model.financialmgmt.accounting.UserDimension2;
 import org.openbravo.model.materialmgmt.cost.ABCActivity;
 import org.openbravo.model.project.Project;
 import org.openbravo.model.sales.SalesRegion;
  * Entity class for entity FIN_Payment_ScheduleDetail (stored in table FIN_Payment_ScheduleDetail).
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 public class FIN_PaymentScheduleDetail extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "FIN_Payment_ScheduleDetail";
     public static final String ENTITY_NAME = "FIN_Payment_ScheduleDetail";
     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_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_PAYMENTDETAILS = "paymentDetails";
     public static final String PROPERTY_ORDERPAYMENTSCHEDULE = "orderPaymentSchedule";
     public static final String PROPERTY_INVOICEPAYMENTSCHEDULE = "invoicePaymentSchedule";
     public static final String PROPERTY_AMOUNT = "amount";
     public static final String PROPERTY_ACTIVE = "active";
     public static final String PROPERTY_WRITEOFFAMOUNT = "writeoffAmount";
     public static final String PROPERTY_CANCELED = "canceled";
     public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
     public static final String PROPERTY_ACTIVITY = "activity";
     public static final String PROPERTY_PRODUCT = "product";
     public static final String PROPERTY_SALESCAMPAIGN = "salesCampaign";
     public static final String PROPERTY_PROJECT = "project";
     public static final String PROPERTY_SALESREGION = "salesRegion";
     public static final String PROPERTY_COSTCENTER = "costCenter";
     public static final String PROPERTY_STDIMENSION = "stDimension";
     public static final String PROPERTY_NDDIMENSION = "ndDimension";
     public static final String PROPERTY_DOUBTFULDEBTAMOUNT = "doubtfulDebtAmount";
     public static final String PROPERTY_INVOICEPAID = "invoicePaid";
     public static final String PROPERTY__COMPUTEDCOLUMNS = "_computedColumns";
     public static final String PROPERTY_FINPAYMENTPROPDETAILLIST = "fINPaymentPropDetailList";
     // Computed columns properties, these properties cannot be directly accessed, they need
     // to be read through _commputedColumns proxy. They cannot be directly used in HQL, OBQuery
     // nor OBCriteria. 
     public static final String COMPUTED_COLUMN_DUEDATE = "dueDate";
     public static final String COMPUTED_COLUMN_APRMFINANCIALACCOUNT = "aPRMFinancialAccount";
     public static final String COMPUTED_COLUMN_APRMPAYMENTMETHOD = "aPRMPaymentMethod";
     public static final String COMPUTED_COLUMN_EXPECTED = "expected";
     public static final String COMPUTED_COLUMN_INVOICEAMOUNT = "invoiceAmount";
     public FIN_PaymentScheduleDetail() {
         setDefaultValue(PROPERTY_CREATIONDATE, new Date());
         setDefaultValue(PROPERTY_UPDATED, new Date());
         setDefaultValue(PROPERTY_AMOUNT, new BigDecimal(0));
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_WRITEOFFAMOUNT, new BigDecimal(0));
         setDefaultValue(PROPERTY_CANCELED, false);
         setDefaultValue(PROPERTY_DOUBTFULDEBTAMOUNT, new BigDecimal(0));
         setDefaultValue(PROPERTY_INVOICEPAID, false);
         setDefaultValue(PROPERTY_FINPAYMENTPROPDETAILLIST, new ArrayList<Object>());
     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 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 FIN_PaymentDetail getPaymentDetails() {
         return (FIN_PaymentDetail) get(PROPERTY_PAYMENTDETAILS);
     public void setPaymentDetails(FIN_PaymentDetail paymentDetails) {
         set(PROPERTY_PAYMENTDETAILS, paymentDetails);
     public FIN_PaymentSchedule getOrderPaymentSchedule() {
         return (FIN_PaymentSchedule) get(PROPERTY_ORDERPAYMENTSCHEDULE);
     public void setOrderPaymentSchedule(FIN_PaymentSchedule orderPaymentSchedule) {
         set(PROPERTY_ORDERPAYMENTSCHEDULE, orderPaymentSchedule);
     public FIN_PaymentSchedule getInvoicePaymentSchedule() {
         return (FIN_PaymentSchedule) get(PROPERTY_INVOICEPAYMENTSCHEDULE);
     public void setInvoicePaymentSchedule(FIN_PaymentSchedule invoicePaymentSchedule) {
         set(PROPERTY_INVOICEPAYMENTSCHEDULE, invoicePaymentSchedule);
     public BigDecimal getAmount() {
         return (BigDecimal) get(PROPERTY_AMOUNT);
     public void setAmount(BigDecimal amount) {
         set(PROPERTY_AMOUNT, amount);
     public Boolean isActive() {
         return (Boolean) get(PROPERTY_ACTIVE);
     public void setActive(Boolean active) {
         set(PROPERTY_ACTIVE, active);
     public BigDecimal getWriteoffAmount() {
         return (BigDecimal) get(PROPERTY_WRITEOFFAMOUNT);
     public void setWriteoffAmount(BigDecimal writeoffAmount) {
         set(PROPERTY_WRITEOFFAMOUNT, writeoffAmount);
     public Boolean isCanceled() {
         return (Boolean) get(PROPERTY_CANCELED);
     public void setCanceled(Boolean canceled) {
         set(PROPERTY_CANCELED, canceled);
     public BusinessPartner getBusinessPartner() {
         return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
     public void setBusinessPartner(BusinessPartner businessPartner) {
         set(PROPERTY_BUSINESSPARTNER, businessPartner);
     public ABCActivity getActivity() {
         return (ABCActivity) get(PROPERTY_ACTIVITY);
     public void setActivity(ABCActivity activity) {
         set(PROPERTY_ACTIVITY, activity);
     public Product getProduct() {
         return (Product) get(PROPERTY_PRODUCT);
     public void setProduct(Product product) {
         set(PROPERTY_PRODUCT, product);
     public Campaign getSalesCampaign() {
         return (Campaign) get(PROPERTY_SALESCAMPAIGN);
     public void setSalesCampaign(Campaign salesCampaign) {
         set(PROPERTY_SALESCAMPAIGN, salesCampaign);
     public Project getProject() {
         return (Project) get(PROPERTY_PROJECT);
     public void setProject(Project project) {
         set(PROPERTY_PROJECT, project);
     public SalesRegion getSalesRegion() {
         return (SalesRegion) get(PROPERTY_SALESREGION);
     public void setSalesRegion(SalesRegion salesRegion) {
         set(PROPERTY_SALESREGION, salesRegion);
     public Costcenter getCostCenter() {
         return (Costcenter) get(PROPERTY_COSTCENTER);
     public void setCostCenter(Costcenter costCenter) {
         set(PROPERTY_COSTCENTER, costCenter);
     public UserDimension1 getStDimension() {
         return (UserDimension1) get(PROPERTY_STDIMENSION);
     public void setStDimension(UserDimension1 stDimension) {
         set(PROPERTY_STDIMENSION, stDimension);
     public UserDimension2 getNdDimension() {
         return (UserDimension2) get(PROPERTY_NDDIMENSION);
     public void setNdDimension(UserDimension2 ndDimension) {
         set(PROPERTY_NDDIMENSION, ndDimension);
     public BigDecimal getDoubtfulDebtAmount() {
         return (BigDecimal) get(PROPERTY_DOUBTFULDEBTAMOUNT);
     public void setDoubtfulDebtAmount(BigDecimal doubtfulDebtAmount) {
         set(PROPERTY_DOUBTFULDEBTAMOUNT, doubtfulDebtAmount);
     public Boolean isInvoicePaid() {
         return (Boolean) get(PROPERTY_INVOICEPAID);
     public void setInvoicePaid(Boolean invoicePaid) {
         set(PROPERTY_INVOICEPAID, invoicePaid);
     public Date getDueDate() {
         return (Date) get(COMPUTED_COLUMN_DUEDATE);
     public void setDueDate(Date dueDate) {
         set(COMPUTED_COLUMN_DUEDATE, dueDate);
     public FIN_FinancialAccount getAPRMFinancialAccount() {
         return (FIN_FinancialAccount) get(COMPUTED_COLUMN_APRMFINANCIALACCOUNT);
     public void setAPRMFinancialAccount(FIN_FinancialAccount aPRMFinancialAccount) {
     public FIN_PaymentMethod getAPRMPaymentMethod() {
         return (FIN_PaymentMethod) get(COMPUTED_COLUMN_APRMPAYMENTMETHOD);
     public void setAPRMPaymentMethod(FIN_PaymentMethod aPRMPaymentMethod) {
     public BigDecimal getExpected() {
         return (BigDecimal) get(COMPUTED_COLUMN_EXPECTED);
     public void setExpected(BigDecimal expected) {
         set(COMPUTED_COLUMN_EXPECTED, expected);
     public BigDecimal getInvoiceAmount() {
         return (BigDecimal) get(COMPUTED_COLUMN_INVOICEAMOUNT);
     public void setInvoiceAmount(BigDecimal invoiceAmount) {
         set(COMPUTED_COLUMN_INVOICEAMOUNT, invoiceAmount);
     public FIN_PaymentScheduleDetail_ComputedColumns get_computedColumns() {
         return (FIN_PaymentScheduleDetail_ComputedColumns) get(PROPERTY__COMPUTEDCOLUMNS);
     public void set_computedColumns(FIN_PaymentScheduleDetail_ComputedColumns _computedColumns) {
         set(PROPERTY__COMPUTEDCOLUMNS, _computedColumns);
     public List<FIN_PaymentPropDetail> getFINPaymentPropDetailList() {
       return (List<FIN_PaymentPropDetail>) get(PROPERTY_FINPAYMENTPROPDETAILLIST);
     public void setFINPaymentPropDetailList(List<FIN_PaymentPropDetail> fINPaymentPropDetailList) {
     public Object get(String propName) {
       if (COMPUTED_COLUMN_DUEDATE.equals(propName)) {
         if (get_computedColumns() == null) {
           return null;
         return get_computedColumns().getDueDate();
         if (get_computedColumns() == null) {
           return null;
         return get_computedColumns().getAPRMFinancialAccount();
       if (COMPUTED_COLUMN_APRMPAYMENTMETHOD.equals(propName)) {
         if (get_computedColumns() == null) {
           return null;
         return get_computedColumns().getAPRMPaymentMethod();
       if (COMPUTED_COLUMN_EXPECTED.equals(propName)) {
         if (get_computedColumns() == null) {
           return null;
         return get_computedColumns().getExpected();
       if (COMPUTED_COLUMN_INVOICEAMOUNT.equals(propName)) {
         if (get_computedColumns() == null) {
           return null;
         return get_computedColumns().getInvoiceAmount();
       return super.get(propName);

Retrieved from ""

This page has been accessed 1,733 times. This page was last modified on 8 July 2019, at 01:48. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.