We are using the normal api
http://xxx/api/resource/Quotation
i have teste the following json code
{
“data”: {
“company”: “BRÜGGEMANN DÄCHER GmbH”,
“conversion_rate”: 1,
“currency”: “EUR”,
“customer”: “Schmidt & Partner Consulting”,
“customer_group”: “Unternehmen”,
“customer_name”: “Schmidt & Partner Consulting”,
“doctype”: “Quotation”,
“base_grand_total”: 1000.0,
“grand_total”: 1000.0,
“order_type”: “Sales”,
“plc_conversion_rate”: 1,
“price_list_currency”: “EUR”,
“items”: {
“base_amount”: 1000.0,
“base_rate”: 100.0,
“description”: “AKS PIXX-Transp.Qua.50cm TRAN Taubenstopleiste/Kunstst/V2A-Spikes”,
“doctype”: “Quotation Item”,
“item_code”: “35013”,
“item_name”: “AKS PIXX-Transp.Qua.50cm TRAN Taubenstopleiste/Kunstst/V2A-Spikes”,
“parentfield”: “items”,
“qty”: 10.0,
“rate”: 19,
“uom”: “M”,
“stock_uom”: “M”,
“conversion_factor”: 1.0
}
},
“quotation_to”: “Customer”,
“selling_price_list”: “Standard-Vertrieb”,
“territory”: “Hamburg”,
“transaction_date”: “2017-05-22”
}
the reply from the Server is
{
“data”: {
“additional_discount_percentage”: 0,
“base_in_words”: “”,
“campaign”: null,
“naming_series”: “QTN-”,
“creation”: “2017-05-22 08:15:23.795428”,
“doctype”: “Quotation”,
“currency”: “EUR”,
“conversion_rate”: 1,
“owner”: “frank.woischke@zedach.eu”,
“total”: 0,
“shipping_rule”: null,
“customer_name”: null,
“taxes_and_charges”: null,
“language”: null,
“select_print_heading”: null,
“modified_by”: “frank.woischke@zedach.eu”,
“order_type”: “Sales”,
“lead”: null,
“title”: “”,
“base_total”: 0,
“selling_price_list”: “Standard-Vertrieb”,
“supplier_quotation”: null,
“tc_name”: null,
“amended_from”: null,
“transaction_date”: “2017-05-22”,
“contact_display”: null,
“docstatus”: 0,
“territory”: “Hamburg”,
“company”: “BRÜGGEMANN DÄCHER GmbH”,
“address_display”: null,
“letter_head”: “BRÜGGEMANN”,
“terms”: null,
“ignore_pricing_rule”: 0,
“parent”: null,
“base_rounded_total”: 0,
“quotation_to”: “Customer”,
“total_taxes_and_charges”: 0,
“grand_total”: 0,
“base_discount_amount”: 0,
“customer_address”: null,
“contact_email”: null,
“base_total_taxes_and_charges”: 0,
“contact_mobile”: null,
“items”: [],
“base_grand_total”: 0,
“discount_amount”: 0,
“customer”: null,
“order_lost_reason”: null,
“base_net_total”: 0,
“enq_det”: null,
“name”: “QTN-00047”,
“idx”: 0,
“rounded_total”: 0,
“shipping_address_name”: null,
“price_list_currency”: “EUR”,
“modified”: “2017-05-22 08:15:23.795428”,
“taxes”: [],
“plc_conversion_rate”: 1,
“parenttype”: null,
“net_total”: 0,
“status”: “Draft”,
“source”: null,
“shipping_address”: null,
“apply_discount_on”: “Grand Total”,
“contact_person”: null,
“in_words”: “”,
“customer_group”: null,
“parentfield”: null
}
}
So normaly i would say everything is fine, but he hasn’t recognized the customer an the items. An we did not understand why.
Is there another trace in the file System? can you tell me where ?
Kind regards
Frank Woischke