> For the complete documentation index, see [llms.txt](https://panduan-sap.simplidots.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://panduan-sap.simplidots.id/sales-automation-platform/smh-sales-management-hub/pengiriman/rekap-surat-jalan/export-delivery-summary-ds-dengan-model-template-custom.md).

# Export Delivery Summary (DS) Dengan Model Template (Custom)

### Export Delivery Summary (DS) Dengan Model Template (Custom)

**Step 1:** Kunjungi halaman Delivery Model Template dengan mengunjungi link <https://app.simplidots.co.id/condensed/deliverymodeltemplate>

{% hint style="info" %}
Menu ini tidak ditampilkan sehingga harus diakses manual dengan menggunakan:\
`{url-simplidots}/condensed/deliverymodeltemplate}`
{% endhint %}

**Step 2:** Klik tombol **+ Tambah model Template**.

<figure><img src="/files/oa5pM7PBCxIEKhZWujG7" alt=""><figcaption></figcaption></figure>

**Step 3:** Pada pilihan **Model**, silakan pilih **DeliveryOrder**.

<figure><img src="/files/KMyS3qFpTbp8gIDMAA1x" alt=""><figcaption></figcaption></figure>

**Step 4:** Pada pilihan **Method**, silakan pilih **Export**.

<figure><img src="/files/nkwPcbzc1sDUlkgBxgKJ" alt=""><figcaption></figcaption></figure>

**Step 5:** Pada **Model Mapper Json**, silakan diisi dengan ketentuan yang diinginkan.&#x20;

<figure><img src="/files/OYA5akL0D1wcWr079673" alt=""><figcaption></figcaption></figure>

### Contoh Model Mapper Json

```
{
    "CustomDeliverySummaries": [
        {
            "DeliverySummaries": {
                "CustomDeliverySummaryNo": "DeliverySummaryNo",
                "CustomDate": "Date",
                "CustomStatus": "Status",
                "CustomDONumbers": "DONumbers",
                "CustomFleetName": "FleetName",
                "CustomPlatNumber": "PlatNumber",
                "CustomLoad": "Load",
                "CustomLoadCapacity": "LoadCapacity",
                "CustomPercentageCapacity": "PercentageCapacity",
                "CustomDriverCode": "DriverCode",
                "CustomDriverName": "DriverName",
                "CustomHelperCode": "HelperCode",
                "CustomHelperName": "HelperName",
                "CustomStartMileage": "StartMileage",
                "CustomEndMileage": "EndMileage",
                "CustomDistanceTraveled": "DistanceTraveled",
                "CustomFuelConsumption": "FuelConsumption",
                "CustomTotalEstimatedDeliveryTime": "TotalEstimatedDeliveryTime",
                "CustomTotalActualDeliveryTime": "TotalActualDeliveryTime",
                "CustomNotes": "Notes"
            }
        }
    ],
    "CustomDeliverySummaryItems": [
        {
            "DeliverySummaryItems": {
                "CustomDeliverySummaryNo": "DeliverySummaryNo",
                "CustomProductCode": "ProductCode",
                "CustomProductName": "ProductName",
                "CustomUnitL": "UnitL",
                "CustomUnitM": "UnitM",
                "CustomUnitS": "UnitS",
                "CustomQuantity": "Quantity",
                "CustomQuantityL": "QuantityL",
                "CustomQuantityM": "QuantityM",
                "CustomQuantityS": "QuantityS",
                "CustomLength": "Length",
                "CustomWidth": "Width",
                "CustomHeight": "Height",
                "CustomNotes": "Notes"
            }
        }
    ],
    "CustomDeliveryOrders": [
        {
            "DeliveryOrders": {
                "CustomDeliveryOrderNo": "DeliveryOrderNo",
                "CustomDate": "Date",
                "CustomDeliveredLatitude": "DeliveredLatitude",
                "CustomDeliveredLongitude": "DeliveredLongitude",
                "CustomCheckInLatitude": "CheckInLatitude",
                "CustomCheckInLongitude": "CheckInLongitude",
                "CustomSalesOrderNo": "SalesOrderNo",
                "CustomCustomerCode": "CustomerCode",
                "CustomCustomerName": "CustomerName",
                "CustomCustomerAddress": "CustomerAddress"
            }
        }
    ],
    "CustomDeliveryOrderItems": [
        {
            "DeliveryOrderItems": {
                "CustomDeliveryOrderNo": "DeliveryOrderNo",
                "CustomProductCode": "ProductCode",
                "CustomProductName": "ProductName",
                "CustomQuantityToDeliver": "QuantityToDeliver",
                "CustomQuantityDelivered": "QuantityDelivered",
                "CustomLength": "Length",
                "CustomWidth": "Width",
                "CustomHeight": "Height"
            }
        }
    ]
}
```

**Step 6:** Klik tombol **Simpan**.

<figure><img src="/files/EBuHhhTJkOiVfVywM5Eb" alt=""><figcaption></figcaption></figure>

**Step 7:** Model Template berhasil tersimpan jika muncul popup notifikasi **Data saved successfully.**&#x20;

<figure><img src="/files/nc0p6X3xpAi3PqpAkndN" alt=""><figcaption></figcaption></figure>

**Step 8:** Model Template yang dibuat akan muncul pada halaman **Model Template**.

<figure><img src="/files/KedJ0l8gQOXpiHCZEr5Y" alt=""><figcaption></figcaption></figure>

**Step 9:** Ulangi tahap **Export Delivery Summary (DS) Tanpa Model Template (Normal)** namun yang diekspor adalah DeliveryOrder karena contoh ini adalah untuk DeliveryOrder.

{% content-ref url="/pages/hkM9YyUowmmzdfby72q5" %}
[Broken mention](broken://pages/hkM9YyUowmmzdfby72q5)
{% endcontent-ref %}

{% hint style="info" %}
Kali ini, kolom yang akan dikembalikan pada Excel akan sama seperti dengan apa yang ada pada Model Mapper Json.
{% endhint %}

Selamat mencoba, Kawan Simpli :)&#x20;
