/**
  * Create and setup QListBox lstAssetTransaction
  * @param string $strControlId optional ControlId to use
  * @param QQCondition $objConditions override the default condition of QQ::All() to the query, itself
  * @param QQClause[] $objOptionalClauses additional optional QQClause object or array of QQClause objects for the query
  * @return QListBox
  */
 public function lstAssetTransaction_Create($strControlId = null, QQCondition $objCondition = null, $objOptionalClauses = null)
 {
     $this->lstAssetTransaction = new QListBox($this->objParentObject, $strControlId);
     $this->lstAssetTransaction->Name = QApplication::Translate('Asset Transaction');
     $this->lstAssetTransaction->Required = true;
     if (!$this->blnEditMode) {
         $this->lstAssetTransaction->AddItem(QApplication::Translate('- Select One -'), null);
     }
     // Setup and perform the Query
     if (is_null($objCondition)) {
         $objCondition = QQ::All();
     }
     $objAssetTransactionCursor = AssetTransaction::QueryCursor($objCondition, $objOptionalClauses);
     // Iterate through the Cursor
     while ($objAssetTransaction = AssetTransaction::InstantiateCursor($objAssetTransactionCursor)) {
         $objListItem = new QListItem($objAssetTransaction->__toString(), $objAssetTransaction->AssetTransactionId);
         if ($this->objAssetTransactionCheckout->AssetTransaction && $this->objAssetTransactionCheckout->AssetTransaction->AssetTransactionId == $objAssetTransaction->AssetTransactionId) {
             $objListItem->Selected = true;
         }
         $this->lstAssetTransaction->AddItem($objListItem);
     }
     // Return the QListBox
     return $this->lstAssetTransaction;
 }