Skip to content

แสดงรายการสั่งขาย (Sale Order)

MethodURL
GET/SMLJavaRESTService/SMLMobileFrameWork/saleto/saleorder

Query Params

Fieldvalue
start_dateตั้งแต่เอกสารวันที่
limitจำนวนรายการต่อหน้า
pageหน้าเอกสารที่

Response

FieldValue
successผลการดำเนินการ
dataData Response
pageableตัวแบ่งหน้า

Data Response

FieldValue
doc_dateวันที่เอกสาร
doc_noเลขที่เอกสาร
doc_timeเวลา
cust_codeรหัสลูกค้า
cust_nameชื่อลูกค้า
total_valueมูลค่าสินค้า
discount_wordส่วนลด
total_discountมูลค่าส่วนลด
total_before_vatมูลค่าก่อนภาษี
vat_rateอัตราภาษี
total_vat_valueภาษีมูลค่าเพิ่ม
total_amountมูลค่าสุทธิ
transport_nameชื่อผู้รับสินค้า
transport_addressที่อยู่
transport_telephoneเบอรโทรศัพท์
transport_tambonตำบล
transport_amperอำเภอ
transport_provinceจังหวัด
transport_countryประเทศ
transport_code
destination
transport_remark
transport_remark_2
ship_code
logistic_area
latitude
longitude
detailsรายละเอียดสินค้า

Item Detail

FieldValue
doc_dateวันที่เอกสาร
doc_noเลขที่เอกสาร
item_codeรหัสสินค้า
item_nameชื่อสินค้า
unit_codeหน่วยนับ
qtyจำนวน
priceราคา
discount_amountส่วนลด
sum_amountมูลค่า
is_permiumของแถม
line_numberบรรทัด
{
  "data": [
    {
      "total_value": 0,
      "transport_remark": "",
      "total_discount": 0,
      "transport_name": "อื่น ๆ",
      "doc_no": "MK6201/00001",
      "latitude": "null",
      "destination": "null",
      "total_before_vat": 0,
      "cust_name": "อื่น ๆ",
      "total_vat_value": 0,
      "details": [
        {
          "item_code": "11T23-0030B",
          "sum_amount": 0,
          "is_permium": 0,
          "price": 0,
          "discount_amount": 0,
          "line_number": 0,
          "doc_date": "2019-01-03",
          "doc_no": "MK6201/00001",
          "qty": 2,
          "unit_code": "กล่อง",
          "item_name": "โทดีซาร์ 16 (3X10 เม็ด) บลิสเตอร์"
        }
      ],
      "transport_code": "null",
      "doc_time": "09:52",
      "discount_word": "null",
      "vat_rate": 7,
      "longitude": "null",
      "transport_telephone": "null",
      "transport_address": "null",
      "transport_amper": "null",
      "transport_province": "null",
      "cust_code": "010A001",
      "logistic_area": "null",
      "transport_tambon": "null",
      "total_amount": 0,
      "doc_date": "2019-01-03",
      "transport_country": "null",
      "transport_remark_2": "",
      "ship_code": "null"
    },
    {
      "total_value": 0,
      "transport_remark": "",
      "total_discount": 0,
      "transport_name": "อื่น ๆ",
      "doc_no": "MK6201/00002",
      "latitude": "null",
      "destination": "null",
      "total_before_vat": 0,
      "cust_name": "อื่น ๆ",
      "total_vat_value": 0,
      "details": [
        {
          "item_code": "55002000060005",
          "sum_amount": 0,
          "is_permium": 0,
          "price": 0,
          "discount_amount": 0,
          "line_number": 0,
          "doc_date": "2019-01-03",
          "doc_no": "MK6201/00002",
          "qty": 2,
          "unit_code": "ตัว",
          "item_name": "พัดลมตั้งโต๊ะ 16 นิ้ว "
        }
      ],
      "transport_code": "null",
      "doc_time": "16:04",
      "discount_word": "null",
      "vat_rate": 7,
      "longitude": "null",
      "transport_telephone": "null",
      "transport_address": "null",
      "transport_amper": "null",
      "transport_province": "null",
      "cust_code": "010A001",
      "logistic_area": "null",
      "transport_tambon": "null",
      "total_amount": 0,
      "doc_date": "2019-01-03",
      "transport_country": "null",
      "transport_remark_2": "",
      "ship_code": "null"
    },
  ],
  "success": true,
  "pageable": {
    "limit": 20,
    "totalRows": 136728
  }
}