Confirmations

modified:


How to find Customer Confirmations?





1. To find Customer Confirmations, you should:    

  1. Press Sales (Graphical user interface

Description automatically generated with low confidence
  2. Press Customer (Logo

Description automatically generated with medium confidence)

     

Now you can see Customer list


2. Choose Customer


3. Press Confirmations (Logo

Description automatically generated)




How to create Confirmation template?


For more information how to create Template, please visit here


  1. Create new template (for more information, please visit here):

Graphical user interface, application

Description automatically generated

  1. Choose xml Type
  2. Leave Content empty


Now you could see new Template



  1. Enter this code to Template body:


<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<EBSDOC>

            <EBSDOCTYPE>DOC03</EBSDOCTYPE>

            <DATA>

                        <UST_BILGI>

{% set paletQuantity = 0 %}

{% for product in order.products %}

{% set paletQuantity = product.quantity + paletQuantity %}

{% endfor %}

                                    <BelgeNo>{{ order.id }}</BelgeNo>

                                    <Gorev_Tarihi>{{ 'now'|date('d.m.Y', 'Europe/Istanbul') }}</Gorev_Tarihi> 

                                    <Teslim_Tarihi>{{ order.dispatchDate|date('d.m.Y', 'Europe/Istanbul') }}</Teslim_Tarihi> 

                                    <Iade>-</Iade>

                                    <paletsayisi>{{ (paletQuantity / 48)| round(0, 'ceil') }}</paletsayisi>


                                    <DETAYLAR>

{% set no = 0 %}

{% for product in order.products %}

                                                <DETAY>

                                                            <Firma_Kodu>{{ order.customer.alias }}</Firma_Kodu> 

                                                            <Satir_No>{% set no = no + 1 %} {{ no }}</Satir_No>

                                                            <Stok_Kodu>{{ product.product.customerName }}</Stok_Kodu>

                                                            <Miktar>{{ product.quantity }}</Miktar>

                                                            <Birim>KOLI</Birim>

                                                            <lotno>{{ product.product.getLotNumber() }}</lotno>


                                                </DETAY>

{% endfor %}

                                    </DETAYLAR>

                        </UST_BILGI>

            </DATA>

</EBSDOC>



Now you could see your Template

Graphical user interface, application, Word

Description automatically generated


  1. Remember id (in browser address bar)



How to create Customer Confirmation?


  1. Go to Customer’s confirmation (how todo it, please see in the top of this article)



2. Press Icon

Description automatically generated


Now you could see dialog table

Graphical user interface, application

Description automatically generated


  1. Enter data:
    1. Choose Order Type
    2. Choose Ftp or Email Driver


Now you could see bigger dialog table


  1. Enter data:
    1. Ftp name (NewTest)
    2. Template (Template id – 124)
    3. Username (proman123)
    4. Password (proman)
    5. File name (Enter file name. which you want to create – file_{{order.id}}.xml Note: if you don’t write id, file overwrite in ftp server). You could also move files to INBOX this way: write this in Dialog table (File name: INBOX/file_{{order.id}}.xml)


  1. Press Icon

Description automatically generated



Where are files after Order confirmation?


After Customer Order confirmation you will get file in ftp server

Table

Description automatically generated