Esempio n. 1
0
        public TenderChangeRequest CreateCancelationRequest(Tender tender, int changeRequestTypeId, int changeRequestStatusId, string requestedById, int?cancelationReasonId, string cancelationReasonDescription, List <string> supplierViolatorCRs, int userId)
        {
            TenderId = tender.TenderId;
            ChangeRequestStatusId        = changeRequestStatusId;
            ChangeRequestTypeId          = changeRequestTypeId;
            RequestedByRoleName          = requestedById;
            CancelationReasonId          = cancelationReasonId;
            CancelationReasonDescription = cancelationReasonDescription;
            EntityCreated();

            tender.AddActionHistory(tender.TenderStatusId, TenderActions.SendtenderCancelRequest, "", userId);
            tender.ChangeRequests.Add(this);
            if (supplierViolatorCRs != null)
            {
                foreach (var cr in supplierViolatorCRs)
                {
                    SupplierViolators.Add(new SupplierViolator(cr));
                }
            }
            return(this);
        }
Esempio n. 2
0
 public BiddingRound SetTender(Tender tender)
 {
     Tender = tender;
     return(this);
 }
Esempio n. 3
0
 public void SetTender(Tender tender)
 {
     this.Tender = tender;
 }
Esempio n. 4
0
 public void SetTender(Tender tender)
 {
     Tender = tender;
 }
Esempio n. 5
0
 public void Test_AddTender(Tender tender)
 {
     this.Tender = tender;
 }
 public void AddTender(Tender tender)
 {
     this.Tender = tender;
     EntityUpdated();
 }
 public void AddTender(int tenderid, int tenderTypeId, string tenderName, string tenderNumber, string purpose, int?offersCheckingCommitteeId, int offerPresentationWayId, string agencyCode, int branchId)
 {
     Tender = new Tender(tenderTypeId, tenderName, tenderNumber, purpose, null, offersCheckingCommitteeId, null, offerPresentationWayId, null, agencyCode, branchId, null, null, "", null, null);
     EntityCreated();
 }