Uses of Class
org.compiere.model.MAccount
Package
Description
Provide implementation of various system dialog and windows
Provide classes for posting of accounting document to the fact table (
MFactAcct
.This is the package that contains the majority of iDempiere's generated model class and interface.
Provide majority of iDempiere's extended model class (M*).
Provide majority of iDempiere's extended model class (M*).
-
Uses of MAccount in org.adempiere.webui.window
Modifier and TypeMethodDescriptionprotected boolean
WAccountDialog.needConfirm
(WEditor editor, MAccount combiOrg) -
Uses of MAccount in org.compiere.acct
Modifier and TypeMethodDescriptionfinal MAccount
Doc.getAccount
(int AcctType, MAcctSchema as) Get account record by accounting schema and account typeDocLine.getAccount()
Get GL Journal AccountDocLine.getAccount
(int AcctType, MAcctSchema as) Line Account from Product (or Charge).DocTax.getAccount
(int AcctType, MAcctSchema as) Get AccountFactLine.getAccount()
Get AccountDocLine.getChargeAccount
(MAcctSchema as, BigDecimal amount) Get Charge AccountDoc_AssetAddition.getP_Expense_Acct
(int M_Product_ID, MAcctSchema as) Modifier and TypeMethodDescriptionFact.createLine
(DocLine docLine, MAccount account, int C_Currency_ID, BigDecimal Amt) Create and convert Fact Line.Fact.createLine
(DocLine docLine, MAccount account, int C_Currency_ID, BigDecimal debitAmt, BigDecimal creditAmt) Create and convert Fact Line.Fact.createLine
(DocLine docLine, MAccount accountDr, MAccount accountCr, int C_Currency_ID, BigDecimal Amt) Create and convert Fact Line.static FactLine[]
FactUtil.createSimpleOperation
(Fact fact, DocLine docLine, MAccount account_DR, MAccount account_CR, int C_Currency_ID, BigDecimal amt, boolean signSensitive) Create a simple acct transaction, as fellows:void
DocLine.setAccount
(MAccount acct) Set GL Journal Accountvoid
FactLine.setAccount
(MAcctSchema acctSchema, MAccount acct) Set Account Info -
Uses of MAccount in org.compiere.model
Modifier and TypeMethodDescriptionstatic MAccount
MAccount.get
(int C_ValidCombination_ID) Get Account from cache (immutable)static MAccount
MAccount.get
(Properties ctx, int C_ValidCombination_ID) Get Account from cache (immutable)static MAccount
MAccount.get
(Properties ctx, int ad_Client_ID, int ad_Org_ID, int c_AcctSchema_ID, int new_account_id, int c_SubAcct_ID, int m_Product_ID, int c_BPartner_ID, int ad_OrgTrx_ID, int c_LocFrom_ID, int c_LocTo_ID, int c_SalesRegion_ID, int c_Project_ID, int c_Campaign_ID, int c_Activity_ID, int user1_ID, int user2_ID, int userElement1_ID, int userElement2_ID) Deprecated.static MAccount
MAccount.get
(Properties ctx, int AD_Client_ID, int AD_Org_ID, int C_AcctSchema_ID, int Account_ID, int C_SubAcct_ID, int M_Product_ID, int C_BPartner_ID, int AD_OrgTrx_ID, int C_LocFrom_ID, int C_LocTo_ID, int C_SalesRegion_ID, int C_Project_ID, int C_Campaign_ID, int C_Activity_ID, int User1_ID, int User2_ID, int UserElement1_ID, int UserElement2_ID, String trxName) Get existing account combination or create a new one (if not exists)static MAccount
MAccount.get
(Properties ctx, int C_AcctSchema_ID, String alias) Get first with Aliasstatic MAccount
MAccount.get
(X_Fact_Acct fa) Get from existing Accounting factstatic MAccount
MAccount.get
(X_Fact_Acct fa, String trxName) Get from existing Accounting factstatic MAccount
MCharge.getAccount
(int C_Charge_ID, MAcctSchema as) Get Charge Accountstatic MAccount
MCharge.getAccount
(int C_Charge_ID, MAcctSchema as, BigDecimal amount) Deprecated, for removal: This API element is subject to removal in a future version.use getAccount(Charge, as) insteadMDistributionLine.getAccount()
Get Account Combination based on Account and OverwriteProductCost.getAccount
(int AcctType, MAcctSchema as) Get Account from ProductMJournalLine.getAccount_Combi()
Get Account (Valid Combination)ProductCost.getAccountDefault
(int AcctType, MAcctSchema as) Get Account from Default Product CategoryMAcctSchema.getCurrencyBalancing_Acct()
Get Currency Balancing Accountstatic MAccount
MAccount.getDefault
(Properties ctx, int C_AcctSchema_ID, boolean optionalNull, String trxName) Factory: default combinationstatic MAccount
MAccount.getDefault
(MAcctSchema acctSchema, boolean optionalNull) Factory: create new account with default combinationMAcctSchema.getDueFrom_Acct
(String segment) Get Due From Account for SegmentMAcctSchema.getDueTo_Acct
(String segment) Get Due To Account for SegmentMFactAcct.getMAccount()
Get MAccount from recordMAssetAcct.getP_Asset_Acct
(int M_Product_ID) MAcctSchema.getSuspenseBalancing_Acct()
Get Suspense Balancing AccountMAccount.markImmutable()
Modifier and TypeMethodDescriptionvoid
MDistribution.distribute
(MAccount acct, BigDecimal Amt, BigDecimal Qty, int C_Currency_ID) Distribute Amount to Linesstatic MDistribution[]
Get Distribution for combinationvoid
MDistributionLine.setAccount
(MAccount acct) Set Accountvoid
MJournalLine.setC_ValidCombination_ID
(MAccount acct) Set C_ValidCombination_IDModifierConstructorDescriptionMAccount
(Properties ctx, MAccount copy) MAccount
(Properties ctx, MAccount copy, String trxName)