public function getPurchaseInvoiceLines($statement = '')
    {
        if (array_key_exists('__deferred', $this->attributes['PurchaseInvoiceLines'])) {
            $this->attributes['PurchaseInvoiceLines'] = (new PurchaseInvoiceLine($this->connection()))->filter("InvoiceID eq guid'{$this->ID}'", '', '', $statement);
        }

        return $this->attributes['PurchaseInvoiceLines'];
    }
public function getPurchaseInvoiceLines($statement = '')
    {
        if (array_key_exists('__deferred', $this->attributes['PurchaseInvoiceLines'])) {
            $this->attributes['PurchaseInvoiceLines'] = (new PurchaseInvoiceLine($this->connection()))->filter("InvoiceID eq guid'{$this->ID}'", '', '', $statement);
        }

        return $this->attributes['PurchaseInvoiceLines'];
    }
public function getPurchaseInvoiceLines ( $ statement = '' ) { if ( array_key_exists ( '__deferred' , $ this -> attributes [ 'PurchaseInvoiceLines' ] ) ) { $ this -> attributes [ 'PurchaseInvoiceLines' ] = ( new PurchaseInvoiceLine ( $ this -> connection ( ) ) ) -> filter ( "InvoiceID eq guid'{$this->ID}'" , '' , '' , $ statement ) ; } return $ this -> attributes [ 'PurchaseInvoiceLines' ] ; }
Updates the PurchaseInvoiceLines collection on a PurchaseInvoice if it's been detected as a deferred collection.
Fetches results and stores them on this object.

@return mixed
Updates the PurchaseInvoiceLines collection on a PurchaseInvoice if it s been detected as a deferred collection . Fetches results and stores them on this object .