Exemplo n.º 1
0
    public List<PartSafetySetting> GetPartSafetyList(long partInfoId)
    {
        List<PartSafetySetting> list = new PartInfoDAO().FindSafetiesForSetting(partInfoId, UserHelper.DealerCode);

        return list;
    }
Exemplo n.º 2
0
 protected void GetInformation(long partInfoId)
 {
     if (lastInfoId != partInfoId)
     {
         // count warehouse to span row
         int rows = new PartInfoDAO().CountSafetiesForSetting(UserHelper.DealerCode);
         lastRowsCount = (rows == 0) ? 1 : rows;
         lastInfoId = partInfoId;
     }
 }