Open llp-devr opened 5 months ago
Describe the bug The file 1_charge_type_S001.yaml defines that : WHEN "lineItem/LineItemType" = 'BundledDiscount' THEN 'Usage'
WHEN "lineItem/LineItemType" = 'BundledDiscount' THEN 'Usage'
But the file charge_sub_category_S001.yaml defines that: WHEN ChargeType = 'Adjustment' AND "lineItem/LineItemType" = 'BundledDiscount' THEN 'Credit'
WHEN ChargeType = 'Adjustment' AND "lineItem/LineItemType" = 'BundledDiscount' THEN 'Credit'
The point is that based on the rule of the file 1_charge_type_S001.yaml, ChargeType will always be USAGE and ChargeSubcategory will never be Credit.
Thak you @llp-devr for pointing this out, if you could suggest a query or a fix, I will be happy to incorporate.
Describe the bug The file 1_charge_type_S001.yaml defines that :
WHEN "lineItem/LineItemType" = 'BundledDiscount' THEN 'Usage'
But the file charge_sub_category_S001.yaml defines that:
WHEN ChargeType = 'Adjustment' AND "lineItem/LineItemType" = 'BundledDiscount' THEN 'Credit'
The point is that based on the rule of the file 1_charge_type_S001.yaml, ChargeType will always be USAGE and ChargeSubcategory will never be Credit.