예제 #1
0
    public string UpdatePalletFinish(string palletno, string userid)
    {
        string result = string.Empty;

        try
        {
            using (ProductCardRePackBLL prodRePack = new ProductCardRePackBLL())
            {
                result = prodRePack.UpdatePalletFinish(palletno, userid);
            }
        }
        catch (Exception ex)
        {
            result = ex.Message;
        }
        return(result);
    }
예제 #2
0
    public Pallet GetPalletInfo(string palletno)
    {
        Pallet pallet = null;

        try
        {
            using (ProductCardRePackBLL prodRePack = new ProductCardRePackBLL())
            {
                pallet = prodRePack.GetPalletDetail(palletno);
            }
        }
        catch (Exception ex)
        {
            pallet = null;
            throw ex;
        }
        return(pallet);
    }
예제 #3
0
    public ProductCard GetUpdatePCPallet(string palletno, string serialNo, string userid, out string resultMsg) //
    {
        resultMsg = string.Empty;
        ProductCard pdCard = null;

        try
        {
            using (ProductCardRePackBLL prodRePack = new ProductCardRePackBLL())
            {
                pdCard = prodRePack.GetUpdatePCRepack(palletno, serialNo, userid, out resultMsg);
            }
        }
        catch (Exception ex)
        {
            pdCard = null;
            throw ex;
        }
        return(pdCard);
    }
예제 #4
0
    public PalletList GetPalletList(string pickno, out string resultMsg) //
    {
        resultMsg = string.Empty;
        PalletList lstPallet = null;

        try
        {
            using (ProductCardRePackBLL prodRePack = new ProductCardRePackBLL())
            {
                lstPallet = prodRePack.GetPalletList(pickno, out resultMsg);
            }
        }
        catch (Exception ex)
        {
            resultMsg = ex.Message;
        }

        return(lstPallet);
    }