public BOItemSaleLine(Accountant accountant, Sale _sale, ItemSaleLine _line, BOContext context) : base(accountant, _sale, _line, context) { mObjectID = BOType.BOItemSaleLine; mDataProxy = _line.Clone() as ItemSaleLine; mDataProxy.Sale = _sale; if (mDataProxy.Sale.IsTaxInclusive == "Y") { mPrice = mDataProxy.TaxInclusiveUnitPrice; } else { mPrice = mDataProxy.TaxExclusiveUnitPrice; } }