PRIMO Data Lake
A standardized data delivery capability for exporting PRIMO data to Customer Data Lakes, Data Warehouses, Analytics Platforms, and other downstream data processing systems.
Overview
PRIMO Data Lake data delivery model
PRIMO Data Lake is a data delivery service designed to prepare and export data from the PRIMO system in file-based formats. This enables Customer systems to further utilize the data across various systems and platforms, including Data Lakes, Data Warehouses, Analytics Platforms, and other data processing systems according to the Customer's requirements.
PRIMO prepares and exports data on a daily basis. The data delivered is based on the previous day's data, referred to as T-1 (Previous Day). Files are prepared and delivered according to the scheduled End-of-Day Processing Cycle.
Available Reports
Standardized datasets available through PRIMO Data Lake
Delivery Architecture
Integration Patterns
Pattern 1: PRIMO GCS + Username / Password
PRIMO prepares the data and stores the files in Google Cloud Storage (GCS) managed by PRIMO. The Customer is provided with Username and Password credentials to access and download files.
Pattern 2: Customer GCS
PRIMO prepares the data and transfers the files to a Google Cloud Storage (GCS) bucket managed by the Customer.
Daily Data Delivery
PRIMO prepares and delivers data on a daily basis. The data delivered is based on the previous day's data, or T-1.
Example: If PRIMO delivers a file on 20 August 2026, the data contained in the file will correspond to 19 August 2026.
| Delivery Date | Data Date |
|---|---|
| 20 Aug 2026 | 19 Aug 2026 |
| 21 Aug 2026 | 20 Aug 2026 |
| 22 Aug 2026 | 21 Aug 2026 |
Load Type
PRIMO Data Lake uses Incremental Load as the default data delivery method.
Incremental Load
Only data that has been newly created, added, or modified within the defined export period is included in the corresponding export cycle.
Full Dump
The complete dataset is exported during the respective export cycle, rather than only records that have been newly created or modified.
Datasets supporting Full Dump:
Membership Report
The Membership report serves as the primary Master Data repository, storing the profiles, identity attributes, and usage statuses of all customers within the system. It acts as the Single Source of Truth for tracking the entire member lifecycle, encompassing initial registration, consent management, personal data updates, and the most recent system access behaviors.
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | customer_ref | String | รหัสสมาชิกชื่อ ถูกสร้างโดยระบบ PRIMO (**Unique ใน Report) | Y | Y | M0000031090 | |
| 2 | open_id | String | OPEN ID ของ Line ของสมาชิก (**Unique ใน Report เนื่องจากระบบไม่รองรับ open id ซ้ำ) | N | Y | open_id_loadtest536827514 | แสดงข้อมูล open_id ล่าสุด |
| 3 | mobile | String | เบอร์โทรศัพท์ (**Unique ใน Report เนื่องจากระบบไม่รองรับเบอร์โทรศัพท์ซ้ำ) | Y | Y | 0991230000 | |
| 4 | String | อีเมล (**Unique ใน Report เนื่องจากระบบไม่รองรับอีเมลซ้ำ) | N | Y | pinkaew0@primo.mobi | ||
| 5 | firstname_th | String | ชื่อ ภาษาไทย | N | N | มะลิลา | |
| 6 | lastname_th | String | นามสกุล ภาษาไทย | N | N | ทองใบสุข | |
| 7 | firstname_en | String | ชื่อ ภาษาอังกฤษ | N | N | - | |
| 8 | lastname_en | String | นามสกุล ภาษาอังกฤษ | N | N | - | |
| 9 | date_of_birth | String | วันเดือนปีเกิด | N | N | 11/8/1993 | |
| 10 | citizen_id | String | หมายเลขบัตรประชาชน (**Unique ใน Report) | N | Y | 123456789784 | |
| 11 | passport_no | String | หมายเลขหนังสือเดินทาง (**Unique ใน Report) | N | Y | MJ09090 | |
| 12 | member_status | Enum | สถานะของสมาชิก ประกอบด้วย member, guest, delete | Y | N | member | |
| 13 | account_status | Enum | สถานะของบัญชี ประกอบด้วย active, inactive, draft, deleted | Y | N | active | |
| 14 | gender | String | เพศ | N | N | หญิง | |
| 15 | address_freetext | String | ที่อยู่แบบอิสระ | N | N | - | |
| 16 | address_no | String | หมายเลขที่อยู่ | N | N | 321/1111 | |
| 17 | room_no | String | หมายเลขห้อง | N | N | 56 | |
| 18 | building_village | String | ชื่อหมู่บ้าน/อาคาร | N | N | การ์เด้น | |
| 19 | moo | String | หมู่ | N | N | 4 | |
| 20 | road | String | ถนน | N | N | Krabi | |
| 21 | soi | String | ซอย | N | N | soi | |
| 22 | province | String | จังหวัด | N | N | กำแพงเพชร | |
| 23 | district | String | อำเภอ/เขต | N | N | คลองลาน | |
| 24 | sub_district | String | ตำบล/แขวง | N | N | คลองน้ำไหล | |
| 25 | post_code | String | รหัสไปรษณีย์ | N | N | 62180 | |
| 26 | brand | String | แบรนด์ที่สมัครสมาชิก | N | N | __default_brand__ | |
| 27 | branch | String | สาขาที่สมัครสมาชิก | Y | N | __default_branch__ | |
| 28 | last_active_at | Timestamp | เวลาที่เข้าสู่ระบบล่าสุด (UTC+7) | N | N | 4/9/2023 09:57 | |
| 29 | created_at | Timestamp | วันที่บัญชีถูกสร้าง (UTC+7) | Y | N | 23/5/2023 16:27 | |
| 30 | updated_at | Timestamp | วันที่บัญชีถูกแก้ไขล่าสุด (UTC+7) | Y | N | 24/5/2023 11:54 | |
| 31 | granted_tc_version | String | เวอร์ชัน T&C ล่าสุดที่ยอมรับ | Y | N | 23.1 | |
| 32 | granted_tc | Enum | สถานะยอมรับ T&C (granted, not granted, renewed) | Y | N | renewed | |
| 33 | custom_field | String | ข้อมูล Custom JSON อื่นๆ | N | N | {\displayname\":\"open_id_loadtest536827514\"} | |
| 34 | owner | String | ชื่อ Project ของข้อมูล | Y | N | CRM_Project | |
| 35 | member_tag | String | Tag ของสมาชิก (คั่นด้วยเซมิโคลอน) | N | N | birth_date=2016-07-06;purchase_channel=shopee;purchase_channel=Webshite |
ตัวอย่าง Report: Member Export Data
| customer_ref | open_id | mobile | firstname_th | lastname_th | firstname_en | lastname_en | date_of_birth | citizen_id | passport_no | member_status | account_status | gender | address_freetext | address_no | room_no | building_village | moo | road | soi | province | district | sub_district | post_code | brand | branch | last_active_at | created_at | updated_at | granted_tc_version | granted_tc | custom_field | owner | member_tag | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M0000031090 | open_id_loadtest383086013 | 0991230000 | pinkaew0@primo.mobi | มะลิลา | ทองใบสุข | Malila | Thongbaisuk | 11/8/1993 | 1234567897841 | member | active | หญิง | 321/1111 | 56 | การ์เด้น | 4 | Krabi | soi | กำแพงเพชร | คลองลาน | คลองน้ำไหล | 62180 | __default_brand__ | __default_branch__ | 4/9/2023 09:57 | 23/5/2023 16:27 | 24/5/2023 11:54 | 23.1 | renewed | {"displayname":"U612ab945ce62c3493b4d7214c1d2b73f"} | CRM_Project | birth_date=1993-08-11;purchase_channel=shopee | ||
| M0000031091 | 0819876543 | somchai.m@example.com | สมชาย | มุ่งมั่น | Somchai | Mungmun | 22/1/1985 | 9876543210123 | member | active | ชาย | 123/45 ถนนสุขุมวิท | 123/45 | สุขุมวิท | สุขุมวิท 71 | กรุงเทพมหานคร | วัฒนา | พระโขนงเหนือ | 10110 | __default_brand__ | BKK_Branch | 15/10/2023 14:30 | 10/1/2022 10:00 | 15/10/2023 15:00 | 23.1 | renewed | CRM_Project | CUSTOM=52;vip_customer=true | ||||||
| M0000031092 | open_id_guest999123 | 0890001111 | guest | draft | __default_brand__ | LINE_OA | 18/10/2023 08:15 | 18/10/2023 08:10 | 18/10/2023 08:15 | 23.1 | granted | {"displayname":"Guest_User99"} | CRM_Project | registration_source=line_liff |
Point on Hand Report
The Point on Hand Report displays the current point balances of customers, categorized by point currency and expiration date, providing a clear overview of each member's remaining points
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_id | String | Unique transaction_id อยู่ใน format customerRef_pointId_expiredDate(unixtimestamp) (**Unique ใน Report) | Y | Y | M0000051244_17_1722470399 | |
| 2 | customer_ref | String | หมายเลขสมาชิก ถูกสร้างโดยระบบ PRIMO | Y | - | M0000051244 | |
| 3 | point_id | Int | รหัสของคะแนน | Y | - | 17 | |
| 4 | point_currency | String | ชื่อคะแนน | Y | - | Redemption Point | |
| 5 | expired_date | Date | วันที่คะแนนหมดอายุ | Y | - | 31-12-2024 | |
| 6 | point_balance | Int / double | จำนวนคะแนนที่ ณ วันปัจจุบันของสมาชิกที่เหลืออยู่ | Y | - | 200 | |
| 7 | lifetime_accumulation_point_balance | Int | จำนวนคะแนนที่สะสมตลอดระยะเวลาที่เป็นสมาชิก | Y | - | 200 | กรณีที่ point เป็นประเภท qualify lifetime_accumulation_point_balance จะดึงจาก pointbalance field ในฝั่งของ operation database แทน |
| 8 | updated_at | Timestamp (UTC+7) | วันที่คะแนนของสมาชิกมีการแก้ไขหรืออัปเดต | Y | - | 27-07-2024 12:49:00 PM | |
| 9 | point_type | String | ประเภทของคะแนน ประกอบด้วย Qualify และ non-Qualify | Y | - | Non-qualifying-TH | |
| 10 | point_category | String | หมวดหมู่คะแนน | Y | - | - | |
| 11 | created_at | Timestamp (UTC+7) | วันที่ข้อมูลถูกนำมาสร้างรายงาน (Adding by code) | Y | - | 27-07-2024 12:49:00 PM | |
| 12 | owner | String | ชื่อ Project ของข้อมูล (Adding by code) | Y | - | PRIMO | |
| 13 | member status | String | สถานะของสมาชิก | Y | - | Active |
ตัวอย่าง Report : Point on hand Export Data
| transaction_id | customer_ref | point_id | point_currency | expired_date | point_balance | lifetime_accumulation_point_balance | updated_at | point_type | point_category | created_at | owner | member_status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M0000051244_17_1722470399 | M0000051244 | 17 | Redemption Point | 31-12-2024 | 200 | 200 | 27-07-2024 12:49:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051245_17_1722470399 | M0000051245 | 17 | Redemption Point | 31-12-2024 | 450 | 500 | 27-07-2024 01:15:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051246_18_1735623600 | M0000051246 | 18 | Brand Privilege Point | 31-12-2025 | 1200 | 1200 | 27-07-2024 02:00:00 PM | Qualify-TH | VIP Tier | 27-07-2024 12:49:00 PM | PRIMO | Active |
| M0000051247_17_1722470399 | M0000051247 | 17 | Redemption Point | 31-12-2024 | 50 | 150 | 27-07-2024 02:30:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051248_19_1735623600 | M0000051248 | 19 | Birthday Bonus Point | 31-12-2025 | 300 | 300 | 27-07-2024 03:10:00 PM | Non-qualifying-TH | Special | 27-07-2024 12:49:00 PM | PRIMO | Active |
| M0000051249_17_1722470399 | M0000051249 | 17 | Redemption Point | 31-12-2024 | 80 | 80 | 27-07-2024 03:45:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051250_18_1735623600 | M0000051250 | 18 | Brand Privilege Point | 31-12-2025 | 2500 | 3000 | 27-07-2024 04:20:00 PM | Qualify-TH | VIP Tier | 27-07-2024 12:49:00 PM | PRIMO | Active |
| M0000051251_17_1722470399 | M0000051251 | 17 | Redemption Point | 31-12-2024 | 0 | 350 | 27-07-2024 05:00:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051252_17_1722470399 | M0000051252 | 17 | Redemption Point | 31-12-2024 | 620 | 620 | 27-07-2024 05:30:00 PM | Non-qualifying-TH | 27-07-2024 12:49:00 PM | PRIMO | Active | |
| M0000051253_20_1735623600 | M0000051253 | 20 | Campaign Special Point | 31-12-2025 | 150 | 150 | 27-07-2024 06:10:00 PM | Non-qualifying-TH | Marketing | 27-07-2024 12:49:00 PM | PRIMO | Active |
Tier Movement Report
The Tier Movement Report provides a detailed history of customers' membership level changes, tracking upgrades, downgrades, effective dates, and the specific conditions triggering these adjustments. This data enables the organization to monitor the member journey and analyze behavioral shifts across tiers, allowing for the development of precise retention strategies and targeted promotions tailored to each member segment
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | log_id | String | Unique ถูกสร้างโดยระบบ PRIMO | Y | Y | 2727_1711994798 | trans_member_tiers_id + '_' + created_at that convert to seconds |
| 2 | customer_ref | String | หมายเลขสมาชิก ถูกสร้างโดยระบบ PRIMO | Y | - | M0000045668 | |
| 3 | loyalty_program_id | Int | หมายเลข loyalty program (ซึ่ง PRIMO ปัจจุบันมีแค่ ID 1) | Y | - | 2 | |
| 4 | loyalty_program_name | String | ชื่อ loyalty program | Y | - | Loyalty Plus | |
| 5 | tier_group_id | Int | หมายเลข Tier Group Id | Y | - | 8 | |
| 6 | tier_group_name | String | ชื่อ Tier Group | Y | - | Margarita | |
| 7 | tier_id | Int | หมายเลข Tier Id | Y | - | 7 | |
| 8 | tier_name | String | ชื่อ Tier | Y | - | Silver | |
| 9 | entry_date | Timestamp (UTC+7) | วันที่เข้าสู่ระดับสมาชิก | Y | - | 13/6/2023 18:11 | |
| 10 | expired_date | Timestamp (UTC+7) | วันที่หมดอายุระดับสมาชิก | Y | - | 31/12/2024 23:59 | |
| 11 | retention_next_expire_date | Timestamp (UTC+7) | วันที่รักษาระดับสมาชิก | - | - | 31/12/2024 23:59 | |
| 12 | promotion_next_entry_date | Timestamp (UTC+7) | วันที่เลื่อนระดับสมาชิก | - | - | 31/12/2024 23:59 | |
| 13 | promotion_next_expire_date | Timestamp (UTC+7) | วันสิ้นสุดการเลื่อนระดับสมาชิก | - | - | 31/12/2024 23:59 | |
| 14 | previouse_tier_id | Int | รหัสระดับสมาชิกก่อนหน้า | - | - | 6 | |
| 15 | previouse_tier_name | String | ชื่อระดับสมาชิกก่อนหน้า | - | - | Member | |
| 16 | promotion_next_tier_id | Int | รหัสระดับสมาชิกถัดไปเมื่อมีการเลื่อนระดับ | - | - | 8 | |
| 17 | promotion_next_tier_name | String | ชื่อระดับสมาชิกถัดไปเมื่อมีการเลื่อนระดับ | - | - | Gold | |
| 18 | grace_period_start_date | Timestamp | ระยะเวลาผ่อนผันเริ่มต้น ในการรักษาระดับสมาชิก | - | - | 31/12/2024 23:59 | |
| 19 | grace_period_end_date | Timestamp | ระยะเวลาผ่อนผันสิ้นสุด ในการรักษาระดับสมาชิก | - | - | 31/12/2024 23:59 | |
| 20 | created_at | Timestamp | วันที่เกิด log ของระดับสมาชิก | Y | - | 13/6/2023 18:11 | |
| 21 | updated_at | Timestamp | วันล่าสุดที่มีการแก้ไข log ของระดับสมาชิก | Y | - | 13/6/2023 18:11 | |
| 22 | owner | String | ชื่อ Project ของข้อมูล | Y | - | BOBA-current |
ตัวอย่าง Report : Tier Move Ment Export Data
| log_id | customer_ref | loyalty_program_id | loyalty_program_name | tier_group_id | tier_group_name | tier_id | tier_name | entry_date | expired_date | retention_next_expire_date | promotion_next_entry_date | promotion_next_expire_date | previouse_tier_id | previouse_tier_name | promotion_next_tier_id | promotion_next_tier_name | grace_period_start_date | grace_period_end_date | created_at | updated_at | owner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2727_1711994798 | M0000045668 | 2 | Loyalty Plus | 8 | Margarita | 7 | Silver | 13/06/2023 18:11 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 6 | Member | 8 | Gold | - | - | 13/06/2023 18:11 | 13/06/2023 18:11 | CRM-current |
| 2728_1711995100 | M0000045669 | 2 | Loyalty Plus | 8 | Margarita | 8 | Gold | 14/06/2023 10:00 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 7 | Silver | 9 | Platinum | - | - | 14/06/2023 10:00 | 14/06/2023 10:00 | CRM-current |
| 2729_1711995350 | M0000045670 | 2 | Loyalty Plus | 8 | Margarita | 6 | Member | 15/06/2023 11:30 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | - | - | 7 | Silver | - | - | 15/06/2023 11:30 | 15/06/2023 11:30 | CRM-current |
| 2730_1711995600 | M0000045671 | 2 | Loyalty Plus | 8 | Margarita | 9 | Platinum | 16/06/2023 14:20 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 8 | Gold | - | - | - | - | 16/06/2023 14:20 | 16/06/2023 14:20 | CRM-current |
| 2731_1711995900 | M0000045672 | 2 | Loyalty Plus | 8 | Margarita | 7 | Silver | 17/06/2023 09:15 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 6 | Member | 8 | Gold | - | - | 17/06/2023 09:15 | 17/06/2023 09:15 | CRM-current |
| 2732_1711996200 | M0000045673 | 2 | Loyalty Plus | 8 | Margarita | 8 | Gold | 18/06/2023 16:45 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 7 | Silver | 9 | Platinum | - | - | 18/06/2023 16:45 | 18/06/2023 16:45 | CRM-current |
| 2733_1711996500 | M0000045674 | 2 | Loyalty Plus | 8 | Margarita | 6 | Member | 19/06/2023 13:10 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | - | - | 7 | Silver | - | - | 19/06/2023 13:10 | 19/06/2023 13:10 | CRM-current |
| 2734_1711996800 | M0000045675 | 2 | Loyalty Plus | 8 | Margarita | 7 | Silver | 20/06/2023 10:50 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 6 | Member | 8 | Gold | 01/01/2024 00:00 | 31/03/2024 23:59 | 20/06/2023 10:50 | 20/06/2023 10:50 | CRM-current |
| 2735_1711997100 | M0000045676 | 2 | Loyalty Plus | 8 | Margarita | 9 | Platinum | 21/06/2023 15:00 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 8 | Gold | - | - | - | - | 21/06/2023 15:00 | 21/06/2023 15:00 | CRM-current |
| 2736_1711997400 | M0000045677 | 2 | Loyalty Plus | 8 | Margarita | 6 | Member | 22/06/2023 11:25 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | 31/12/2024 23:59 | - | - | 7 | Silver | - | - | 22/06/2023 11:25 | 22/06/2023 11:25 | CRM-current |
Spending Earn Transaction Report
The Spending Earn Transaction Report is a summary report of member spending and point earning transactions within the CRM and Loyalty Program systems. It compiles detailed information ranging from transaction dates and times, member details, product and service details within the cart, and spending values used for point calculation, to the actual points earned by customers. This data is used to verify point accuracy, perform data analytics, and generate accounting or marketing reports
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_type | String | ประเภทของรายการ (Transaction Type) โดยระบบนี้กำหนดให้เป็น SPE (Spending Earn) เท่านั้นสำหรับรายงานชุดนี้ | Y | - | SPE | |
| 2 | member_no | String | หมายเลขสมาชิก ซึ่งถูกสร้างและบริหารจัดการโดยระบบ PRIMO | Y | - | M0000044188 | |
| 3 | transaction_id | String | รหัสประจำตัวรายการ (Transaction ID) | Y | Y | SPE00001230600005123 | |
| 4 | source_transaction_id | String | รหัสอ้างอิงรายการต้นทาง (Source Transaction ID) | Y | - | TX191848052 | |
| 5 | bill_no | String | หมายเลขใบเสร็จรับเงินที่เกี่ยวข้องกับรายการ | - | - | _TX191848052% | |
| 6 | order | Array |
รายการสินค้าหรือบริการภายในธุรกรรม
ประกอบด้วยรายละเอียดโครงสร้าง JSON:
• itemId = รหัสไอเทม (id) (รหัสอ้างอิงตาม item type) • itemCode = รหัสผลิตภัณฑ์/รหัสบริการ (รองรับทั้งภาษาไทยและอังกฤษ) • itemType = ประเภทไอเทม (service / product) • sku = รหัสผลิตภัณฑ์ • productSerialNo = หมายเลขซีเรียลผลิตภัณฑ์ • pricePerUnit = ราคาต่อหน่วย • itemQuantity = จำนวนสินค้า • itemDiscount = ส่วนลดสินค้า • orderAmount = ราคารวมต่อออเดอร์ • onTopCashDiscount = ส่วนลดออนท็อป • subtotal = ราคาสินค้าที่ร่วมรายการ • taxOrVat = ภาษีมูลค่าเพิ่ม • salesAfterTax = ราคาหลังหักภาษี • deliveryCostOrShippingFee = ค่าจัดส่ง • totalAmount = ราคารวมทั้งหมด • pointRedemptionCashBackAmount = จำนวนคะแนนที่ใช้เป็นส่วนลด |
- | - | [ { "item_id": 1, "item_code": "SV-001", "item_type": "service", "sku": "SKU-SERVICE-01", "product_serial_no": "SN2026001", "price_per_unit": 500.00, "item_quantity": 2, "item_discount": 50.00, "order_amount": 1000.00, "on_top_cash_discount": 50.00, "subtotal": 900.00, "tax_or_vat": 63.00, "sales_after_tax": 900.00, "delivery_cost_or_shipping_fee": 0.00, "total_amount": 900.00, "point_redemption_cash_back_amount": 0.00 } ] | |
| 7 | company | String | รหัสบริษัทที่สมาชิกทำรายการ | Y | - | __default_company__ | |
| 8 | brand | String | รหัสแบรนด์ที่สมาชิกทำรายการ | Y | - | __default_brand__ | |
| 9 | branch | String | รหัสสาขาที่สมาชิกทำรายการ | Y | - | __default_branch__ | |
| 10 | outcome_transaction_id | String | รหัสอ้างอิงผลลัพธ์ของบันทึกรายการ (Outcome Transaction ID) | Y | - | 6486d8ff0b2e55118fa6ca81 | |
| 11 | point_value | Int | จำนวนคะแนนที่ได้รับจากแต่ละรายการ (Transaction ID) | Y | - | 10.0 | |
| 12 | point_expire | String | วันที่หมดอายุของคะแนนที่ได้รับ (รูปแบบ YYYY-MM-DD) | Y | - | 2025-05-31 | |
| 13 | point_currency | String | ชื่อสกุลของคะแนนที่ได้รับ | Y | - | พรีพอยท์ | |
| 14 | transaction_at | Timestamp (UTC+7) | วันและเวลาที่มีการทำธุรกรรมจริง | Y | - | 12/6/2023 22:30 | |
| 15 | created_at | Timestamp (UTC+7) | วันและเวลาที่มีการบันทึกรายการเข้าสู่ระบบ | Y | - | 12/6/2023 15:36 | |
| 16 | created_by | String | ส่วนประกอบของระบบ (Module) ที่ทำหน้าที่สร้างรายการ | Y | - | SYSTEM | |
| 17 | updated_at | Timestamp (UTC+7) | วันและเวลาที่มีการปรับปรุงข้อมูลรายการล่าสุด (อ้างอิงจาก Outcome Transaction ID) | Y | - | 12/6/2023 15:36 | |
| 18 | updated_by | String | ส่วนประกอบของระบบ (Module) ที่ทำหน้าที่ปรับปรุงข้อมูลรายการ | Y | - | SYSTEM | |
| 19 | status | String | สถานะการดำเนินงานของรายการ | Y | - | succeeded | |
| 20 | owner | String | ชื่อโครงการ (Project) เจ้าของชุดข้อมูล | Y | - | BOBA-current | |
| 21 | transaction_channel | String | ช่องทางที่ใช้ในการทำรายการสะสมคะแนน | - | - | 1 | |
| 22 | earnable_value | Float | มูลค่าหรือสัดส่วนที่สามารถนำมาคำนวณคะแนนสะสมได้ | - | - | 1.0 |
ตัวอย่าง Report : Spending Earn Transaction Export Data
| No | transaction_type | member_no | transaction_id | source_transaction_id | bill_no | order | company | brand | branch | outcome_transaction_id | point_value | point_expire | point_currency | transaction_at | created_at | created_by | updated_at | updated_by | status | owner | transaction_channel | earnable_value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | SPE | M0000044188 | SPE00001230600005123 | TX191848052 | _TX191848052% | [ { "item_discount": 0, "item_id": 1, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 250, "product_serial_no": "0001", "total_amount": 250, "subtotal": 250, "order_amount": 250, "price_per_unit": 250, "sku": "SKU0001", "item_quantity": 1 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca81 | 10 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:30 | 12/6/2023 15:36 | SYSTEM | 12/6/2023 15:36 | SYSTEM | succeeded | BOBA-current | 1 | 250.0 |
| 2 | SPE | M0000044189 | SPE00001230600005124 | TX191848053 | _TX191848053% | [ { "item_discount": 0, "item_id": 2, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 500, "product_serial_no": "0002", "total_amount": 500, "subtotal": 500, "order_amount": 500, "price_per_unit": 250, "sku": "SKU0002", "item_quantity": 2 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca82 | 20 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:35 | 12/6/2023 15:40 | SYSTEM | 12/6/2023 15:40 | SYSTEM | succeeded | BOBA-current | 1 | 500.0 |
| 3 | SPE | M0000044190 | SPE00001230600005125 | TX191848054 | _TX191848054% | [ { "item_discount": 0, "item_id": 3, "item_type": "service", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 375, "product_serial_no": "0003", "total_amount": 375, "subtotal": 375, "order_amount": 375, "price_per_unit": 125, "sku": "SKU0003", "item_quantity": 3 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca83 | 15 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:40 | 12/6/2023 15:45 | SYSTEM | 12/6/2023 15:45 | SYSTEM | succeeded | BOBA-current | 2 | 375.0 |
| 4 | SPE | M0000044191 | SPE00001230600005126 | TX191848055 | _TX191848055% | [ { "item_discount": 0, "item_id": 4, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 750, "product_serial_no": "0004", "total_amount": 750, "subtotal": 750, "order_amount": 750, "price_per_unit": 375, "sku": "SKU0004", "item_quantity": 2 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca84 | 30 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:45 | 12/6/2023 15:50 | SYSTEM | 12/6/2023 15:50 | SYSTEM | succeeded | BOBA-current | 1 | 750.0 |
| 5 | SPE | M0000044192 | SPE00001230600005127 | TX191848056 | _TX191848056% | [ { "item_discount": 0, "item_id": 5, "item_type": "service", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 625, "product_serial_no": "0005", "total_amount": 625, "subtotal": 625, "order_amount": 625, "price_per_unit": 625, "sku": "SKU0005", "item_quantity": 1 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca85 | 25 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:50 | 12/6/2023 15:55 | SYSTEM | 12/6/2023 15:55 | SYSTEM | succeeded | BOBA-current | 1 | 625.0 |
| 6 | SPE | M0000044193 | SPE00001230600005128 | TX191848057 | _TX191848057% | [ { "item_discount": 0, "item_id": 6, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 250, "product_serial_no": "0006", "total_amount": 250, "subtotal": 250, "order_amount": 250, "price_per_unit": 125, "sku": "SKU0006", "item_quantity": 2 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca86 | 10 | 2025-05-31 | พรีพอยท์ | 12/6/2023 22:55 | 12/6/2023 16:00 | SYSTEM | 12/6/2023 16:00 | SYSTEM | succeeded | BOBA-current | 2 | 250.0 |
| 7 | SPE | M0000044194 | SPE00001230600005129 | TX191848058 | _TX191848058% | [ { "item_discount": 0, "item_id": 7, "item_type": "service", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 1250, "product_serial_no": "0007", "total_amount": 1250, "subtotal": 1250, "order_amount": 1250, "price_per_unit": 1250, "sku": "SKU0007", "item_quantity": 1 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca87 | 50 | 2025-05-31 | พรีพอยท์ | 12/6/2023 23:00 | 12/6/2023 16:05 | SYSTEM | 12/6/2023 16:05 | SYSTEM | succeeded | BOBA-current | 1 | 1250.0 |
| 8 | SPE | M0000044195 | SPE00001230600005130 | TX191848059 | _TX191848059% | [ { "item_discount": 0, "item_id": 8, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 300, "product_serial_no": "0008", "total_amount": 300, "subtotal": 300, "order_amount": 300, "price_per_unit": 150, "sku": "SKU0008", "item_quantity": 2 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca88 | 12 | 2025-05-31 | พรีพอยท์ | 12/6/2023 23:05 | 12/6/2023 16:10 | SYSTEM | 12/6/2023 16:10 | SYSTEM | succeeded | BOBA-current | 1 | 300.0 |
| 9 | SPE | M0000044196 | SPE00001230600005131 | TX191848060 | _TX191848060% | [ { "item_discount": 0, "item_id": 9, "item_type": "service", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 450, "product_serial_no": "0009", "total_amount": 450, "subtotal": 450, "order_amount": 450, "price_per_unit": 150, "sku": "SKU0009", "item_quantity": 3 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca89 | 18 | 2025-05-31 | พรีพอยท์ | 12/6/2023 23:10 | 12/6/2023 16:15 | SYSTEM | 12/6/2023 16:15 | SYSTEM | succeeded | BOBA-current | 2 | 450.0 |
| 10 | SPE | M0000044197 | SPE00001230600005132 | TX191848061 | _TX191848061% | [ { "item_discount": 0, "item_id": 10, "item_type": "product", "point_redemption_cash_back_amount": 0, "on_top_cash_discount": 0, "sales_after_tax": 875, "product_serial_no": "0010", "total_amount": 875, "subtotal": 875, "order_amount": 875, "price_per_unit": 437.5, "sku": "SKU0010", "item_quantity": 2 } ] | __default_company__ | __default_brand__ | __default_branch__ | 6486d8ff0b2e55118fa6ca8a | 35 | 2025-05-31 | พรีพอยท์ | 12/6/2023 23:15 | 12/6/2023 16:20 | SYSTEM | 12/6/2023 16:20 | SYSTEM | succeeded | BOBA-current | 1 | 875.0 |
Non Spending Earn Transaction Report
The Non Spending Earn Transaction Report is a summary report of non-spending-related point earning transactions (Non-Spending Earn: NSPE) within the CRM and Loyalty Program systems. It compiles point-earning records acquired through various marketing activities or special criteria, such as missions, surveys, or other promotional engagements. This data is utilized to verify point accuracy, analyze consumer behavior, and generate operational marketing reports.
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_id | String | รหัสประจำตัวรายการธุรกรรม (Transaction ID) สำหรับ NSPE | Y | Y | NSPE0001240300000008 | |
| 2 | source_transaction_id | String | รหัสอ้างอิงรายการต้นทาง (Source Transaction ID) | Y | N | M0000009410-ADJUST-1711526762601 | |
| 3 | member_no | String | หมายเลขสมาชิกที่ทำรายการ | Y | N | M0000009410 | |
| 4 | member_name | String | ชื่อและนามสกุลของสมาชิก | N | N | ออโต้ ออโตเมท | |
| 5 | campaign_id | Int | รหัสประจำตัวแคมเปญ (Campaign ID) | N | N | 7961 | |
| 6 | campaign_code | String | รหัสอ้างอิงแคมเปญ (Campaign Code) | N | N | TEDhi-3-1 | |
| 7 | campaign_name_th | String | ชื่อแคมเปญภาษาไทย | N | N | Survey 2 points | |
| 8 | campaign_name_en | String | ชื่อแคมเปญภาษาอังกฤษ | N | N | Test Mission - Survey | |
| 9 | program_id | Int | รหัสประจำตัวโปรแกรม (Program ID) | N | N | 3996 | |
| 10 | program_name_th | String | ชื่อโปรแกรมภาษาไทย | N | N | 2 outcomes | |
| 11 | program_name_en | String | ชื่อโปรแกรมภาษาอังกฤษ | N | N | 2 outcomes EN | |
| 12 | campaign_outcome_name_th | String | ชื่อผลลัพธ์ของแคมเปญภาษาไทย | N | N | tong-qua | |
| 13 | campaign_outcome_name_en | String | ชื่อผลลัพธ์ของแคมเปญภาษาอังกฤษ | N | N | Special Reward | |
| 14 | point_currency_id | Int | รหัสประจำตัวสกุลเงินคะแนน (Point Currency ID) | Y | N | 469 | |
| 15 | point_currency_name | String | ชื่อสกุลเงินคะแนนที่ได้รับ | Y | N | YETI Special Point | |
| 16 | point_value | Int | จำนวนคะแนนที่ได้รับจากรายการ | Y | N | 10 | |
| 17 | company_code | String | รหัสบริษัทที่ทำรายการ | Y | N | __default_company__ | |
| 18 | brand_code | String | รหัสแบรนด์ที่ทำรายการ | Y | N | __default_brand__ | |
| 19 | branch_code | String | รหัสสาขาที่ทำรายการ | Y | N | __default_branch__ | |
| 20 | created_at | Timestamp (UTC+7) | วันและเวลาที่มีการบันทึกรายการเข้าสู่ระบบ | Y | N | 27/3/2024 08:06 | |
| 21 | created_by | String | ส่วนประกอบของระบบหรือผู้ใช้งานที่สร้างรายการ | N | N | SYSTEM | |
| 22 | updated_at | Timestamp (UTC+7) | วันและเวลาที่มีการปรับปรุงข้อมูลล่าสุด | Y | N | 27/3/2024 08:06 | |
| 23 | updated_by | String | ส่วนประกอบของระบบหรือผู้ใช้งานที่ปรับปรุงรายการล่าสุด | N | N | SYSTEM | |
| 24 | transaction_status | String | สถานะการดำเนินงานของรายการ | Y | N | succeeded | |
| 25 | transaction_date | Timestamp (UTC+7) | วันและเวลาที่มีการทำธุรกรรมจริง | N | N | 27/3/2024 08:00 | |
| 26 | expired_date | Timestamp (UTC+7) | วันและเวลาที่คะแนนหมดอายุ | N | N | 31/12/2026 23:59 | |
| 27 | reference | String | ข้อมูลอ้างอิงเพิ่มเติมสำหรับรายการ | N | N | REF-MOCK-001 | |
| 28 | remark | String | เหตุผลหรือบันทึกหมายเหตุเพิ่มเติม | N | N | Bonus points from survey campaign | |
| 29 | bill_no | String | หมายเลขใบเสร็จรับเงินหรือบิลที่เกี่ยวข้อง | N | N | BILL20240327001 | |
| 30 | staff_id | String | หมายเลขประจำตัวพนักงานที่ทำรายการ | Y | N | STF001 | |
| 31 | ref1 | String | ข้อมูลอ้างอิงเพิ่มเติม 1 | N | N | Campaign-Q1 | |
| 32 | ref2 | String | ข้อมูลอ้างอิงเพิ่มเติม 2 | N | N | Online-Channel | |
| 33 | ref3 | String | ข้อมูลอ้างอิงเพิ่มเติม 3 | N | N | Tier-Gold | |
| 34 | pos_no | String | หมายเลขประจำเครื่องจุดขายสินค้า (POS No.) | N | N | POS-01 | |
| 35 | owner | String | ชื่อโครงการ (Project) เจ้าของชุดข้อมูล | Y | N | CRM Privilege |
ตัวอย่าง Report : Non Spending Earn Transaction Export Data
| transaction_id | source_transaction_id | member_no | member_name | campaign_id | campaign_code | campaign_name_th | campaign_name_en | program_id | program_name_th | program_name_en | campaign_outcome_name_th | campaign_outcome_name_en | point_currency_id | point_currency_name | point_value | company_code | brand_code | branch_code | created_at | created_by | updated_at | updated_by | transaction_status | transaction_date | expired_date | reference | remark | bill_no | staff_id | ref1 | ref2 | ref3 | pos_no | owner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NSPE0001240300000008 | M0000009410-ADJUST-1711526762601 | M0000009410 | ออโต้ ออโตเมท | 7961 | TEDhi-3-1 | Survey 2 points | Test Mission - Survey | 3996 | 2 outcomes | 2 outcomes EN | tong-qua | Special Reward | 469 | YETI Special Point | 10 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 08:06 | SYSTEM | 27/03/2024 08:06 | SYSTEM | succeeded | 27/03/2024 08:00 | 31/12/2026 23:59 | REF-MOCK-001 | Bonus points from survey campaign | BILL20240327001 | STF001 | Campaign-Q1 | Online-Channel | Tier-Gold | POS-01 | CRM-Privilege |
| NSPE0001240300000009 | M0000009411-REG-1711526762602 | M0000009411 | สมชาย ใจดี | 7962 | REG-001 | แจกพอยต์สมาชิกใหม่ | New Member Bonus | 3997 | โปรแกรมต้อนรับ | Welcome Program | รับพอยต์พิเศษ | Get Special Points | 1 | Normal Point | 50 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 09:15 | SYSTEM | 27/03/2024 09:15 | SYSTEM | succeeded | 27/03/2024 09:15 | 31/12/2026 23:59 | REF-REG-001 | New user registration bonus | - | SYSTEM | Acquisition-Q1 | App-Channel | Tier-Classic | APP-01 | CRM-Privilege |
| NSPE0001240300000010 | M0000009412-HBD-1711526762603 | M0000009412 | สมหญิง รักดี | 7963 | HBD-2024 | ของขวัญวันเกิด | Birthday Gift | 3998 | สิทธิพิเศษวันเกิด | Birthday Privilege | คะแนนโบนัสวันเกิด | Birthday Bonus Points | 1 | Normal Point | 100 | COMP01 | BRND01 | BRCH01 | 27/03/2024 10:30 | SYSTEM | 27/03/2024 10:30 | SYSTEM | succeeded | 27/03/2024 10:30 | 31/12/2024 23:59 | REF-HBD-001 | Birthday points automatically issued | - | SYSTEM | Retention-Q1 | CRM-Batch | Tier-Platinum | SYS-01 | CRM-Privilege |
| NSPE0001240300000011 | M0000009413-MGM-1711526762604 | M0000009413 | วินัย มั่นคง | 7964 | MGM-001 | ชวนเพื่อนรับพอยต์ | Refer a Friend | 3999 | โปรแกรมแนะนำเพื่อน | MGM Program | คะแนนผู้แนะนำ | Referrer Points | 469 | YETI Special Point | 20 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 11:45 | SYSTEM | 27/03/2024 11:45 | SYSTEM | succeeded | 27/03/2024 11:45 | 31/12/2026 23:59 | REF-MGM-001 | Points from referred friend M0000009999 | - | SYSTEM | Viral-Q1 | App-Channel | Tier-Silver | APP-01 | CRM-Privilege |
| NSPE0001240300000012 | M0000009414-REV-1711526762605 | M0000009414 | มาลี สวยงาม | 7965 | REV-001 | รีวิวสินค้าได้แต้ม | Product Review Bonus | 4000 | โปรแกรมรีวิว | Review Program | คะแนนจากการรีวิว | Review Points | 1 | Normal Point | 15 | COMP01 | BRND01 | ONLINE | 27/03/2024 13:20 | USER-APP | 27/03/2024 13:20 | USER-APP | succeeded | 27/03/2024 13:20 | 31/12/2026 23:59 | REF-REV-001 | Review approved for item 8851234567 | - | SYSTEM | Engagement-Q1 | Web-Channel | Tier-Gold | WEB-01 | CRM-Privilege |
| NSPE0001240300000013 | M0000009415-CHK-1711526762606 | M0000009415 | นที ธารา | 7966 | CHK-001 | เช็คอินรายวัน | Daily Check-in | 4001 | โปรแกรมเช็คอิน | Check-in Program | คะแนนเช็คอิน | Check-in Points | 469 | YETI Special Point | 5 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 14:05 | USER-APP | 27/03/2024 14:05 | USER-APP | succeeded | 27/03/2024 14:05 | 31/12/2026 23:59 | REF-CHK-001 | Daily check-in day 3 | - | SYSTEM | Engagement-Q1 | App-Channel | Tier-Silver | APP-01 | CRM-Privilege |
| NSPE0001240300000014 | M0000009416-PRF-1711526762607 | M0000009416 | ก้องเกียรติ ยิ่งใหญ่ | 7967 | PRF-001 | อัปเดตข้อมูลรับพอยต์ | Update Profile Bonus | 4002 | โปรแกรมข้อมูลสมาชิก | Profile Update Program | คะแนนอัปเดตข้อมูล | Profile Points | 1 | Normal Point | 25 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 15:30 | USER-APP | 27/03/2024 15:30 | USER-APP | succeeded | 27/03/2024 15:30 | 31/12/2026 23:59 | REF-PRF-001 | Completed email verification | - | SYSTEM | Acquisition-Q1 | App-Channel | Tier-Classic | APP-01 | CRM-Privilege |
| NSPE0001240300000015 | M0000009417-CS-1711526762608 | M0000009417 | สุชาดา พาเพลิน | 7968 | CS-COMP-01 | ชดเชยคะแนน | CS Compensation | 4003 | บริการลูกค้าสัมพันธ์ | Customer Service | คะแนนชดเชย | Compensation Points | 1 | Normal Point | 50 | COMP01 | BRND01 | BRCH01 | 27/03/2024 16:15 | ADMIN-CS | 27/03/2024 16:15 | ADMIN-CS | succeeded | 27/03/2024 16:15 | 31/12/2026 23:59 | REF-CS-001 | Compensation for delayed delivery Ticket #9812 | - | CS0042 | Support | CS-Portal | Tier-Platinum | SYS-02 | CRM-Privilege |
| NSPE0001240300000016 | M0000009418-GM-1711526762609 | M0000009418 | ธนภัทร รุ่งเรือง | 7969 | GM-001 | เล่นเกมหมุนวงล้อ | Lucky Wheel Game | 4004 | โปรแกรมเกมมิฟิเคชัน | Gamification Program | รางวัลที่ 3 | 3rd Prize | 469 | YETI Special Point | 10 | __default_company__ | __default_brand__ | __default_branch__ | 27/03/2024 17:05 | USER-APP | 27/03/2024 17:05 | USER-APP | succeeded | 27/03/2024 17:05 | 31/12/2026 23:59 | REF-GM-001 | Won 10 points from Lucky Wheel | - | SYSTEM | Gamification-Q1 | App-Channel | Tier-Gold | APP-01 | CRM-Privilege |
| NSPE0001240300000017 | M0000009419-ANN-1711526762610 | M0000009419 | อรทัย ใจงาม | 7970 | ANN-001 | ฉลองครบรอบ 1 ปี | 1st Anniversary Bonus | 4005 | โปรแกรมฉลองครบรอบ | Anniversary Program | รางวัลพิเศษครบรอบ | Anniversary Special Reward | 1 | Normal Point | 100 | COMP01 | BRND01 | BRCH01 | 27/03/2024 18:00 | SYSTEM | 27/03/2024 18:00 | SYSTEM | succeeded | 27/03/2024 18:00 | 31/12/2024 23:59 | REF-ANN-001 | 1st Year Membership Anniversary | - | SYSTEM | Retention-Q1 | CRM-Batch | Tier-Silver | SYS-01 | CRM-Privilege |
Void Spending Earn Transaction Report
The Void Spending Earn (VSPE) Transaction Report is a formal report that compiles and displays records of voided point-earning transactions, which were originally generated through customer spending activities within the system
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_type | String | ประเภทของรายการธุรกรรม (Transaction Type) สำหรับรายงานนี้ถูกกำหนดให้เป็น VSPE เท่านั้น | Y | N | VSPE | |
| 2 | member_no | String | หมายเลขประจำตัวสมาชิก ซึ่งถูกสร้างและบริหารจัดการโดยระบบ PRIMO | Y | N | M0000047736 | |
| 3 | transaction_id | String | รหัสประจำรายการธุรกรรม (Transaction ID) โดย 1 แถวข้อมูลเทียบเท่ากับ 1 Transaction ID ที่ไม่ซ้ำกัน | Y | Y | 64a518de753127ecffb4d71a | |
| 4 | earn_source_transaction_id | String | รหัสอ้างอิงรายการต้นทางที่ทำการยกเลิก (Earn Source Transaction ID) | Y | Y | RQ-SPE2307-000013 | |
| 5 | bill_no | String | หมายเลขใบเสร็จรับเงินที่เกี่ยวข้องกับรายการธุรกรรมดังกล่าว | Y | N | RC028947290-005 | |
| 6 | company | String | รหัสบริษัท (Company Code) ที่สมาชิกทำรายการธุรกรรม | Y | N | __default_company__ | |
| 7 | brand | String | รหัสแบรนด์ (Brand Code) ที่สมาชิกทำรายการธุรกรรม | Y | N | __default_brand__ | |
| 8 | branch | String | รหัสสาขา (Branch Code) ที่สมาชิกทำรายการธุรกรรม | Y | N | __default_branch__ | |
| 9 | remark | String | รายละเอียดหรือหมายเหตุเพิ่มเติมสำหรับรายการธุรกรรมนี้ | Y | N | Void transaction for RC028947290-005 | |
| 10 | transaction_at | Timestamp (UTC+7) | วันและเวลาที่เกิดรายการธุรกรรมจริง (Transaction Timestamp) | Y | N | 05/07/2023 14:16 | |
| 11 | created_at | Timestamp (UTC+7) | วันและเวลาที่ระบบบันทึกสร้างข้อมูลรายการนี้ | Y | N | 05/07/2023 14:16 | |
| 12 | created_by | String | ส่วนงานหรือระบบย่อย (Module) ที่ทำหน้าที่สร้างรายการข้อมูลนี้ | Y | N | SYSTEM | |
| 13 | updated_at | Timestamp (UTC+7) | วันและเวลาที่มีการปรับปรุงหรืออัปเดตสถานะล่าสุด ของรายการธุรกรรม | Y | N | 05/07/2023 14:16 | |
| 14 | updated_by | String | ส่วนงานหรือระบบย่อย (Module) ที่ทำหน้าที่ปรับปรุงข้อมูลรายการนี้ล่าสุด | Y | N | SYSTEM | |
| 15 | status | String | สถานะปัจจุบันของรายการธุรกรรมในระบบ | Y | N | succeeded | |
| 16 | owner | String | ชื่อโครงการหรือทีมผู้รับผิดชอบข้อมูลชุดนี้ | Y | N | CRM-Privilege |
ตัวอย่าง Report : Void Spending Earn Transaction Export Data
| transaction_type | member_no | transaction_id | earn_source_transaction_id | bill_no | company | brand | branch | remark | transaction_at | created_at | created_by | updated_at | updated_by | status | owner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VSPE | M0000047736 | 64a518de753127ecffb4d71a | RQ-SPE2307-000013 | RC028947290-005 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction due to customer product return | 05/07/2023 14:16 | 05/07/2023 14:16 | SYSTEM | 05/07/2023 14:16 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047737 | 64a518de753127ecffb4d71b | RQ-SPE2307-000014 | RC028947290-006 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction due to incorrect billing amount | 05/07/2023 14:20 | 05/07/2023 14:20 | SYSTEM | 05/07/2023 14:20 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047738 | 64a518de753127ecffb4d71c | RQ-SPE2307-000015 | RC028947290-007 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction for canceled order #1002 | 05/07/2023 15:05 | 05/07/2023 15:05 | SYSTEM | 05/07/2023 15:05 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047739 | 64a518de753127ecffb4d71d | RQ-SPE2307-000016 | RC028947290-008 | __default_company__ | __default_brand__ | __default_branch__ | Void points earned from duplicate receipt | 05/07/2023 15:40 | 05/07/2023 15:40 | SYSTEM | 05/07/2023 15:40 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047740 | 64a518de753127ecffb4d71e | RQ-SPE2307-000017 | RC028947290-009 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction for returned promotional item | 05/07/2023 16:12 | 05/07/2023 16:12 | SYSTEM | 05/07/2023 16:12 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047741 | 64a518de753127ecffb4d71f | RQ-SPE2307-000018 | RC028947290-010 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction requested by customer service | 05/07/2023 16:50 | 05/07/2023 16:50 | SYSTEM | 05/07/2023 16:50 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047742 | 64a518de753127ecffb4d720 | RQ-SPE2307-000019 | RC028947290-011 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction due to payment failure adjustment | 05/07/2023 17:25 | 05/07/2023 17:25 | SYSTEM | 05/07/2023 17:25 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047743 | 64a518de753127ecffb4d721 | RQ-SPE2307-000020 | RC028947290-012 | __default_company__ | __default_brand__ | __default_branch__ | Void points from refunded bill | 05/07/2023 18:00 | 05/07/2023 18:00 | SYSTEM | 05/07/2023 18:00 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047744 | 64a518de753127ecffb4d722 | RQ-SPE2307-000021 | RC028947290-013 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction for exchange item discrepancy | 05/07/2023 18:35 | 05/07/2023 18:35 | SYSTEM | 05/07/2023 18:35 | SYSTEM | succeeded | CRM-Privilege |
| VSPE | M0000047745 | 64a518de753127ecffb4d723 | RQ-SPE2307-000022 | RC028947290-014 | __default_company__ | __default_brand__ | __default_branch__ | Void transaction for expired/cancelled transaction policy | 05/07/2023 19:10 | 05/07/2023 19:10 | SYSTEM | 05/07/2023 19:10 | SYSTEM | succeeded | CRM-Privilege |
Coupon Redemption Transaction Report
The Coupon Redemption Transaction Report is a formal report that compiles and displays records of member coupon redemption activities, as well as coupon usage transactions within the system
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | owner | String | ชื่อโครงการหรือหน่วยงานผู้รับผิดชอบข้อมูลชุดดังกล่าว | Y | N | CRM-Privilege | |
| 2 | transaction_id | String | รหัสอ้างอิงของรายการธุรกรรม (Transaction ID) ที่เกี่ยวข้องกับการทำรายการคูปอง | N | N | 648adcb3d2ffa363f19d70f9 | |
| 3 | coupon_outcome_id | String | รหัสอ้างอิงผลลัพธ์รายการคูปอง (Coupon Outcome Log) โดย 1 transaction_id สามารถประกอบด้วยหลาย coupon_outcome_id ได้ | Y | Y | 648adcb4d2ffa363f19d7261 | |
| 4 | coupon_code | String | รหัสคูปองเฉพาะสำหรับทำรายการ โดย 1 รหัสคูปองสามารถเชื่อมโยงกับรายการธุรกรรมได้ตั้งแต่ 1 รายการขึ้นไป | Y | N | ha4P2QaK1EL | |
| 5 | coupon_type_id | Int | รหัสอ้างอิงประเภทของคูปองในระบบ | Y | N | 1 | |
| 6 | coupon_type | String | ชื่อเรียกประเภทของคูปอง | Y | N | คูปองทั่วไป | |
| 7 | coupon_status | String |
สถานะของคูปองหรือสถานะการทำรายการของคูปอง โดยมีค่าที่รองรับดังนี้: • available = ใช้งานได้: คูปองถูกสร้างขึ้นในระบบแล้ว แต่ยังไม่มีสมาชิกได้รับคูปอง และคูปองยังไม่หมดอายุ • redeemed = ได้รับ: คูปองถูกสร้างขึ้นและมีสมาชิกได้รับคูปองแล้ว โดยคูปองยังไม่ถูกใช้งานและยังไม่หมดอายุ • used = ใช้งานแล้ว: คูปองถูกสร้างขึ้น มีสมาชิกได้รับคูปอง และสมาชิกได้ดำเนินการใช้งานคูปองผ่านกระบวนการ Mark Use แล้ว • expired = หมดอายุ: คูปองถูกสร้างขึ้นแล้ว แต่ยังไม่มีการใช้งาน และคูปองได้พ้นวันและเวลาที่กำหนดให้ใช้งาน • using-expired = ใช้แล้ว-หมดอายุ: คูปองประเภท Countdown Coupon ที่ถูกสร้างขึ้น และถูกใช้งานหรือหมดอายุตามเงื่อนไขของคูปอง |
Y | N | redeemed | |
| 8 | coupon_collection_id | Int | รหัสอ้างอิงชุดสะสมคูปอง (Coupon Collection ID) | Y | N | 26 | |
| 9 | coupon_collections | String | ชื่อชุดสะสมคูปอง (Coupon Collection Name) | Y | N | Yeti basic coupon | |
| 10 | customer_ref | String | รหัสอ้างอิงสมาชิกที่ถูกสร้างและบริหารจัดการโดยระบบ PRIMO | Y | N | M0000046014 | |
| 11 | expired_at | Timestamp | วันและเวลาสิ้นสุดอายุการใช้งานของคูปอง | Y | N | 31/12/2023 23:59 | |
| 12 | redeemed_at | Timestamp | วันและเวลาที่สมาชิกทำรายการแลกรับคูปอง และถูกเพิ่มเข้าสู่กระเป๋าคูปองสำเร็จ | Y | N | 15/06/2023 16:41 | |
| 13 | used_at | Timestamp | วันและเวลาที่สมาชิกนำคูปองไปใช้สิทธิ์จริง ณ จุดให้บริการ | N | N | 15/06/2023 17:00 | |
| 14 | price_summary | Double | จำนวนเงินหรือมูลค่ารวมที่ใช้ในการแลกรับคูปอง | N | N | 1.00 | |
| 15 | redeem_amount | Double | จำนวนสิทธิ์ที่สมาชิกใช้ในการแลกรับคูปอง | Y | N | 1.00 | |
| 16 | campaign_code | String | รหัสอ้างอิงแคมเปญ (Campaign Code) ที่เกี่ยวข้องกับคูปองดังกล่าว | Y | N | BBQ-Resort | |
| 17 | campaign | String | ชื่อแคมเปญ (Campaign Name) ที่เกี่ยวข้องกับการแจกหรือแลกคูปอง | Y | N | วันเกิดปีนี้ กินฟรี ฉลองที่ BBQ Resort | |
| 18 | brand | String | รหัสแบรนด์ (Brand Code) ที่เกี่ยวข้องกับรายการทำธุรกรรมของสมาชิก | Y | N | __default_brand__ | |
| 19 | acceptance_type | String | ประเภทหรือเงื่อนไขวิธีการที่สมาชิกใช้ในการรับหรือแลกคูปอง | Y | N | กดรับด้วยคะแนน | |
| 20 | outcome_th | String | ชื่อหรือรายละเอียดผลลัพธ์ของคูปองในภาษาไทย | N | N | คูปองวันเกิด | |
| 21 | outcome_en | String | ชื่อหรือรายละเอียดผลลัพธ์ของคูปองในภาษาอังกฤษ | N | N | Birthday Coupon | |
| 22 | points_summary | Double | จำนวนคะแนนสะสมที่ใช้ในการแลกรับคูปองต่อรายการธุรกรรม | N | N | 100.00 | |
| 23 | point_currency | String | ชื่อสกุลเงินคะแนน (Point Currency) ที่ใช้ในการแลกรับคูปอง | N | N | พอยท์พิเศษ | |
| 24 | updated_at | Timestamp | วันและเวลาล่าสุดที่มีการแก้ไขหรืออัปเดตข้อมูลรายการคูปอง | Y | N | 15/06/2023 16:41 | |
| 25 | ref_code | String | รหัสอ้างอิงชุดคูปอง (Reference Code) ที่เกี่ยวข้องกับรายการ | N | N | 1104 | |
| 26 | used_at_company_code | String | รหัสบริษัทที่ทำการบันทึกการใช้งานคูปอง (Mark Use Company Code) | N | N | __default_company__ | |
| 27 | used_at_brand_code | String | รหัสแบรนด์ที่ทำการบันทึกการใช้งานคูปอง (Mark Use Brand Code) | N | N | __default_brand__ | |
| 28 | used_at_branch_code | String | รหัสสาขาที่ทำการบันทึกการใช้งานคูปอง (Mark Use Branch Code) | N | N | __default_branch__ |
ตัวอย่าง Report : Coupon Redemption Transaction Export Data
| owner | transaction_id | coupon_outcome_id | coupon_code | coupon_type_id | coupon_type | coupon_status | coupon_collection_id | coupon_collections | customer_ref | expired_at | redeemed_at | used_at | price_summary | redeem_amount | campaign_code | campaign | brand | acceptance_type | outcome_th | outcome_en | points_summary | point_currency | updated_at | ref_code | used_at_company_code | used_at_brand_code | used_at_branch_code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BOBA-current | 648adcb3d2ffa363f19d70f9 | 648adcb4d2ffa363f19d7261 | ha4P2QaK1EL | 1 | คูปองทั่วไป | used | 26 | Yeti basic coupon | M0000046014 | 31/12/2023 23:59 | 15/06/2023 16:41 | 15/06/2023 17:00 | 1.00 | BBQ-Resort | วันเกิดปีนี้ กินฟรี ฉลองที่ BBQ Resort | __default_brand__ | กดรับด้วยคะแนน | คูปองวันเกิด | Birthday Coupon | 100.00 | พอยท์พิเศษ | 15/06/2023 17:00 | 1104 | __default_company__ | __default_brand__ | __default_branch__ | |
| BOBA-current | 648adcb3d2ffa363f19d70fa | 648adcb4d2ffa363f19d7262 | xb8Q3SbM2KP | 1 | คูปองทั่วไป | redeemed | 27 | Summer Special Discount | M0000046015 | 30/09/2023 23:59 | 16/06/2023 10:15 | 1.00 | SUMMER-2023 | ซัมเมอร์นี้ลดกระหน่ำ | __default_brand__ | กดรับฟรี | ส่วนลดพิเศษ | Special Discount | 16/06/2023 10:15 | 1105 | |||||||
| BOBA-current | 648adcb3d2ffa363f19d70fb | 648adcb4d2ffa363f19d7263 | kc9L1RtV8ZX | 1 | คูปองทั่วไป | using-expired | 26 | Yeti basic coupon | M0000046016 | 01/01/2023 00:00 | 01/12/2022 12:00 | 01/01/2023 11:55 | 1.00 | FLASH-SALE | แฟลชเซล 1 ชั่วโมงด่วน | __default_brand__ | กดรับด้วยคะแนน | คูปองต้อนรับปีใหม่ | New Year Coupon | 50.00 | พอยท์พิเศษ | 02/01/2023 00:01 | 1100 | __default_company__ | __default_brand__ | __default_branch__ | |
| BOBA-current | 648adcb3d2ffa363f19d70fc | 648adcb4d2ffa363f19d7264 | mn4W7YpQ3DF | 1 | คูปองทั่วไป | used | 28 | Free Beverage Promo | M0000046017 | 15/07/2023 23:59 | 18/06/2023 14:22 | 19/06/2023 11:30 | 1.00 | DRINK-FREE | แจกเครื่องดื่มฟรีทุกสาขา | __default_brand__ | กดรับฟรี | เครื่องดื่มฟรี 1 แก้ว | Free 1 Drink | 19/06/2023 11:30 | 1110 | __default_company__ | __default_brand__ | __default_branch__ | |||
| BOBA-current | 648adcb3d2ffa363f19d70fd | 648adcb4d2ffa363f19d7265 | rt5G8NmK9JH | 1 | คูปองทั่วไป | redeemed | 29 | Welcome Package | M0000046018 | 31/12/2023 23:59 | 20/06/2023 09:00 | 1.00 | WELCOME-REG | ต้อนรับสมาชิกใหม่ | __default_brand__ | กดรับด้วยคะแนน | คูปองต้อนรับ | Welcome Coupon | 120.00 | พอยท์พิเศษ | 20/06/2023 09:00 | 1112 | |||||
| BOBA-current | 648adcb3d2ffa363f19d70fe | 648adcb4d2ffa363f19d7266 | op2J5CxW4TY | 1 | คูปองทั่วไป | using-expired | 27 | Summer Special Discount | M0000046019 | 30/09/2023 23:59 | 21/06/2023 15:45 | 22/06/2023 18:10 | 1.00 | SUMMER-2023 | ซัมเมอร์นี้ลดกระหน่ำ | __default_brand__ | กดรับฟรี | ส่วนลด 100 บาท | 100 THB Discount | 22/06/2023 18:10 | 1105 | __default_company__ | __default_brand__ | __default_branch__ | |||
| BOBA-current | 648adcb3d2ffa363f19d70ff | 648adcb4d2ffa363f19d7267 | qw7B2VnE6AS | 1 | คูปองทั่วไป | used | 30 | Flash Deal 1 Hour | M0000046020 | 23/06/2023 12:00 | 23/06/2023 11:00 | 23/06/2023 11:55 | 1.00 | FLASH-SALE | แฟลชเซล 1 ชั่วโมงด่วน | __default_brand__ | กดรับด้วยคะแนน | คูปองแฟลชเซล | Flash Deal Coupon | 80.00 | พอยท์พิเศษ | 23/06/2023 11:55 | 1120 | __default_company__ | __default_brand__ | __default_branch__ | |
| BOBA-current | 648adcb3d2ffa363f19d7100 | 648adcb4d2ffa363f19d7268 | as3D9GhK2ZX | 1 | คูปองทั่วไป | redeemed | 26 | Yeti basic coupon | M0000046021 | 31/12/2023 23:59 | 24/06/2023 13:12 | 1.00 | BBQ-Resort | วันเกิดปีนี้ กินฟรี ฉลองที่ BBQ Resort | __default_brand__ | กดรับฟรี | คูปองส่วนลดพิเศษ | Special Discount Coupon | 24/06/2023 13:12 | 1104 | |||||||
| BOBA-current | 648adcb3d2ffa363f19d7101 | 648adcb4d2ffa363f19d7269 | zx1C4VbN7MQ | 1 | คูปองทั่วไป | using-expired | 27 | Summer Special Discount | M0000046022 | 30/09/2023 23:59 | 25/06/2023 16:20 | 26/06/2023 19:40 | 1.00 | SUMMER-2023 | ซัมเมอร์นี้ลดกระหน่ำ | __default_brand__ | กดรับด้วยคะแนน | ส่วนลด 50 บาท | 50 THB Discount | 150.00 | พอยท์พิเศษ | 26/06/2023 19:40 | 1105 | __default_company__ | __default_brand__ | __default_branch__ | |
| BOBA-current | 648adcb3d2ffa363f19d7102 | 648adcb4d2ffa363f19d7270 | lk8J6HgF3DS | 1 | คูปองทั่วไป | used | 28 | Free Beverage Promo | M0000046023 | 15/07/2023 23:59 | 27/06/2023 08:30 | 27/06/2023 09:15 | 1.00 | DRINK-FREE | แจกเครื่องดื่มฟรีทุกสาขา | __default_brand__ | กดรับฟรี | เครื่องดื่มฟรี 1 แก้ว | Free 1 Drink | 27/06/2023 09:15 | 1110 | __default_company__ | __default_brand__ | __default_branch__ |
Point Addition Adjustment Transaction Report
Point Addition Adjustment Report is a report showing point addition transactions made directly to members, bypassing standard earning rules
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_id | String | รหัสอ้างอิงรายการธุรกรรมการเพิ่มคะแนนสะสมในระบบ (Unique Identifier) | Y | Y | AJAM2024091300000001 | |
| 2 | transaction_type | String | ประเภทของรายการธุรกรรม โดยระบุเป็นรหัส AJAM สำหรับการปรับเพิ่มคะแนน | Y | N | AJAM | |
| 3 | member_no | String | หมายเลขสมาชิกผู้ได้รับคะแนนสะสม | Y | N | M0000007284 | |
| 4 | full_name | String | ชื่อ-นามสกุล ของสมาชิกผู้ได้รับคะแนนสะสม | N | N | คุณออโตเมชัน ทดสอบระบบ | |
| 5 | company_code | String | รหัสบริษัทที่เกี่ยวข้องกับรายการทำธุรกรรม | Y | N | __default_company__ | |
| 6 | brand_code | String | รหัสแบรนด์ที่เกี่ยวข้องกับรายการทำธุรกรรม | Y | N | __default_brand__ | |
| 7 | branch_code | String | รหัสสาขาที่ทำการบันทึกหรือทำรายการเพิ่มคะแนน | Y | N | __default_branch__ | |
| 8 | transaction_at | Timestamp (UTC+7) | วันและเวลาที่เกิดรายการปรับเพิ่มคะแนนสะสม | Y | N | 13/09/2024 01:47:27 | |
| 9 | point_name | String | ชื่อเรียกประเภทหรือสกุลของคะแนนที่สมาชิกได้รับ | Y | N | YETI Point | |
| 10 | adjust_value | Float | จำนวนคะแนนสะสมที่ทำการปรับเพิ่มเข้าสู่ระบบของสมาชิก | Y | N | 200.00 | |
| 11 | expired_date | Date | วันที่สิ้นสุดอายุการใช้งานของคะแนนสะสมที่ได้รับ | Y | N | 13/09/2025 | |
| 12 | created_by | String | ชื่อผู้ใช้งานระบบหรือระบบอัตโนมัติที่ทำการบันทึกรายการเพิ่มคะแนน | Y | N | primo_admin | |
| 13 | remark | String | คำอธิบายเพิ่มเติมหรือหมายเหตุสำหรับรายการปรับเพิ่มคะแนนนี้ | N | N | ได้รับคะแนนพิเศษเนื่องในโอกาสวันเกิด | |
| 14 | reference | String | รหัสอ้างอิงภายนอกหรือเลขที่เอกสารที่เกี่ยวข้อง (เช่น เลขที่ใบเสร็จหรือเลขอ้างอิงใบกำกับภาษี) | N | N | INV-2024-0913-01 | |
| 15 | status | String | สถานะปัจจุบันของการทำรายการปรับเพิ่มคะแนน | Y | N | succeeded | |
| 16 | owner | String | ชื่อโครงการหรือหน่วยงานผู้รับผิดชอบข้อมูลชุดดังกล่าว | Y | N | CRM-Privilege |
ตัวอย่าง Report : Point Addition Adjustment Transaction Export Data
| transaction_id | transaction_type | member_no | full_name | company_code | brand_code | branch_code | transaction_at | point_name | adjust_value | expired_date | created_by | remark | reference | status | owner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AJAM2026082400000001 | AJAM | M0000007284 | คุณสมชาย ใจดี | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 10:15:00 | YETI Point | 200.00 | 24/08/2027 | primo_admin | ได้รับคะแนนพิเศษเนื่องในโอกาสวันเกิด | INV-2026-0824-01 | succeeded | CRM-Privilege |
| AJAM2026082400000002 | AJAM | M0000007285 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 11:00:22 | YETI Point | 500.00 | 24/08/2027 | system_batch | succeeded | CRM-Privilege | |||
| AJAM2026082400000003 | AJAM | M0000007286 | คุณกanyarat สุขสำราญ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 13:20:45 | YETI Point | 150.50 | 31/12/2026 | marketing_team | กิจกรรมร่วมสนุกตอบแบบ सर्वेक्षण | REF-SURVEY-998 | succeeded | CRM-Privilege |
| AJAM2026082400000004 | AJAM | M0000007287 | คุณณัฐพล มั่นคง | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 14:05:10 | YETI Point | 1000.00 | 24/08/2028 | primo_admin | ชดเชยคะแนนจากระบบขัดข้องเมื่อสัปดาห์ก่อน | TICKET-5521 | succeeded | CRM-Privilege |
| AJAM2026082400000005 | AJAM | M0000007288 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 15:30:00 | YETI Point | 300.00 | 24/08/2027 | system_batch | succeeded | CRM-Privilege | |||
| AJAM2026082400000006 | AJAM | M0000007289 | คุณปิยะดา รักษ์วงษ์ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 16:12:33 | YETI Point | 50.00 | 24/08/2027 | cs_officer01 | คะแนนปลอบใจกรณีบริการล่าช้า | CS-INC-8832 | succeeded | CRM-Privilege |
| AJAM2026082400000007 | AJAM | M0000007290 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 16:45:50 | YETI Point | 100.00 | 24/08/2027 | primo_admin | REF-PROMO-02 | succeeded | CRM-Privilege | ||
| AJAM2026082400000008 | AJAM | M0000007291 | คุณธนวัฒน์ พงษ์พานิช | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 17:10:05 | YETI Point | 250.00 | 24/08/2027 | primo_admin | โบนัสพิเศษต้อนรับสมาชิก VIP แพลตตินัม | VIP-BONUS-01 | succeeded | CRM-Privilege |
| AJAM2026082400000009 | AJAM | M0000007292 | คุณพิมพ์ชนก สุนทรพจน์ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 18:00:15 | YETI Point | 500.00 | 24/08/2027 | marketing_team | รางวัลยอดแชร์แคมเปญผ่านโซเชียลมีเดีย | SOC-SHARE-77 | succeeded | CRM-Privilege |
| AJAM2026082400000010 | AJAM | M0000007293 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 18:35:40 | YETI Point | 75.00 | 24/08/2027 | system_batch | succeeded | CRM-Privilege |
Point Subtract Adjustment Transaction Report
Point Subtract Adjustment Report is a report showing point subtract transactions made directly to members, bypassing standard earning rules
Data Specification (Data Spec)
| No. | Column Names | Data Type | Description | Required | Unique | Example | Remark |
|---|---|---|---|---|---|---|---|
| 1 | transaction_id | String | รหัสอ้างอิงรายการธุรกรรมการปรับลดคะแนนสะสมในระบบ (Unique Identifier) | Y | Y | AJSM2026082400000001 | |
| 2 | transaction_type | String | ประเภทของรายการธุรกรรม โดยระบุเป็นรหัส AJSM สำหรับการปรับลดคะแนน | Y | N | AJSM | |
| 3 | member_no | String | หมายเลขสมาชิกผู้ถูกปรับลดคะแนนสะสม | Y | N | M0000007284 | |
| 4 | full_name | String | ชื่อ-นามสกุล ของสมาชิกผู้ถูกปรับลดคะแนนสะสม | N | N | คุณสมชาย ใจดี | |
| 5 | company_code | String | รหัสบริษัทที่เกี่ยวข้องกับรายการทำธุรกรรม | Y | N | __default_company__ | |
| 6 | brand_code | String | รหัสแบรนด์ที่เกี่ยวข้องกับรายการทำธุรกรรม | Y | N | __default_brand__ | |
| 7 | branch_code | String | รหัสสาขาที่ทำการบันทึกหรือทำรายการลดคะแนน | Y | N | __default_branch__ | |
| 8 | transaction_at | Timestamp (UTC+7) | วันและเวลาที่เกิดรายการปรับลดคะแนนสะสม | Y | N | 24/08/2026 14:30:00 | |
| 9 | point_name | String | ชื่อเรียกประเภทหรือสกุลของคะแนนที่ถูกปรับลด | Y | N | YETI Point | |
| 10 | adjust_value | Float | จำนวนคะแนนสะสมที่ทำการปรับลดออกจากระบบของสมาชิก | Y | N | 100.00 | |
| 11 | created_by | String | ชื่อผู้ใช้งานระบบหรือระบบอัตโนมัติที่ทำการบันทึกรายการลดคะแนน | Y | N | primo_admin | |
| 12 | remark | String | คำอธิบายเพิ่มเติมหรือหมายเหตุสำหรับรายการปรับลดคะแนนนี้ | N | N | หักคะแนนเนื่องจากยกเลิกคำสั่งซื้อสินค้า | |
| 13 | reference | String | รหัสอ้างอิงภายนอกหรือเลขที่เอกสารที่เกี่ยวข้อง (เช่น เลขที่ใบเสร็จหรือเลขอ้างอิงการคืนสินค้า) | N | N | REF-CANCEL-001 | |
| 14 | status | String | สถานะปัจจุบันของการทำรายการปรับลดคะแนน | Y | N | succeeded | |
| 15 | owner | String | ชื่อโครงการหรือหน่วยงานผู้รับผิดชอบข้อมูลชุดดังกล่าว | Y | N | BOBA-current |
ตัวอย่าง Report : Point Subtract Adjustment Transaction Export Data
| transaction_id | transaction_type | member_no | full_name | company_code | brand_code | branch_code | transaction_at | point_name | adjust_value | created_by | remark | reference | status | owner |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AJSM2026082400000001 | AJSM | M0000007284 | คุณสมชาย ใจดี | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 14:30:00 | YETI Point | 100.00 | primo_admin | หักคะแนนเนื่องจากยกเลิกคำสั่งซื้อสินค้า | REF-CANCEL-001 | succeeded | BOBA-current |
| AJSM2026082400000002 | AJSM | M0000007285 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 15:00:12 | YETI Point | 50.00 | system_batch | succeeded | BOBA-current | |||
| AJSM2026082400000003 | AJSM | M0000007286 | คุณกanyarat สุขสำราญ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 15:45:30 | YETI Point | 200.00 | cs_officer01 | ปรับลดคะแนนเนื่องจากระบบให้คะแนนผิดพลาดซ้ำซ้อน | CORR-2026-88 | succeeded | BOBA-current |
| AJSM2026082400000004 | AJSM | M0000007287 | คุณณัฐพล มั่นคง | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 16:10:05 | YETI Point | 500.00 | primo_admin | หักคะแนนเพื่อแลกรับสิทธิ์ส่วนลดพิเศษนอกระบบ | succeeded | BOBA-current | |
| AJSM2026082400000005 | AJSM | M0000007288 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 16:55:20 | YETI Point | 150.00 | system_batch | succeeded | BOBA-current | |||
| AJSM2026082400000006 | AJSM | M0000007289 | คุณปิยะดา รักษ์วงษ์ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 17:20:40 | YETI Point | 80.00 | primo_admin | หักคืนคะแนนโปรโมชั่นกรณีคืนสินค้า | REF-RETURN-99 | succeeded | BOBA-current |
| AJSM2026082400000007 | AJSM | M0000007290 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 18:05:11 | YETI Point | 300.00 | marketing_team | MKT-ADJ-04 | succeeded | BOBA-current | ||
| AJSM2026082400000008 | AJSM | M0000007291 | คุณธนวัฒน์ พงษ์พานิช | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 18:40:15 | YETI Point | 120.00 | primo_admin | หักคะแนนปรับปรุงยอดบัญชีสมาชิกประจำปี | AUDIT-2026-01 | succeeded | BOBA-current |
| AJSM2026082400000009 | AJSM | M0000007292 | คุณพิมพ์ชนก สุนทรพจน์ | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 19:15:50 | YETI Point | 250.00 | cs_officer01 | หักคะแนนเนื่องจากใช้สิทธิ์เกินโควตาที่กำหนด | OVER-LIMIT-05 | succeeded | BOBA-current |
| AJSM2026082400000010 | AJSM | M0000007293 | __default_company__ | __default_brand__ | __default_branch__ | 24/08/2026 19:50:33 | YETI Point | 30.00 | system_batch | succeeded | BOBA-current |