Professional Documents
Culture Documents
USTAR Present Report 17-2-2007
USTAR Present Report 17-2-2007
USTAR Present Report 17-2-2007
ผู้ปฏิบัติงาน
1. คุณพงษ์พันธ์ หิรินทรานุกูล
รายละเอียดการปฏิบัติงาน
1. เป้า หม าย
1.1 เตรียมทดสอบกรณีของแถมบริษัท USTAR ตามรายการ
1.2 แนวทางรูปแบบการพัฒนาระบบคะแนนสะสมของสมาชิก USTAR
1.3 แนวทางการใช้ Item Barcode ช่วยทำา Item code ที่มกี ารเปลี่ยนทุกรอบ catalog
1.4 แนวทางการพัฒนาระบบ Sales order ให้สามารถคำานวณของแถมหรือของแลกซื้อจากมูลค่าได้
2. สรุปง านที่ท ำา
2.1 เตรียมทดสอบกรณีของแถมบริษัท USTAR ตามรายการ
2.1.1 การทดสอบกรณีของแถม และแลกซื้อตามรายการข้อสอบถามของ USTAR
Item
Code Name Des
10402 โรล ออน ซ้ือ 1 แถม 1 (แถม โรล ออน)
10102 เฟอร์ฟูม ทัลค์ ซ้ือ 1 แถม 2 (แถมเฟอร์ฟูม ทัลค์)
39004 บอดี ค
้ รีม ซ้ือ 1 ชิน
้ 90 บาท ซ้ือ 2 ชิน
้ 60 บาท
2.2.1 ระบบสะสมแต้มในรอบการขาย
Begin invoice
Invoice
Calculate Score
Round score /
Total score
Update score
Insert History
End invoice
Payment
Calculate Score
Round score = X
Update score
Round score /
Total score
Insert History
End payment
2.2.3 ระบบการการแลกรางวัลจากคะแนนสะสม
Begin rewards
Select score
Select rewards
items
Calculate rewards
N items
N
Rewards score
<= select score ?
Confirmed ?
Update score
Insert History
End payment
2.3 แนวทางการใช้ Item Barcode ช่วยทำา Item code ที่มกี ารเปลี่ยนทุกรอบ catalog เนื่องจากระบบ
Sales order ในหน้า Sales order ในส่วนของ Sales lines นั้นไม่ได้รองรับการใช้งานระบบ Item
stotal = SalesTotals::construct(salesTable,SalesUpdate::All);
stotal.calc();
ttsbegin;
select ItemId,Qty from tsi where tsi.ItemId =="";
tsi.ItemId = "1111";
tsi.Qty = stotal.totalAmount();
tsi.insert();
ttscommit;
sics.calcSuppItem(salesTable);
sics.createLine(tsi);
salesTable_ds.reReadLines();
กำาหนดสินค้าแลกซื้อ ในราคาพิเศษ ซื้อ AGE002 มีสิทธิแลกซื้อ AGE001 ในราคา 1400 บาท และมีส่วนลด 100 บาท
กำาหนด กลุ่มสินค้าที่คิดมูลค่าสินค้ารวมตามกลุ่มสินค้า