Class MDepreciationConvention

    • Constructor Detail

      • MDepreciationConvention

        public MDepreciationConvention​(Properties ctx,
                                       int A_Depreciation_Convention_ID,
                                       String trxName)
        Default Constructor
        Parameters:
        ctx - context
        A_Depreciation_Convention_ID - id
        trxName - transaction name
      • MDepreciationConvention

        public MDepreciationConvention​(Properties ctx,
                                       ResultSet rs,
                                       String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set record
    • Method Detail

      • get

        public static MDepreciationConvention get​(int A_Depreciation_Convention_ID)
        Get MDepreciationConvention from cache (immutable)
        Parameters:
        A_Depreciation_Convention_ID -
        Returns:
        MDepreciationConvention
      • get

        public static MDepreciationConvention get​(Properties ctx,
                                                  int A_Depreciation_Convention_ID)
        Get MDepreciationConvention from cache (immutable)
        Parameters:
        ctx - context
        A_Depreciation_Convention_ID -
        Returns:
        MDepreciationConvention
      • invoke

        public BigDecimal invoke​(int A_Asset_ID,
                                 String PostingType,
                                 int A_Asset_Acct_ID,
                                 int Flag,
                                 int Period)
      • apply_FMCON

        public BigDecimal apply_FMCON​(int A_Asset_ID,
                                      String PostingType,
                                      int A_Asset_Acct_ID,
                                      int Flag,
                                      int Period)