Uses of Class
org.compiere.model.MAcctSchema
Package
Description
Provide interface and default implementation of iDempiere core services (model factory, callout factory, etc)
Provide interface and classes for working with and handling different types of OSGi events
Provide viewer for accounting posting (Fact_Acct)
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 MAcctSchema in org.adempiere.base
Modifier and TypeMethodDescriptionDefaultDocumentFactory.getDocument
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) default Doc
IDocFactory.getDocument
(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName) Create Posting documentIDocFactory.getDocument
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) Create Posting documentMappedDocumentFactory.getDocument
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) -
Uses of MAcctSchema in org.adempiere.base.event
-
Uses of MAcctSchema in org.adempiere.webui.acct
-
Uses of MAcctSchema in org.compiere.acct
Modifier and TypeMethodDescriptionprotected MAcctSchema
Doc.getAcctSchema()
Get accounting schemaFact.getAcctSchema()
Get AcctSchemaModifier and TypeMethodDescriptionDoc_MatchInv.createCreditMemoFacts
(MAcctSchema as) Create Facts for credit memoDoc_Invoice.createFactCash
(MAcctSchema as, Fact fact, BigDecimal multiplier) Create Fact for Cash Based accounting (i.e. only revenue/expense)Doc_AllocationHdr.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for CMA.Doc_AssetAddition.createFacts
(MAcctSchema as) Produce posting:Doc_AssetDisposed.createFacts
(MAcctSchema as) Doc_AssetReval.createFacts
(MAcctSchema as) Doc_AssetTransfer.createFacts
(MAcctSchema as) Produce posting:Doc_BankStatement.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for CMB.Doc_Cash.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for CMC.Doc_DepreciationEntry.createFacts
(MAcctSchema as) Doc_GLJournal.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for GLJ.Doc_InOut.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MMS, MMR.Doc_Inventory.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MMI.Doc_Invoice.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for ARI, ARC, ARF, API, APC.Doc_MatchInv.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MXI.Doc_MatchPO.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MXP.Doc_Movement.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MMM.Doc_Order.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for SOO, POO.Doc_Payment.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for ARP, APP.Doc_Production.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for MMP.Doc_ProjectIssue.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for PJIDoc_Requisition.createFacts
(MAcctSchema as) Create Facts (the accounting logic) for POR.Doc.createFacts
(MAcctSchema as) Create Facts (the accounting logic)static Doc
Doc.get
(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName) Create Posting documentstatic Doc
Doc.get
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) Create Posting documentfinal MAccount
Doc.getAccount
(int AcctType, MAcctSchema as) Get account record by accounting schema and account typeDocLine.getAccount
(int AcctType, MAcctSchema as) Line Account from Product (or Charge).DocTax.getAccount
(int AcctType, MAcctSchema as) Get AccountDocLine.getChargeAccount
(MAcctSchema as, BigDecimal amount) Get Charge Accountprotected static Fact
Doc_Order.getCommitmentRelease
(MAcctSchema as, Doc doc, BigDecimal Qty, int C_InvoiceLine_ID, BigDecimal multiplier) Get Commitment Release.
Called from MatchInv for accrual and Allocation for cash based accountingstatic Fact
Doc_Order.getCommitmentSalesRelease
(MAcctSchema as, Doc doc, BigDecimal Qty, int M_InOutLine_ID, BigDecimal multiplier) Get Commitment Sales Release.static Doc
DocManager.getDocument
(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName) Create Posting documentstatic Doc
DocManager.getDocument
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) Create Posting documentDoc_AssetAddition.getP_Expense_Acct
(int M_Product_ID, MAcctSchema as) DocLine.getProductCosts
(MAcctSchema as, int AD_Org_ID, boolean zeroCostsOK) Get Total Product CostsDocLine.getProductCosts
(MAcctSchema as, int AD_Org_ID, boolean zeroCostsOK, String whereClause) Get Total Product Costs from Cost Detail or from Current Costint
Doc.getValidCombination_ID
(int AcctType, MAcctSchema as) Get valid combination id by account type and accounting schemaboolean
Doc_Invoice.isConvertible
(MAcctSchema acctSchema) boolean
Doc_Payment.isConvertible
(MAcctSchema acctSchema) boolean
Doc.isConvertible
(MAcctSchema acctSchema) Is Document convertible to currency and Conversion Typeprotected boolean
Doc_Invoice.landedCost
(MAcctSchema as, Fact fact, DocLine line, boolean dr) Create Landed Cost accounting and Cost linesstatic String
DocManager.postDocument
(MAcctSchema[] ass, int AD_Table_ID, int Record_ID, boolean force, boolean repost, String trxName) Post Documentstatic String
DocManager.postDocument
(MAcctSchema[] ass, int AD_Table_ID, ResultSet rs, boolean force, boolean repost, String trxName) Post Documentstatic String
Doc.postImmediate
(MAcctSchema[] ass, int AD_Table_ID, int Record_ID, boolean force, String trxName) Post document immediatelyprotected void
Doc_MatchInv.processInvoicePriceVariance
(MAcctSchema as, Fact fact, BigDecimal ipv, BigDecimal ipvSource) void
FactLine.setAccount
(MAcctSchema acctSchema, MAccount acct) Set Account Infoprotected void
Doc_Invoice.updateProductPO
(MAcctSchema as) Update ProductPO PriceLastInvModifierConstructorDescriptionConstructorDoc_AllocationHdr
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_AssetAddition
(MAcctSchema as, ResultSet rs, String trxName) Doc_AssetDisposed
(MAcctSchema as, ResultSet rs, String trxName) Doc_AssetReval
(MAcctSchema as, ResultSet rs, String trxName) Doc_AssetTransfer
(MAcctSchema as, ResultSet rs, String trxName) Doc_BankStatement
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Cash
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_DepreciationEntry
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_GLJournal
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_InOut
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Inventory
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Invoice
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_MatchInv
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_MatchPO
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Movement
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Order
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Payment
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Production
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_ProjectIssue
(MAcctSchema as, ResultSet rs, String trxName) ConstructorDoc_Requisition
(MAcctSchema as, ResultSet rs, String trxName) ConstructorFact
(Doc document, MAcctSchema acctSchema, String defaultPostingType) Constructor -
Uses of MAcctSchema in org.compiere.model
Modifier and TypeMethodDescriptionstatic MAcctSchema
MAcctSchema.get
(int C_AcctSchema_ID) Get AccountSchemastatic MAcctSchema
MAcctSchema.get
(Properties ctx, int C_AcctSchema_ID) Get AccountSchemastatic MAcctSchema
MAcctSchema.get
(Properties ctx, int C_AcctSchema_ID, String trxName) Get AccountSchemaMClient.getAcctSchema()
Get Primary Accounting Schema (from AD_ClientInfo)MAssetAcct.getC_AcctSchema()
static MAcctSchema[]
MAcctSchema.getClientAcctSchema
(Properties ctx, int AD_Client_ID) Get AccountSchema of Clientstatic MAcctSchema[]
MAcctSchema.getClientAcctSchema
(Properties ctx, int AD_Client_ID, String trxName) Get AccountSchema of Clientstatic MAcctSchema
MAcctSchema.getCopy
(Properties ctx, int C_AcctSchema_ID, String trxName) Get updateable copy of MAcctSchema from cacheMClientInfo.getMAcctSchema1()
Get primary Acct SchemaMAcctSchema.markImmutable()
Modifier and TypeMethodDescriptionstatic BigDecimal
MCostQueue.adjustQty
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, BigDecimal Qty, String trxName) Adjust Qty based on in Lifo/Fifo orderstatic BigDecimal
MCost.calculateAverageInv
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average Invoice Cost from M_Transactionstatic BigDecimal
MCost.calculateAveragePO
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate Average PO from M_Transactionstatic BigDecimal
MCost.calculateFiFo
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate FiFo Cost from M_Transactionstatic BigDecimal
MCost.calculateLiFo
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID) Calculate LiFo costs from M_Transactionstatic boolean
MCostDetail.createInventory
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_InventoryLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create New Cost Detail record for Physical Inventory.static boolean
MCostDetail.createInvoice
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int C_InvoiceLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create New Cost Detail record for AP Invoices.static boolean
MCostDetail.createMatchInvoice
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_MatchInv_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create cost detail record for Match Invoice (M_MatchInv).static boolean
MCostDetail.createMovement
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_MovementLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, boolean from, String Description, String trxName) Create New Cost Detail record for Inventory Movements.static boolean
MCostDetail.createOrder
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int C_OrderLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create New Cost Detail record for Purchase Orders.static boolean
MCostDetail.createProduction
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_ProductionLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create New Cost Detail record for Production.static boolean
MCostDetail.createProjectIssue
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int C_ProjectIssue_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, String trxName) Create Cost Detail for Project Issue (C_ProjectIssue).static boolean
MCostDetail.createShipment
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_InOutLine_ID, int M_CostElement_ID, BigDecimal Amt, BigDecimal Qty, String Description, boolean IsSOTrx, String trxName) Create New Cost Detail record for SO Shipments.FactsValidator.factsValidate
(MAcctSchema schema, List<Fact> facts, PO po) ModelValidationEngine.fireFactsValidate
(MAcctSchema schema, List<Fact> facts, PO po) Fire Accounting Facts Validation event of a table.
- CallFactsValidator.factsValidate(MAcctSchema, List, PO)
on register validators.
- FireIEventTopics.ACCT_FACTS_VALIDATE
OSGi event.static MCost
MCost.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID) Deprecated.static MCost
MCost.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Get/Create Cost Record.static MCostQueue
MCostQueue.get
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Get/Create Cost Queue Record.static 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) insteadProductCost.getAccount
(int AcctType, MAcctSchema as) Get Account from ProductProductCost.getAccountDefault
(int AcctType, MAcctSchema as) Get Account from Default Product Categorystatic MAcctSchemaElement[]
MAcctSchemaElement.getAcctSchemaElements
(MAcctSchema as) Get array of Account Schema Elements from cacheMProduct.getCostingLevel
(MAcctSchema as) Get Product Costing LevelMProduct.getCostingMethod
(MAcctSchema as) Get Product Costing MethodMProduct.getCostingRecord
(MAcctSchema as, int AD_Org_ID, int M_ASI_ID) MProduct.getCostingRecord
(MAcctSchema as, int AD_Org_ID, int M_ASI_ID, String costingMethod) static BigDecimal
MCostQueue.getCosts
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, BigDecimal Qty, String trxName) Calculate Cost based on Qty and in Lifo/Fifo orderprotected static BigDecimal
MCost.getCurrentCost
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, int M_CostType_ID, String costingMethod, BigDecimal qty, int C_OrderLine_ID, boolean zeroCostsOK, String trxName) Calculate and Get Current Cost Price for Costing Levelstatic BigDecimal
MCost.getCurrentCost
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, String costingMethod, BigDecimal qty, int C_OrderLine_ID, boolean zeroCostsOK, String trxName) Retrieve/Calculate Current Cost Pricestatic MAccount
MAccount.getDefault
(MAcctSchema acctSchema, boolean optionalNull) Factory: create new account with default combinationProductCost.getProductCosts
(MAcctSchema as, int AD_Org_ID, String costingMethod, int C_OrderLine_ID, boolean zeroCostsOK) Get Total Costs (amt*qty) in Accounting Schema Currencystatic MCostQueue[]
MCostQueue.getQueue
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, MCostElement ce, String trxName) Get Cost Queue Records in Lifo/Fifo orderprotected static BigDecimal
MCost.getSeedCostFromPriceList
(MProduct product, MAcctSchema as, int orgID) Get seed cost from purchase price liststatic BigDecimal
MCost.getSeedCosts
(MProduct product, int M_ASI_ID, MAcctSchema as, int Org_ID, String costingMethod, int C_OrderLine_ID) Get Seed Costsprotected boolean
MCostDetail.process
(MAcctSchema as, MProduct product, MCostElement ce, int Org_ID, int M_ASI_ID) Process cost detail recordModifierConstructorDescriptionMAccount
(MAcctSchema as) Parent ConstructorMAcctSchema
(Properties ctx, MAcctSchema copy) Copy constructorMAcctSchema
(Properties ctx, MAcctSchema copy, String trxName) Copy constructorMAcctSchema
(MAcctSchema copy) Copy constructorParent ConstructorMCost
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID) Parent ConstructorMCostDetail
(MAcctSchema as, int AD_Org_ID, int M_Product_ID, int M_AttributeSetInstance_ID, int M_CostElement_ID, BigDecimal amt, BigDecimal qty, String description, String trxName) New ConstructorMCostQueue
(MProduct product, int M_AttributeSetInstance_ID, MAcctSchema as, int AD_Org_ID, int M_CostElement_ID, String trxName) Parent Constructor -
Uses of MAcctSchema in org.compiere.server