public string PSSCloseYN(string V_YEAR_MONTH) { try { string V_CLOSE_FLAG = ""; DBO.VAM011_DBO dbo = new VAM011_DBO(ref USEDB); dbo.doCheckPSSCloseYN(V_YEAR_MONTH, out V_CLOSE_FLAG); return V_CLOSE_FLAG; } catch (Exception ex) { throw ex; } }
/// <summary> /// 傳入值: /// @日結日期 /// 回傳值: /// @日結狀態FLAG /// /// TABLE:VDS_VAM_CHECK_OUT(供應商日結檔) /// /// 說明:檢查CHECK_DATE=@日結日期是否存在,如果有值表示已經日結了, /// 回傳@日結狀態FLAG則日結BUTTON變成DISABLE, /// 日結解除為ENABLE。如果還沒日結,BUTTON狀態則反之。 /// </summary> public string VendorCloseYN(DateTime D_CHECK_DATE) { try { string V_CLOSE_FLAG = ""; DBO.VAM011_DBO dbo = new VAM011_DBO(ref USEDB); dbo.doQueryVendorCloseYN(D_CHECK_DATE, out V_CLOSE_FLAG); return V_CLOSE_FLAG; } catch (Exception ex) { throw ex; } }
/// <summary> /// 呼叫PACKAGE : /// VDS_ACM_VAM01.SP_UnCheckVendorDailyClose進行日結解除作業。 /// 傳入參數: /// @日結解除日期 /// 傳回訊息: /// @日結解除是否成功 /// </summary> public string UnCheckVendorDailyClose(DateTime D_CHECK_DATE, string V_USER_ID) { try { string V_RESULT = ""; DBO.VAM011_DBO dbo = new VAM011_DBO(ref USEDB); dbo.doUnCheckDailyClose(D_CHECK_DATE, V_USER_ID, out V_RESULT); return V_RESULT; } catch (Exception ex) { throw ex; } }