Anlaşmalı Kurum Seçim

Ekran Adi: Anlaşmalı Kurum Seçim Ekranı

Menu ID STR: BILDLL_ANLASMALIKURUMSECIM

Menu bulundugu yerin screenshot I veya uzun adi:

Genel bir ekran olduğu için özel bir menü yeri yok.

Assembly: BB.BILDLL.AnlasmaliKurumSecim

Kullanilan Proje:

Ozel+Devlet

Kullanilan tablolarin listesi: (devlet + ozel)

ANLASMALI_KURUM
SOZLESME
TARIFE
KURUM_GRUP
ANLASMALI_KURUM_FIRMASUBE
SOZLESME_FIRMASUBE
GRUP_YETKILI_FIRMALAR
GRUP_YETKILI_SUBELER

KRMSZLTARIFE_KULLANIM
GRUP_USER
GRUP_ANLASMALIKURUM

Ekran Acilis Parametreleri:

Windows Uygulamasından:

MessageType: WindowsOpenMenuItem

ProgramModule: 118

MenuId: BILDLL_ANLASMALIKURUMSECIM

ControlParam :

Ekranda Kullanilan yetkiler:

1) PARAM_TABLE.ANL_KRM_BUL_FIRMA_TANIMLI

ANL_KRM_BUL_FIRMA_TANIMLI == 1; Seçili firma değerlerine göre aşağıdaki tablolardan ilişkili olanları getirir.

ANLASMALI_KURUM_FIRMASUBE
SOZLESME_FIRMASUBE

2) PARAMETRELER.SUBELI_CALIS == 1 ; yukarıdaki sorguya ek olarak aşağıdaki tablolardan grup bilgisine göre filtreleme yapar.

GRUP_YETKILI_FIRMALAR
GRUP_YETKILI_SUBELER

3) Kurum seçim işlemi tamamlanma esnasında, İşlem Tipi “SECVECIK” ve “KONTROLSUZ” değil ise aktif kullanıcının sözleşme kullanma yetkisi kontrol edilir.

4) Kurum seçim işlemi tamamlanma esnasında, GrupID’ye göre anlaşmalı kurumu kullanma yetkisi kontrol edilir.

————————————–

Servis Çağırımı :
—————-
BB.BILDLL.WebApi.GetSozlesmeKurum

Input Parameter : AnlasmaliKurumSecimParamDto

public class AnlasmaliKurumSecimParamDto
{
public int TekduzenFirmaId;
public int SozlesmeId;

public bool IsSozlesmeKontroluYap;
public bool IsForKurum2Sec;
public bool IsForFreeTarifeSec;
public string FreeTarifeSecTip = “Genel”;

public int UserId;
public string UserName;
public int GrupId;

public bool IsForGSSGenel;
public bool IsForGSS18YasAlti;
public bool IsForGSSTrafikKazasi;
public bool IsForGSSSaglikTurizm;

public int HastaId;
}

Return Value : AnlasmaliKurumSecimReturnDto

public class AnlasmaliKurumSecimReturnDto
{
public AnlasmaliKurumSecimDto Item;
public AnlasmaliKurumSecimReturnState ReturnCode = AnlasmaliKurumSecimReturnState.OK;
public string ErrorMessage;
}

public enum AnlasmaliKurumSecimReturnState
{
OK,
KURUM2SEC,
FREETARIFESEC,
NOTFOUND,
ERROR
}

public class AnlasmaliKurumSecimDto : DtoBase
{
public int KURUM_ID { get; set; }
public string KURUM_ADI { get; set; }
public int SOZLESME_ID { get; set; }
public string SOZLESME_ADI { get; set; }
public string KURUM_TIPI { get; set; }
public string SOZLESME_TIPI { get; set; }
public Nullable UST_SOZLESME_ID { get; set; }
public Nullable SEKTOR_ID { get; set; }
public Nullable GRUP_ID { get; set; }
public int MALIGRUP_ID { get; set; }
public int SZL_TARIFE_ID { get; set; }
public int KURUM_ID2 { get; set; }
public string KURUM_ADI2 { get; set; }
public Nullable UST_KURUM_ID { get; set; }
public Nullable UST_KURUM_ID2 { get; set; }
public int DEFAULT_GRUPLU_GRUP { get; set; }
public string GRUP_ADI { get; set; }
public string SGK_DEVIRKODU { get; set; }
public int IL_ID { get; set; }
public int ILCE_ID { get; set; }
public string KURUM2_SERBEST { get; set; }
public string KURUM2_SERBEST_LIST { get; set; }
public string SEVKEVRAK_TESLIMI { get; set; }
public string TRF_ACIKLAMA { get; set; }
public bool VIZE_TARIHI_OLMALI { get; set; }
public string SIGORTALI_TURU { get; set; }
public string TEL { get; set; }
public string FATURA_ADRESI { get; set; }
public string VERGI_DAIRESI { get; set; }
public string VERGI_NO { get; set; }
public decimal TOPLAM_LIMIT { get; set; }
public decimal KREDI_LIMITI { get; set; }
public int UYARI_ORANI { get; set; }
public int TASMA_ORANI { get; set; }
public int FATURA_KURUM_ID { get; set; }
public decimal SOZLESME_TOPLAM_LIMIT { get; set; }
public decimal SOZLESME_AYAKTA_LIMIT { get; set; }
public decimal SOZLESME_YATARAK_LIMIT { get; set; }
public decimal HASTA_TOPLAM_LIMIT { get; set; }
public decimal HASTA_AYAKTA_LIMIT { get; set; }
public decimal HASTA_YATARAK_LIMIT { get; set; }
public string NORMAL_GRITIS { get; set; }
public int GSSKURUM { get; set; }
public string GSS_GENEL_KURUM { get; set; }
public string KISA_AD { get; set; }
public short TAKIP_KONTROL_YAPMA { get; set; }
public int HASTA_KURUMU_OLARAK_SECILEMESIN { get; set; }
public string SEVK_UYARI_MESAJI { get; set; }
public string AYK_OTO_KURUM_TAHSILATI { get; set; }
public string YAT_OTO_KURUM_TAHSILATI { get; set; }
public string SEVKEVRAK_TESLIMI2 { get; set; }
public int? SEKTOR_ID2 { get; set; }
public int? GRUP_ID2 { get; set; }
}