You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB

1 year ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.SCP.Models.ScpEntity
{
public class V_ASN_PRINT
{
public string Site { get; set; }
public string FileNo{get;set;}
public string DeliveryNo{get;set;}
public string ChineseAddress{get;set;}
public string EnglishAddress{get;set;}
public string SupplierNo{get;set;}
public string SupplierName{get;set;}
public string SupplierContacter{get;set;}
public string SupplierPhone => ScpCache.GetVendPhone(SupplierNo,Site);
public string SupplierFax => ScpCache.GetVendFax(SupplierNo,Site);
public string DueDeliveryDate{get;set;}
public string MaterialPlanner{get;set;}
public string CAAIPhone{get;set;}
public string CAAIFax { get; set; }
}
public class V_ASN_PRINT_DETAIL
{
public string PartNo { get; set; }
public string PartDesc { get; set; }
public string Unit { get; set; }
public string STD { get; set; }
public string Boxes { get; set; }
public string DeliverQty { get; set; }
public string ReceiveQty { get; set; }
public string PoNo { get; set; }
public string LineNO { get; set; }
public string Memo { get; set; }
public string DockCode { get; set; }
public string Batch { get; set; }
public string ProjectId { get; set; }
public string DockCode_Desc => ScpCache.PortList.Where(p => p.PORT_NO == DockCode).FirstOrDefault() == null ? "" : ScpCache.PortList.Where(p => p.PORT_NO == DockCode).FirstOrDefault().PORT_DESCRIPTION;
}
}