interoperabilita:gdxp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
interoperabilita:gdxp [2014/11/12 14:42] – creata letti | interoperabilita:gdxp [2014/11/17 16:33] (current) – Decisione prese al tavolo tecnico di interoperabilità del GDL del 15/11/14 letti | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== GDXP ==== | ||
+ | |||
< | < | ||
Line 355: | Line 357: | ||
| | ||
</ | </ | ||
+ | |||
+ | Il gdxp rappresenta un ordine o un listino, a seconda che sia presente (almeno) un elemento ordine. | ||
+ | |||
+ | ==== Struttura ==== | ||
+ | |||
+ | In questa sezione viene esaminato il formato per verificarne l' | ||
+ | si vuole verificare quali e quante modifiche al formato si renderebbero necessarie per esportare / importare | ||
+ | listini e ordini dal / nel software. | ||
+ | |||
+ | |||
+ | > Sono state esaminate le parti di Gasista Felice che sarebbero interessate dal processo di importazione / esportazione dei dati. | ||
+ | |||
+ | |||
+ | **Supplier** | ||
+ | |||
+ | * id | ||
+ | * name [name] | ||
+ | * seat_id [address] | ||
+ | * vat_number [EXTRAFIELD] | ||
+ | * ssn [taxCode] | ||
+ | * website [EXTRAFIELD] | ||
+ | * frontman_id [EXTRAFIELD] | ||
+ | * flavour [EXTRAFIELD] | ||
+ | * n_employers [EXTRAFIELD] | ||
+ | * logo [EXTRAFIELD] | ||
+ | * iban [EXTRAFIELD] | ||
+ | * description [note] | ||
+ | |||
+ | **base place** --> [ADDRESS] | ||
+ | |||
+ | >> SERVIRANNO DEGLI [EXTRAFIELDS] | ||
+ | |||
+ | * id | ||
+ | * name ??? | ||
+ | * description ??? | ||
+ | * address [street] | ||
+ | * zipcode [zipcode] | ||
+ | * city ??? | ||
+ | * province ??? | ||
+ | * lon ??? | ||
+ | * lat ??? | ||
+ | |||
+ | |||
+ | **contact** --> [PRIMARY] [EXTRAFIELDS] | ||
+ | |||
+ | * id | ||
+ | * flavour --> tipo, da usare per decidere se inserire il value in [phone], | ||
+ | * value | ||
+ | * is_preferred | ||
+ | * description | ||
+ | |||
+ | |||
+ | >> Qui andrebbe cambiata la struttura. Piuttosto che: | ||
+ | >> | ||
+ | >> | ||
+ | >> | ||
+ | >> | ||
+ | >> Sarebbe meglio: | ||
+ | >> | ||
+ | >> | ||
+ | >> | ||
+ | >> | ||
+ | |||
+ | ** | ||
+ | supplier_product** --> anagrafica prodotto [PRODUCTS]* --> [PRODUCT] | ||
+ | |||
+ | * id | ||
+ | * code [EXTRAFIELD] | ||
+ | * producer_id | ||
+ | * category_id [category] | ||
+ | * mu_id [um] | ||
+ | * pu_id [EXTRAFIELD] | ||
+ | * muppu [EXTRAFIELD] | ||
+ | * muppu_is_variable [EXTRAFIELD] | ||
+ | * vat_percent [EXTRAFIELD] | ||
+ | * name [name] | ||
+ | * description [description] | ||
+ | * deleted [EXTRAFIELD] | ||
+ | |||
+ | |||
+ | ------ | ||
+ | |||
+ | |||
+ | **supplier_stock** --> prodotto ordinabile | ||
+ | |||
+ | * id | ||
+ | * supplier_id --> supplier | ||
+ | * product_id --> anagrafica del prodotto | ||
+ | * supplier_category_id | ||
+ | * image [VARIANT] | ||
+ | * price [ORDERINFO][umprice] | ||
+ | * code [PRODUCT][sku] | ||
+ | * amount_available [ORDERINFO][max quantity] | ||
+ | * units_minimum_amount [VARIANT] | ||
+ | * units_per_box [VARIANT] | ||
+ | * detail_minimum_amount [VARIANT] | ||
+ | * detail_step [VARIANT] | ||
+ | * delivery_notes [VARIANT] | ||
+ | * deleted [VARIANT] | ||
+ | ) | ||
+ | |||
+ | **gas_supplier_stock** --> prodotto ordinabile all' | ||
+ | |||
+ | * id | ||
+ | * pact_id | ||
+ | * stock_id | ||
+ | * enabled [VARIANT] | ||
+ | * minimum_amount [ORDERINFO][minimum quantity] | ||
+ | * step | ||
+ | |||
+ | |||
+ | |||
+ | **gas_supplier_order_product** --> ordine di un prodotto all' | ||
+ | |||
+ | * id | ||
+ | * order_id | ||
+ | * gasstock_id | ||
+ | * maximum_amount [ORDERINFO][max quantity] | ||
+ | * initial_price [VARIANT] | ||
+ | * order_price [VARIANT] | ||
+ | * delivered_price [VARIANT] | ||
+ | * delivered_amount[ORDERINFO][PackageQuantity] | ||
+ | |||
+ | ------ | ||
+ | |||
+ | **gas_supplier_order** --> ordine dei gasisti su un patto supplier - gas [ORDERS]* --> [ORDER] | ||
+ | |||
+ | * id | ||
+ | * pact_id | ||
+ | * datetime_start [opendate] | ||
+ | * datetime_end [closedate] | ||
+ | * order_minimum_amount [EXTRAFIELD] | ||
+ | * delivery_id | ||
+ | * withdrawal_id | ||
+ | * delivery_cost [EXTRAFIELD] | ||
+ | * referrer_person_id | ||
+ | * delivery_referrer_person_id | ||
+ | * withdrawal_referrer_person_id | ||
+ | * group_id | ||
+ | * invoice_amount [EXTRAFIELD] | ||
+ | * invoice_note [EXTRAFIELD] | ||
+ | * root_plan_id | ||
+ | |||
+ | ** delivery ** | ||
+ | |||
+ | * id | ||
+ | * place_id | ||
+ | * date [ORDER][deliveryDate] | ||
+ | |||
+ | |||
+ | |||
+ | ==== Incontro GDL sull' | ||
+ | |||
+ | > Conteunti presi da: http:// | ||
+ | |||
+ | Durante il tavolo tecnico per lo standard il formato **GDXP** è stato esaminato al fine di verificarne l' | ||
+ | Il formato è visionabile al link https:// | ||
+ | Il tavolo ha prodotto le seguenti proposte di modifica / integrazione: | ||
+ | |||
+ | > **NOTA**: | ||
+ | > **TODO**: in una versione successiva, abdrebbero inserite informazioni anche su accreditmento e rating del produttore/ | ||
+ | |||
+ | * elemento **supplier**: | ||
+ | * almeno un elemento tra **taxCode** e **vatNumber** deve essere presente. Se l' | ||
+ | * l' | ||
+ | * l' | ||
+ | * aggiungere un campo obbligatorio **description**. Questo campo sarà utilizzato per inserire un descrizione verbosa del produttore/ | ||
+ | * aggiungere un elemento di nome **generator** che contenga l' | ||
+ | * aggiungere un elemento di nome **source** che contenga l' | ||
+ | * inserire un elemento obbligatorio **subject** che indichi a quale soggetto (GAS, ..) si riferisce l' | ||
+ | * **id** | ||
+ | * **type** | ||
+ | * inserire un elemento **id** che, nel caso si rappresenti un ordine, indichi l'id dell' | ||
+ | * inserire un elemento **tipology** | ||
+ | * elemento **address**: | ||
+ | * inserire un elemento facoltativo **extraFields** per dare la possibilità di specificare altre informazioni geografiche e logistiche | ||
+ | * elemento **primary**: | ||
+ | * elementi **faxNumber** e **webSite** opzionali | ||
+ | * elemento **extraContact**: | ||
+ | * almeno un campo tra **phoneNumber**, | ||
+ | * elemento **product**: | ||
+ | * nell' | ||
+ | * nell' | ||
+ | * per ora l' | ||
+ | * inserire un elemento **vat** che indichi il valore dell' | ||
+ | * NOTA: inserire un attributo all' | ||
+ |
interoperabilita/gdxp.txt · Last modified: 2014/11/17 16:33 by letti