private function getSaleOrderData($saleId)
    {
        /* get referral customer ID */
        $entity = $this->daoGeneric->getEntityByPk(
            Cfg::ENTITY_MAGE_SALES_ORDER,
            [Cfg::E_COMMON_A_ENTITY_ID => $saleId],
            [Cfg::E_SALE_ORDER_A_CUSTOMER_ID, Cfg::E_SALE_ORDER_A_INCREMENT_ID]
        );
        $custId = $entity[Cfg::E_SALE_ORDER_A_CUSTOMER_ID];
        $incId = $entity[Cfg::E_SALE_ORDER_A_INCREMENT_ID];
        return [$custId, $incId];
    }
private function getSaleOrderData($saleId)
    {
        /* get referral customer ID */
        $entity = $this->daoGeneric->getEntityByPk(
            Cfg::ENTITY_MAGE_SALES_ORDER,
            [Cfg::E_COMMON_A_ENTITY_ID => $saleId],
            [Cfg::E_SALE_ORDER_A_CUSTOMER_ID, Cfg::E_SALE_ORDER_A_INCREMENT_ID]
        );
        $custId = $entity[Cfg::E_SALE_ORDER_A_CUSTOMER_ID];
        $incId = $entity[Cfg::E_SALE_ORDER_A_INCREMENT_ID];
        return [$custId, $incId];
    }
private function getSaleOrderData ( $ saleId ) { /* get referral customer ID */ $ entity = $ this -> daoGeneric -> getEntityByPk ( Cfg :: ENTITY_MAGE_SALES_ORDER , [ Cfg :: E_COMMON_A_ENTITY_ID => $ saleId ] , [ Cfg :: E_SALE_ORDER_A_CUSTOMER_ID , Cfg :: E_SALE_ORDER_A_INCREMENT_ID ] ) ; $ custId = $ entity [ Cfg :: E_SALE_ORDER_A_CUSTOMER_ID ] ; $ incId = $ entity [ Cfg :: E_SALE_ORDER_A_INCREMENT_ID ] ; return [ $ custId , $ incId ] ; }
Get significant attributes of the sale order.

@param int $saleId
@return array [$custId, $incId]
Get significant attributes of the sale order .