public int SaveImportBL(IBLHeader blHeader)
        {
            int blId       = 0;
            int blFooterId = 0;

            blId = ImportBLDAL.SaveImportBL(blHeader);

            if (blId > 0)
            {
                if (!ReferenceEquals(blHeader.BLFooter, null))
                {
                    foreach (IBLFooter footer in blHeader.BLFooter)
                    {
                        footer.BLID = blId;
                        blFooterId  = ImportBLDAL.SaveImportBLFooter(footer);
                    }
                }
            }

            return(blId);
        }
示例#2
0
 public int SaveBLQActivity(string Activity, int BLID)
 {
     return(ImportBLDAL.SaveBLQActivity(Activity, BLID));
 }
示例#3
0
 public DataTable GetTareWeight(int ContainerTypeID)
 {
     return(ImportBLDAL.GetTareWeight(ContainerTypeID));
 }
示例#4
0
 public DataTable GetContainerType()
 {
     return(ImportBLDAL.GetContainerType());
 }
示例#5
0
 public int GetAddressId(string AddrName)
 {
     return(ImportBLDAL.GetAddressId(AddrName));
 }
示例#6
0
 public int GetDefaultFreeDays(int NvoccId, int Locn)
 {
     return(ImportBLDAL.GetDefaultFreeDays(NvoccId, Locn));
 }
示例#7
0
 public int GetDeliveryToId(string DeliveryTo)
 {
     return(ImportBLDAL.GetDeliveryToId(DeliveryTo));
 }
示例#8
0
 public int GetUnitId(string UnitName)
 {
     return(ImportBLDAL.GetUnitId(UnitName));
 }
示例#9
0
 public string GetPanNoById(int CompanyId)
 {
     return(ImportBLDAL.GetPanNoById(CompanyId));
 }
示例#10
0
 public DataTable GetAllInvoice(Int64 BLId)
 {
     return(ImportBLDAL.GetAllInvoice(BLId));
 }
示例#11
0
 public DataTable GetUploadedDocByID(int DocID)
 {
     return(ImportBLDAL.GetUploadedDocByID(DocID));
 }
示例#12
0
 public int SaveSubmittedDocument(Int64 BLId, string Param)
 {
     return(ImportBLDAL.SaveSubmittedDocument(BLId, Param));
 }
示例#13
0
 public int DeleteUploadedDocument(Int64 DocId)
 {
     return(ImportBLDAL.DeleteUploadedDocument(DocId));
 }
示例#14
0
 public DataTable GetVoyages(int VesselId, int LocationID)
 {
     return(ImportBLDAL.GetVoyages(VesselId, LocationID));
 }
示例#15
0
 public int SaveUploadedDocument(Int64 BLId, int DocName, string DocType, byte[] DocImage, DateTime UploadDate)
 {
     return(ImportBLDAL.SaveUploadedDocument(BLId, DocName, DocType, DocImage, UploadDate));
 }
示例#16
0
 public void DeleteBL(long BLId)
 {
     ImportBLDAL.DeleteBL(BLId);
 }
示例#17
0
 public DataTable GetSurveyor(long LocationId)
 {
     return(ImportBLDAL.GetSurveyor(LocationId));
 }
示例#18
0
 public DataTable GetBLNo(int LocId, int LineId, string Initial)
 {
     return(ImportBLDAL.GetBLNo(LocId, LineId, Initial));
 }
示例#19
0
 public int GetPortId(string PortCode)
 {
     return(ImportBLDAL.GetPortId(PortCode));
 }
示例#20
0
 public DataTable GetCNAmtBreakup(Int64 InvoiceId)
 {
     return(ImportBLDAL.GetCNAmtBreakup(InvoiceId));
 }
示例#21
0
 public DataTable GetCFSCode(string CFSName)
 {
     return(ImportBLDAL.GetCFSCode(CFSName));
 }
示例#22
0
 public string GetCHAId(string CHAName)
 {
     return(ImportBLDAL.GetCHAId(CHAName));
 }
示例#23
0
 public int GetPGRFreeDays(int LocationId)
 {
     return(ImportBLDAL.GetPGRFreeDays(LocationId));
 }
示例#24
0
 public string GetCHAName(long CHAId)
 {
     return(ImportBLDAL.GetCHAName(CHAId));
 }
示例#25
0
 public string GetAddress(string AddrName)
 {
     return(ImportBLDAL.GetAddress(AddrName));
 }
示例#26
0
 public int GetVesselId(string VesseleName)
 {
     return(ImportBLDAL.GetVesselId(VesseleName));
 }
示例#27
0
        //public DataTable GetISOCode()
        //{
        //    return ImportBLDAL.GetISOCode();
        //}

        public string GetISOCode(long LocationID, int ContainerSize)
        {
            return(ImportBLDAL.GetISOCode(LocationID, ContainerSize));
        }
示例#28
0
 public DataTable GetContainerBLWise(Int64 BlId)
 {
     return(ImportBLDAL.GetContainerBLWise(BlId));
 }
示例#29
0
 public DataTable GetDefaultFreightPayableAt(int LocationId)
 {
     return(ImportBLDAL.GetDefaultFreightPayableAt(LocationId));
 }
示例#30
0
 public void SaveDestuffing(int Dest, Int64 BlID)
 {
     ImportBLDAL.SaveDestuffing(Dest, BlID);
 }