示例#1
0
 public ValuationResult GetStampDutyCalculation(ValuationRequest Request)
 {
     object[] results = this.Invoke("GetStampDutyCalculation", new object[] {
         Request
     });
     return((ValuationResult)(results[0]));
 }
示例#2
0
 /// <remarks/>
 public void GetStampDutyCalculationAsync(ValuationRequest Request, object userState)
 {
     if ((this.GetStampDutyCalculationOperationCompleted == null))
     {
         this.GetStampDutyCalculationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetStampDutyCalculationOperationCompleted);
     }
     this.InvokeAsync("GetStampDutyCalculation", new object[] {
         Request
     }, this.GetStampDutyCalculationOperationCompleted, userState);
 }
示例#3
0
 /// <remarks/>
 public void GetStampDutyCalculationAsync(ValuationRequest Request)
 {
     this.GetStampDutyCalculationAsync(Request, null);
 }
示例#4
0
        public bool UpdateValuationRequestDetails(ValuationRequest Request)
        {
            try
            {
                IgrssAdapters.ValuationSheetAdapter.AddNewValuationRequest(Request.AdjudicationId, Request.ValuationId,
                Request.DistrictCode, Request.TalukaCode, Request.VillageCode, Request.SchemeType, Request.EstimatedPrice, Request.IsConstructedProperty,
                Request.SchemeNo,
                Request.PlotNo,
                Request.AreaOfPlot, Request.TypeOfLand, Convert.ToDecimal("12.00"),
                Request.DevelopmentRate, Request.OtherFeeRate, Request.YearOfConstruction, Request.SpecialDeductionRate, Request.LiftExpense);

            }
            catch (Exception ex)
            {

                throw;
            }

            return true;
        }
示例#5
0
        public ValuationResult GetValuationSheetDetailsByAdjId(Guid AdjudicationId)
        {
            ValuationRequest Request = new ValuationRequest();
            ValuationSheetRow row = (ValuationSheetRow)IgrssAdapters.ValuationSheetAdapter.GetValuationSheetDetailsByAdjId(AdjudicationId).Rows[0];

            Request.AdjudicationId = AdjudicationId;
            Request.ValuationId = row.ValuationFormId;
            Request.IsConstructedProperty = row.IsConstructedProperty;
            Request.EstimatedPrice = Convert.ToDecimal(row.EstimatedPrice);
            Request.TalukaCode = row.TalukaCode;
            Request.VillageCode = row.VillageCode;
            Request.DistrictCode = row.DistrictCode;
            Request.SchemeNo = row.SchemeNo;
            Request.AreaOfPlot = row.AreaOfPlot;
            Request.SchemeType = row.SchemeType;
            Request.TypeOfLand = row.TypeOfLand;
            Request.InternalElectrificationRate = row.InternalElectrificationRate;
            Request.DevelopmentRate = row.DevelopmentRate;
            Request.OtherFeeRate = row.OtherFeeRate;
            Request.SpecialDeductionRate = row.SpecialDeductionRate;
            Request.YearOfConstruction = row.YearOfConstruction;

               StampDutyCalculator calc = new StampDutyCalculator();
            ValuationResult Result = calc.GetStampDutyCalculation(Request);

            return Result;
        }
示例#6
0
 public ValuationRequest GetValuationFormDetails(Guid AdjudicationId)
 {
     ValuationRequest RetRequest = new ValuationRequest();
     ValuationFormRow row = (ValuationFormRow)new AdjudicationRequest().GetValuationFormRowByAdjudicationId(AdjudicationId).Rows[0];
     RetRequest.AdjudicationId = AdjudicationId;
     RetRequest.ValuationId = row.ValuationFormId;
     RetRequest.TalukaCode = 1;
     RetRequest.VillageCode = 1;
     RetRequest.DistrictCode = 1;
     RetRequest.SchemeNo = row.TPSchemeNo;
     RetRequest.SchemeType = "TP Scheme";
     RetRequest.PlotNo = row.FinalPlotNo;
     RetRequest.AreaOfPlot = row.AreaOfPlot;
     RetRequest.AreaOfConstruction = row.AreaOfConstruction;
     RetRequest.TypeOfLand = "APrate";
     RetRequest.YearOfConstruction = row.YearOfConstruction;
     return RetRequest;
 }
示例#7
0
 /// <remarks/>
 public void GetStampDutyCalculationAsync(ValuationRequest Request, object userState) {
     if ((this.GetStampDutyCalculationOperationCompleted == null)) {
         this.GetStampDutyCalculationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetStampDutyCalculationOperationCompleted);
     }
     this.InvokeAsync("GetStampDutyCalculation", new object[] {
                 Request}, this.GetStampDutyCalculationOperationCompleted, userState);
 }
示例#8
0
 /// <remarks/>
 public void GetStampDutyCalculationAsync(ValuationRequest Request) {
     this.GetStampDutyCalculationAsync(Request, null);
 }
示例#9
0
 public ValuationResult GetStampDutyCalculation(ValuationRequest Request) {
     object[] results = this.Invoke("GetStampDutyCalculation", new object[] {
                 Request});
     return ((ValuationResult)(results[0]));
 }