# 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="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2FHkkZKFtZaebArw5t9i0S%2FScreenshot%202024-01-02%20at%2011.17.55.png?alt=media&#x26;token=8f8d226a-5377-40c6-ab9d-2a67a5eca1d1" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2FSkjEGIePidAZpXenQIu7%2FScreenshot%202024-01-02%20at%2011.41.39.png?alt=media&#x26;token=4ee3f5cd-52f0-481f-be0a-723e79fca686" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2FxXbIY0TPkX2G3zbApjOx%2FScreenshot%202024-01-02%20at%2011.43.01.png?alt=media&#x26;token=0b16d5c1-2097-4bc0-9c64-840a68b6a2c3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2Fk6lFWl9typpeHPj10Cvo%2FScreenshot%202024-01-02%20at%2011.45.29.png?alt=media&#x26;token=2cdc23d6-42b3-4d75-a785-9a768ce26c5e" 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="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2FbC41LSEOmNcOT8riTUB7%2FScreenshot%202024-01-02%20at%2011.48.37.png?alt=media&#x26;token=efaaa8c3-0550-4cfa-8fda-18534efa0a65" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2FvkwkCeDn61gpjlkY3B5P%2FScreenshot%202023-12-21%20at%2013.45.39.png?alt=media&#x26;token=40a013ec-82e6-4680-ac38-547ff1af9546" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3837174706-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ML6LhsHx5TJpV4GOuvJ%2Fuploads%2F1jwc8RaV5VbT567Lp3m0%2FScreenshot%202024-01-02%20at%2012.01.24.png?alt=media&#x26;token=34e77ec6-7e5d-4b9c-a7aa-0b4243de7f71" 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="broken-reference" %}
[Broken link](https://panduan-sap.simplidots.id/sales-automation-platform/smh-sales-management-hub/pengiriman/rekap-surat-jalan/broken-reference)
{% 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;
