Class MLandedCostAllocation

    • Constructor Detail

      • MLandedCostAllocation

        public MLandedCostAllocation​(Properties ctx,
                                     int C_LandedCostAllocation_ID,
                                     String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        C_LandedCostAllocation_ID - id
        trxName - trx
      • MLandedCostAllocation

        public MLandedCostAllocation​(Properties ctx,
                                     ResultSet rs,
                                     String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result name
        trxName - trx
      • MLandedCostAllocation

        public MLandedCostAllocation​(MInvoiceLine parent,
                                     int M_CostElement_ID)
        Parent Constructor
        Parameters:
        parent - parent
        M_CostElement_ID - cost element
    • Method Detail

      • getOfInvoiceLine

        public static MLandedCostAllocation[] getOfInvoiceLine​(Properties ctx,
                                                               int C_InvoiceLine_ID,
                                                               String trxName)
        Get Cost Allocations for invoice Line
        Parameters:
        ctx - context
        C_InvoiceLine_ID - invoice line
        trxName - trx
        Returns:
        landed cost alloc
      • setAmt

        public void setAmt​(double Amt,
                           int precision)
        Set Amt
        Parameters:
        Amt - amount
        precision - precision