Class MLandedCost

    • Constructor Detail

      • MLandedCost

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

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

      • getLandedCosts

        public static MLandedCost[] getLandedCosts​(MInvoiceLine il)
        Get Costs of Invoice Line
        Parameters:
        il - invoice line
        Returns:
        array of landed cost lines
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true if ok
      • allocateCosts

        public String allocateCosts()
        Allocate Costs. Done at Invoice Line Level
        Returns:
        error message or ""