Import Formats

84.4.5.82 CUSTOM > VIDEOLINA TRAFFIC TXT

Import Scope
The custom import Videolina Traffic TXT permits to import from a .TXT file containing the commercial schedule of a certain day(s), directly into the Air Sales  module. From the imported file it will be retrieved, besides the scheduled events, the related contracts and details as well as the linked asset forms.
Please note that each line is related to a single commercial event and all the related fields are separated by a comma (;), these fields are:
•customer code         (alphanumeric)
•customer description     (alphanumeric)
•order code        (alphanumeric)
•order description   (alphanumeric)
•order line description (alphanumeric)............esempio: contratto CENTRO COMMERCIALE XXXX, riga di contratto 1 SUPERMERCATO YYYY, riga di contratto 2 NEGOZIO ELETTRONICA......
•scheduled date     (format gg/mm/aaaa)
•scheduled time      (format in frames).............tutti gli spot che fanno parte dello stesso break devono avere la stessa ora
•asset code              (alphanumeric)..............il codice materiale dello spot che dovrà essere tramesso
•asset description       (alphanumeric)
scheduled duration         (format in frames)
B               (alphanumeric).....................esempio: SPOT (pubblicità), PROM (promo), TVEN (televendita).....
•external ID             (alphanumeric).....................esempio: un codice che vi permetta poi di fare la riconcialiazione quando vi manderemo il file di AsRunLog)
•amount                 (float)...................Importo unitario della riga di contratto
•order start date  (format gg/mm/aaaa)
•order end date   (format gg/mm/aaaa)
•order line start date (format gg/mm/aaaa)
•order line end date (format gg/mm/aaaa)
•order line runs number (numeric)
•nielsen code          (alphanumeric  es.:'28726')
•(other data to be imported present in the file) 
NB: Please notice that in order to use this import function, a valid commercial structure (i.e.: blocks and segments) must exist in the system for the days intended to be imported.
Import parameters
This import module requires the following parameters to be set in order to be correctly used:

Import_custom_videolina_traffic_txt

•File to import: Browse for the .txt file containing the list of interventions.
•sp Trf_InsertProposalGeneral reduced: If enabled,
It is important to note that all commercial events are deleted from the importing day before the import takes place; moreover, it's not allowed to import commercial schedules of past days.
Launch the import
When the <Import> button is pressed, the application will try to insert all the interruptions present in the text file as 'visible segments' into the specified EDL of the selected asset forms (taking into account the marks). 
Sample file to import
The file to be imported using this method will have to the following structure in order to be correctly imported: 
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;556500;PBM23499;BSSMETEO;125;PBNS;2044578;0
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;557875;PBM23499;BSSMETEO;125;PBNS;2045722;0
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;579000;PBM23499;BSSMETEO;125;PBNS;2044579;0
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;580375;PBM23499;BSSMETEO;125;PBNS;2045723;0
00195;COMUNE DI BOSA;000213/2011;NN;NN;02/03/2011;580500;PBM23596;BOSACARNEV 10;250;PB;2052360;0
05171;CONAD DEL  TIRRENO;000225/2011;NN;NN;02/03/2011;580500;PBM23631;CONAD 15U2;375;PB;2055436;0
04414;JUMBO SPA;000200/2011;NN;NN;02/03/2011;580500;PBM23561;JUMBO 7U;175;PB;2050640;0
07858;J&G CONSULTING SRL;000155/2011;NN;NN;02/03/2011;580500;PBM23639;SARDEX 15A;375;PB;2043028;0
07493;AGENZIA GOVERNATIVA REGIONALE SARDEGNA PROMOZIONE;000195/2011;NN;NN;02/03/2011;580500;PBM23569;CARNEVALE 10;250;PB;2054997;0
04992;L‘UNIONE SARDA SPA;000158/2011;NN;NN;02/03/2011;580500;PBM23429;UNIONEPASTA 15A;375;PB;2039712;0
04434;VIDEOLINA SPA;000140/2011;NN;NN;02/03/2011;580500;PBM23336;PRVLMATT2011;1088;AP;2053917;0
04434;VIDEOLINA SPA;000140/2011;NN;NN;02/03/2011;580500;PBM23333;PR20ANNI2011;1090;AP;2054847;0
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;601500;PBM23499;BSSMETEO;125;PBNS;2044580;0
04970;BANCA DI SASSARI;000178/2011;NN;NN;02/03/2011;602875;PBM23499;BSSMETEO;125;PBNS;2045724;0
07881;ASS.NE IPPICA SINDIESE ARDIAS E PANDELAS;000221/2011;NN;NN;02/03/2011;603000;PBM23626;SINDIA CARN;375;PB;2053011;0
05783;DIS SRL;000106/2011;NN;NN;02/03/2011;603000;PBM23482;HARDIS 15O;375;PB;2042762;0
04201;ASCOM - FI.PE. - SINDACATO PUBBLICI ESERCIZI NUORO;000081/2011;NN;NN;02/03/2011;603000;PBM23210;ASCOM GASTRO;500;PB;2019782;0
07872;FUNDARO‘ LIDIA;000218/2011;NN;NN;02/03/2011;603000;PBM23606;HEALTH BEAUTY;500;PB;2052871;0
07493;AGENZIA GOVERNATIVA REGIONALE SARDEGNA PROMOZIONE;000195/2011;NN;NN;02/03/2011;603000;PBM23569;CARNEVALE 10;250;PB;2049616;0
...
 

5297_Import_custom_videolina_traffic_txt