|
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_GL_JournalLine
org.compiere.model.MJournalLine
public class MJournalLine
Journal Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_GL_JournalLine |
|---|
A_ASSET_ID_AD_Reference_ID |
| 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 | |
|---|---|
MJournalLine(MJournal parent)
Parent Constructor |
|
MJournalLine(Properties ctx,
int GL_JournalLine_ID,
String trxName)
Standard Constructor |
|
MJournalLine(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save. |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MAccount |
getAccount()
Get Account (Valid Combination) |
MElementValue |
getAccountElementValue()
Get Natural Account Element Value |
int |
getPrecision()
Get Currency Precision |
boolean |
isDocControlled()
Is it posting to a Control Acct |
void |
setAmtAcct(BigDecimal AmtAcctDr,
BigDecimal AmtAcctCr)
Set Accounted Amounts only if not 0. |
void |
setC_Currency_ID(int C_Currency_ID)
Set C_Currency_ID and precision |
void |
setC_ValidCombination_ID(int C_ValidCombination_ID)
Set C_ValidCombination_ID |
void |
setC_ValidCombination_ID(MAccount acct)
Set C_ValidCombination_ID |
void |
setCurrency(int C_Currency_ID,
int C_ConversionType_ID,
BigDecimal CurrencyRate)
Set Currency Info |
void |
setCurrencyRate(BigDecimal CurrencyRate)
Set Currency Rate |
| 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 |
| Constructor Detail |
|---|
public MJournalLine(Properties ctx,
int GL_JournalLine_ID,
String trxName)
ctx - contextGL_JournalLine_ID - idtrxName - transaction
public MJournalLine(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MJournalLine(MJournal parent)
parent - journal| Method Detail |
|---|
public void setCurrency(int C_Currency_ID,
int C_ConversionType_ID,
BigDecimal CurrencyRate)
C_Currency_ID - currenctC_ConversionType_ID - typeCurrencyRate - ratepublic void setC_Currency_ID(int C_Currency_ID)
setC_Currency_ID in interface I_GL_JournalLinesetC_Currency_ID in class X_GL_JournalLineC_Currency_ID - currencypublic int getPrecision()
public void setCurrencyRate(BigDecimal CurrencyRate)
setCurrencyRate in interface I_GL_JournalLinesetCurrencyRate in class X_GL_JournalLineCurrencyRate - check for null (->one)
public void setAmtAcct(BigDecimal AmtAcctDr,
BigDecimal AmtAcctCr)
AmtAcctDr - DrAmtAcctCr - Crpublic void setC_ValidCombination_ID(int C_ValidCombination_ID)
setC_ValidCombination_ID in interface I_GL_JournalLinesetC_ValidCombination_ID in class X_GL_JournalLineC_ValidCombination_ID - idpublic void setC_ValidCombination_ID(MAccount acct)
acct - accountpublic MAccount getAccount()
public MElementValue getAccountElementValue()
public boolean isDocControlled()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - true if new recordsuccess - true if success
protected boolean afterDelete(boolean success)
afterDelete in class POsuccess - true if deleted
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||