FHM28052603SAS - commit remaining changes

This commit is contained in:
sas.fajri
2026-05-28 14:35:21 +07:00
parent 512f649616
commit ee7689654b
10 changed files with 8397 additions and 362 deletions

View File

@@ -578,6 +578,7 @@ class Transactionv2 extends MY_Controller
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
@@ -1117,6 +1118,7 @@ class Transactionv2 extends MY_Controller
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
@@ -1913,6 +1915,7 @@ class Transactionv2 extends MY_Controller
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
@@ -2412,6 +2415,7 @@ class Transactionv2 extends MY_Controller
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
@@ -2857,6 +2861,7 @@ class Transactionv2 extends MY_Controller
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
@@ -2904,7 +2909,15 @@ class Transactionv2 extends MY_Controller
T_OrderDetailIsActive = 'Y'
UNION
SELECT T_OrderDetailID as TrxLayananID,
Nat_GroupID as ProfitCostCenterCode,
case
when Nat_GroupID = 1 then '1100'
when Nat_GroupID = 2 then '1200'
when Nat_GroupID = 3 then '1200'
when Nat_GroupID = 4 then '1303'
when Nat_GroupID = 5 then '1321'
when Nat_GroupID = 6 then '1600'
when Nat_GroupID = 7 then '1500'
end as ProfitCostCenterCode,
'' as TrxDepartemenID,
T_OrderDetailCreated as TanggalBuat,
T_OrderDetailT_TestSasCode as LayananID,