Untitled

mail@pastecode.io avatar
unknown
json
a month ago
726 B
2
Indexable
Never
{
  "clientVersion": 1,
  //...
  "createdItems": [
    {
      "itemUpcNo": "12312312312",
      "itemName": "barang tambahan",
      "defaultSalesPrice": 10000,
      "stockUnitQuantity": 2,
      "stockUnitCost": 5000,
      "itemCategoryId": 1, // jika null, category baru dengan gudang utama.
      "itemCategoryName": "tambahan",
      "hasPpn": true
    }
  ],
  "entryList": [
    {
      "id": 1,
      "uid": "aaaa-aaaa-aaaa-aaaa",
      "receiptNumber": "S.20240228.000001",
      //...
      "productList": [
        {
          "id": null,
          "itemUpcNo": "12312312312", // menggunakan referensi item diatas
          "itemName": "barang tambahan"
          // ...
        }
      ]
      //...
    }
  ]
}
Leave a Comment