|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_C_AcctSchema
public class X_C_AcctSchema
Generated Model for C_AcctSchema
| Field Summary | |
|---|---|
static int |
AD_ORGONLY_ID_AD_Reference_ID
AD_OrgOnly_ID AD_Reference_ID=322 |
static int |
COMMITMENTTYPE_AD_Reference_ID
CommitmentType AD_Reference_ID=359 |
static String |
COMMITMENTTYPE_None
None = N |
static String |
COMMITMENTTYPE_POCommitmentOnly
PO Commitment only = C |
static String |
COMMITMENTTYPE_POCommitmentReservation
PO Commitment & Reservation = B |
static String |
COMMITMENTTYPE_POSOCommitment
PO/SO Commitment = O |
static String |
COMMITMENTTYPE_POSOCommitmentReservation
PO/SO Commitment & Reservation = A |
static String |
COMMITMENTTYPE_SOCommitmentOnly
SO Commitment only = S |
static int |
COSTINGLEVEL_AD_Reference_ID
CostingLevel AD_Reference_ID=355 |
static String |
COSTINGLEVEL_BatchLot
Batch/Lot = B |
static String |
COSTINGLEVEL_Client
Client = C |
static String |
COSTINGLEVEL_Organization
Organization = O |
static String |
COSTINGMETHOD__
_ = x |
static int |
COSTINGMETHOD_AD_Reference_ID
CostingMethod AD_Reference_ID=122 |
static String |
COSTINGMETHOD_AverageInvoice
Average Invoice = I |
static String |
COSTINGMETHOD_AveragePO
Average PO = A |
static String |
COSTINGMETHOD_Fifo
Fifo = F |
static String |
COSTINGMETHOD_LastInvoice
Last Invoice = i |
static String |
COSTINGMETHOD_LastPOPrice
Last PO Price = p |
static String |
COSTINGMETHOD_Lifo
Lifo = L |
static String |
COSTINGMETHOD_StandardCosting
Standard Costing = S |
static String |
COSTINGMETHOD_UserDefined
User Defined = U |
static int |
GAAP_AD_Reference_ID
GAAP AD_Reference_ID=123 |
static String |
GAAP_CustomAccountingRules
Custom Accounting Rules = XX |
static String |
GAAP_FrenchAccountingStandard
French Accounting Standard = FR |
static String |
GAAP_GermanHGB
German HGB = DE |
static String |
GAAP_InternationalGAAP
International GAAP = UN |
static String |
GAAP_USGAAP
US GAAP = US |
static int |
TAXCORRECTIONTYPE_AD_Reference_ID
TaxCorrectionType AD_Reference_ID=392 |
static String |
TAXCORRECTIONTYPE_DiscountOnly
Discount only = D |
static String |
TAXCORRECTIONTYPE_None
None = N |
static String |
TAXCORRECTIONTYPE_Write_OffAndDiscount
Write-off and Discount = B |
static String |
TAXCORRECTIONTYPE_Write_OffOnly
Write-off only = W |
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
X_C_AcctSchema(Properties ctx,
int C_AcctSchema_ID,
String trxName)
Standard Constructor |
|
X_C_AcctSchema(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getAD_OrgOnly_ID()
Get Only Organization. |
int |
getC_AcctSchema_ID()
Get Accounting Schema. |
int |
getC_Currency_ID()
Get Currency. |
I_C_Currency |
getC_Currency()
|
int |
getC_Period_ID()
Get Period. |
I_C_Period |
getC_Period()
|
String |
getCommitmentType()
Get Commitment Type. |
String |
getCostingLevel()
Get Costing Level. |
String |
getCostingMethod()
Get Costing Method. |
String |
getDescription()
Get Description. |
String |
getGAAP()
Get GAAP. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
int |
getM_CostType_ID()
Get Cost Type. |
I_M_CostType |
getM_CostType()
|
String |
getName()
Get Name. |
int |
getPeriod_OpenFuture()
Get Future Days. |
int |
getPeriod_OpenHistory()
Get History Days. |
String |
getSeparator()
Get Element Separator. |
String |
getTaxCorrectionType()
Get Tax Correction. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isAccrual()
Get Accrual. |
boolean |
isAdjustCOGS()
Get Adjust COGS. |
boolean |
isAllowNegativePosting()
Get Allow Negative Posting. |
boolean |
isAutoPeriodControl()
Get Automatic Period Control. |
boolean |
isDiscountCorrectsTax()
Get Correct tax for Discounts/Charges. |
boolean |
isExplicitCostAdjustment()
Get Explicit Cost Adjustment. |
boolean |
isHasAlias()
Get Use Account Alias. |
boolean |
isHasCombination()
Get Use Account Combination Control. |
boolean |
isPostIfClearingEqual()
Get Post if Clearing Equal. |
boolean |
isPostServices()
Get Post Services Separately. |
boolean |
isProcessing()
Get Process Now. |
boolean |
isTradeDiscountPosted()
Get Post Trade Discount. |
void |
setAD_OrgOnly_ID(int AD_OrgOnly_ID)
Set Only Organization. |
void |
setAutoPeriodControl(boolean AutoPeriodControl)
Set Automatic Period Control. |
void |
setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema. |
void |
setC_Currency_ID(int C_Currency_ID)
Set Currency. |
void |
setC_Period_ID(int C_Period_ID)
Set Period. |
void |
setCommitmentType(String CommitmentType)
Set Commitment Type. |
void |
setCostingLevel(String CostingLevel)
Set Costing Level. |
void |
setCostingMethod(String CostingMethod)
Set Costing Method. |
void |
setDescription(String Description)
Set Description. |
void |
setGAAP(String GAAP)
Set GAAP. |
void |
setHasAlias(boolean HasAlias)
Set Use Account Alias. |
void |
setHasCombination(boolean HasCombination)
Set Use Account Combination Control. |
void |
setIsAccrual(boolean IsAccrual)
Set Accrual. |
void |
setIsAdjustCOGS(boolean IsAdjustCOGS)
Set Adjust COGS. |
void |
setIsAllowNegativePosting(boolean IsAllowNegativePosting)
Set Allow Negative Posting. |
void |
setIsDiscountCorrectsTax(boolean IsDiscountCorrectsTax)
Set Correct tax for Discounts/Charges. |
void |
setIsExplicitCostAdjustment(boolean IsExplicitCostAdjustment)
Set Explicit Cost Adjustment. |
void |
setIsPostIfClearingEqual(boolean IsPostIfClearingEqual)
Set Post if Clearing Equal. |
void |
setIsPostServices(boolean IsPostServices)
Set Post Services Separately. |
void |
setIsTradeDiscountPosted(boolean IsTradeDiscountPosted)
Set Post Trade Discount. |
void |
setM_CostType_ID(int M_CostType_ID)
Set Cost Type. |
void |
setName(String Name)
Set Name. |
void |
setPeriod_OpenFuture(int Period_OpenFuture)
Set Future Days. |
void |
setPeriod_OpenHistory(int Period_OpenHistory)
Set History Days. |
void |
setProcessing(boolean Processing)
Set Process Now. |
void |
setSeparator(String Separator)
Set Element Separator. |
void |
setTaxCorrectionType(String TaxCorrectionType)
Set Tax Correction. |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Field Detail |
|---|
public static final int AD_ORGONLY_ID_AD_Reference_ID
public static final int COMMITMENTTYPE_AD_Reference_ID
public static final String COMMITMENTTYPE_POCommitmentOnly
public static final String COMMITMENTTYPE_POCommitmentReservation
public static final String COMMITMENTTYPE_None
public static final String COMMITMENTTYPE_POSOCommitmentReservation
public static final String COMMITMENTTYPE_SOCommitmentOnly
public static final String COMMITMENTTYPE_POSOCommitment
public static final int COSTINGLEVEL_AD_Reference_ID
public static final String COSTINGLEVEL_Client
public static final String COSTINGLEVEL_Organization
public static final String COSTINGLEVEL_BatchLot
public static final int COSTINGMETHOD_AD_Reference_ID
public static final String COSTINGMETHOD_StandardCosting
public static final String COSTINGMETHOD_AveragePO
public static final String COSTINGMETHOD_Lifo
public static final String COSTINGMETHOD_Fifo
public static final String COSTINGMETHOD_LastPOPrice
public static final String COSTINGMETHOD_AverageInvoice
public static final String COSTINGMETHOD_LastInvoice
public static final String COSTINGMETHOD_UserDefined
public static final String COSTINGMETHOD__
public static final int GAAP_AD_Reference_ID
public static final String GAAP_InternationalGAAP
public static final String GAAP_USGAAP
public static final String GAAP_GermanHGB
public static final String GAAP_FrenchAccountingStandard
public static final String GAAP_CustomAccountingRules
public static final int TAXCORRECTIONTYPE_AD_Reference_ID
public static final String TAXCORRECTIONTYPE_None
public static final String TAXCORRECTIONTYPE_Write_OffOnly
public static final String TAXCORRECTIONTYPE_DiscountOnly
public static final String TAXCORRECTIONTYPE_Write_OffAndDiscount
| Constructor Detail |
|---|
public X_C_AcctSchema(Properties ctx,
int C_AcctSchema_ID,
String trxName)
public X_C_AcctSchema(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class POpublic void setAD_OrgOnly_ID(int AD_OrgOnly_ID)
setAD_OrgOnly_ID in interface I_C_AcctSchemaAD_OrgOnly_ID - Create posting entries only for this organizationpublic int getAD_OrgOnly_ID()
getAD_OrgOnly_ID in interface I_C_AcctSchemapublic void setAutoPeriodControl(boolean AutoPeriodControl)
setAutoPeriodControl in interface I_C_AcctSchemaAutoPeriodControl - If selected, the periods are automatically opened and closedpublic boolean isAutoPeriodControl()
isAutoPeriodControl in interface I_C_AcctSchemapublic void setC_AcctSchema_ID(int C_AcctSchema_ID)
setC_AcctSchema_ID in interface I_C_AcctSchemaC_AcctSchema_ID - Rules for accountingpublic int getC_AcctSchema_ID()
getC_AcctSchema_ID in interface I_C_AcctSchema
public I_C_Currency getC_Currency()
throws Exception
getC_Currency in interface I_C_AcctSchemaExceptionpublic void setC_Currency_ID(int C_Currency_ID)
setC_Currency_ID in interface I_C_AcctSchemaC_Currency_ID - The Currency for this recordpublic int getC_Currency_ID()
getC_Currency_ID in interface I_C_AcctSchemapublic void setCommitmentType(String CommitmentType)
setCommitmentType in interface I_C_AcctSchemaCommitmentType - Create Commitment and/or Reservations for Budget Controlpublic String getCommitmentType()
getCommitmentType in interface I_C_AcctSchemapublic void setCostingLevel(String CostingLevel)
setCostingLevel in interface I_C_AcctSchemaCostingLevel - The lowest level to accumulate Costing Informationpublic String getCostingLevel()
getCostingLevel in interface I_C_AcctSchemapublic void setCostingMethod(String CostingMethod)
setCostingMethod in interface I_C_AcctSchemaCostingMethod - Indicates how Costs will be calculatedpublic String getCostingMethod()
getCostingMethod in interface I_C_AcctSchema
public I_C_Period getC_Period()
throws Exception
getC_Period in interface I_C_AcctSchemaExceptionpublic void setC_Period_ID(int C_Period_ID)
setC_Period_ID in interface I_C_AcctSchemaC_Period_ID - Period of the Calendarpublic int getC_Period_ID()
getC_Period_ID in interface I_C_AcctSchemapublic void setDescription(String Description)
setDescription in interface I_C_AcctSchemaDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_C_AcctSchemapublic void setGAAP(String GAAP)
setGAAP in interface I_C_AcctSchemaGAAP - Generally Accepted Accounting Principlespublic String getGAAP()
getGAAP in interface I_C_AcctSchemapublic void setHasAlias(boolean HasAlias)
setHasAlias in interface I_C_AcctSchemaHasAlias - Ability to select (partial) account combinations by an Aliaspublic boolean isHasAlias()
isHasAlias in interface I_C_AcctSchemapublic void setHasCombination(boolean HasCombination)
setHasCombination in interface I_C_AcctSchemaHasCombination - Combination of account elements are checkedpublic boolean isHasCombination()
isHasCombination in interface I_C_AcctSchemapublic void setIsAccrual(boolean IsAccrual)
setIsAccrual in interface I_C_AcctSchemaIsAccrual - Indicates if Accrual or Cash Based accounting will be usedpublic boolean isAccrual()
isAccrual in interface I_C_AcctSchemapublic void setIsAdjustCOGS(boolean IsAdjustCOGS)
setIsAdjustCOGS in interface I_C_AcctSchemaIsAdjustCOGS - Adjust Cost of Good Soldpublic boolean isAdjustCOGS()
isAdjustCOGS in interface I_C_AcctSchemapublic void setIsAllowNegativePosting(boolean IsAllowNegativePosting)
setIsAllowNegativePosting in interface I_C_AcctSchemaIsAllowNegativePosting - Allow to post negative accounting valuespublic boolean isAllowNegativePosting()
isAllowNegativePosting in interface I_C_AcctSchemapublic void setIsDiscountCorrectsTax(boolean IsDiscountCorrectsTax)
setIsDiscountCorrectsTax in interface I_C_AcctSchemaIsDiscountCorrectsTax - Correct the tax for payment discount and chargespublic boolean isDiscountCorrectsTax()
isDiscountCorrectsTax in interface I_C_AcctSchemapublic void setIsExplicitCostAdjustment(boolean IsExplicitCostAdjustment)
setIsExplicitCostAdjustment in interface I_C_AcctSchemaIsExplicitCostAdjustment - Post the cost adjustment explicitlypublic boolean isExplicitCostAdjustment()
isExplicitCostAdjustment in interface I_C_AcctSchemapublic void setIsPostIfClearingEqual(boolean IsPostIfClearingEqual)
setIsPostIfClearingEqual in interface I_C_AcctSchemaIsPostIfClearingEqual - This flag controls if Adempiere must post when clearing (transit) and final accounts are the samepublic boolean isPostIfClearingEqual()
isPostIfClearingEqual in interface I_C_AcctSchemapublic void setIsPostServices(boolean IsPostServices)
setIsPostServices in interface I_C_AcctSchemaIsPostServices - Differentiate between Services and Product Receivable/Payablespublic boolean isPostServices()
isPostServices in interface I_C_AcctSchemapublic void setIsTradeDiscountPosted(boolean IsTradeDiscountPosted)
setIsTradeDiscountPosted in interface I_C_AcctSchemaIsTradeDiscountPosted - Generate postings for trade discountspublic boolean isTradeDiscountPosted()
isTradeDiscountPosted in interface I_C_AcctSchema
public I_M_CostType getM_CostType()
throws Exception
getM_CostType in interface I_C_AcctSchemaExceptionpublic void setM_CostType_ID(int M_CostType_ID)
setM_CostType_ID in interface I_C_AcctSchemaM_CostType_ID - Type of Cost (e.g. Current, Plan, Future)public int getM_CostType_ID()
getM_CostType_ID in interface I_C_AcctSchemapublic void setName(String Name)
setName in interface I_C_AcctSchemaName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_C_AcctSchemapublic KeyNamePair getKeyNamePair()
public void setPeriod_OpenFuture(int Period_OpenFuture)
setPeriod_OpenFuture in interface I_C_AcctSchemaPeriod_OpenFuture - Number of days to be able to post to a future date (based on system date)public int getPeriod_OpenFuture()
getPeriod_OpenFuture in interface I_C_AcctSchemapublic void setPeriod_OpenHistory(int Period_OpenHistory)
setPeriod_OpenHistory in interface I_C_AcctSchemaPeriod_OpenHistory - Number of days to be able to post in the past (based on system date)public int getPeriod_OpenHistory()
getPeriod_OpenHistory in interface I_C_AcctSchemapublic void setProcessing(boolean Processing)
setProcessing in interface I_C_AcctSchemaProcessing - Process Nowpublic boolean isProcessing()
isProcessing in interface I_C_AcctSchemapublic void setSeparator(String Separator)
setSeparator in interface I_C_AcctSchemaSeparator - Element Separatorpublic String getSeparator()
getSeparator in interface I_C_AcctSchemapublic void setTaxCorrectionType(String TaxCorrectionType)
setTaxCorrectionType in interface I_C_AcctSchemaTaxCorrectionType - Type of Tax Correctionpublic String getTaxCorrectionType()
getTaxCorrectionType in interface I_C_AcctSchema
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||