コード例 #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
ファイル: Reference.cs プロジェクト: UrviGandhi/IGRSS
 /// <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
ファイル: Reference.cs プロジェクト: UrviGandhi/IGRSS
 /// <remarks/>
 public void GetStampDutyCalculationAsync(ValuationRequest Request) {
     this.GetStampDutyCalculationAsync(Request, null);
 }
コード例 #9
0
ファイル: Reference.cs プロジェクト: UrviGandhi/IGRSS
 public ValuationResult GetStampDutyCalculation(ValuationRequest Request) {
     object[] results = this.Invoke("GetStampDutyCalculation", new object[] {
                 Request});
     return ((ValuationResult)(results[0]));
 }