Created
March 12, 2025 08:58
-
-
Save meetchandan/6009abc5293d088801d568b95776a884 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
mu.id_partner, | |
mu.statement_date, | |
mu.statement_nr, | |
mu.currency_code, | |
ft.name_en as fee_name, | |
mu.unique_line_ref1 as item_nr, | |
mu.delta_amount as amount | |
from noonbiprosel.mpst_union.mpst_union mu | |
left join noondwh.mpst.fee_type_v2 ft on ft.zsku= mu.zsku | |
where ft.name_en in ('Minutes Referral Fee', 'Minutes Referral Fee Adjustment', 'Minutes Replenishment Fee', 'Minutes Coupon Discount', 'Minutes Outbound Fee') | |
limit 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what details would sellers need
unique on item_nr
storage fee - on a monthly basis?