FUNCTION SmGetSellingPriceBI(AARTICLE IN SMSPEC.ARTICLE%TYPE,
ACOMPLEXARTICLE IN SMSPECCOMPINF.COMPLEXARTICLE%TYPE,
ALOCATION IN SMPRICES.STORELOC%TYPE,
APRICEID IN SMPRICES.PRICETYPE%TYPE)
RETURN NUMBER