UPDATE CHITIETTHEO
update nhanh tài khoản cần quản lý chi tiết theo.
Ví dụ: Tài khoản 641 cần quản lý theo khoản mục
// Some code
update taikhoan
set chitiettheo=chitiettheo+ (case when chitiettheo<>'' then ',KhoanMuc#1' else 'KhoanMuc#1' end)
, chitiettheotext = chitiettheotext + (case when chitiettheotext<>'' then N', Khoản mục<Bắt buộc>' else N'Khoản mục<Bắt buộc>' end)
, modidate=getdate()
where ma like '64%'
Last updated