Package org.openbravo.erpCommon.utility
Class OBLedgerUtils
- java.lang.Object
-
- org.openbravo.erpCommon.utility.OBLedgerUtils
-
public class OBLedgerUtils extends Object
Utilities to get AcctSchema
-
-
Constructor Summary
Constructors Constructor Description OBLedgerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getOrgLedger(String orgId)
Returns the ledger id for the given organization id.
-
-
-
Method Detail
-
getOrgLedger
public static String getOrgLedger(String orgId)
Returns the ledger id for the given organization id. If the org id is empty, it returns null. If the given organization has no ledger, it tries to get its legal entity's ledger. If not found, it returns the organization client's ledger- Parameters:
orgId
- Organization Id whose ledger is needed- Returns:
- String ledgerId ledger id for the given organization. Null if not found
-
-