In Progress

Discussed Project

Details

As input we have 1 txt file with informations as in the 2 bellow examples:

- info from 1 text file

[InfoPachet]

AnLucru=2016

LunaLucru=10

TotalFacturi=1

[Factura_1]

NrDoc=11122333

Data=20.02.2017

TVAincasare=N

CodFurnizor=

Scadenta=20.02.2017

NrNir=93

Discount=

TotalArticole=1

TipTVA=1

TipTranzactie=1

SerieDoc=aa

Moneda=RON

Curs=1.0000

[Items_1]

Item_1=MarfaInt;BUC;10;45;EVO;0;;61.58;

1 2 3 4 5 6 7

Item_1_TVA=90

4 needs to be the same with 7 = 45.

We would be checking only the information after "Item_X=". In the text file can be Item_1, Item_2 ---- up to Item_100 and we need to do 3 things:

1- Replace "MarfaInt" with "Venituri"

2- If the the information after "=" contains 7 data fields (as marked above), we will copy the information on the 4th field to the 7th field.

3 - If the the information after "=" contains 8 data fields (as marked bellow), we will copy the information from the 8 to the 7 field as you can find in the bellow example.

4. If there are less then 7 data filds after "=" we will skip this lines.

We will import 1 text file each time and we will have 1 text as output with the above things changed.

Info from another text file:

Input file:

[InfoPachet]

AnLucru=2017

LunaLucru=09

TipDocument=FACTURA IESIRE

TotalFacturi=1

[Factura_1]

NrDoc=202

SerieCarnet=MMEZI

Data=02.08.2017

CodClient=1000009

Scadenta=04.08.2017

TaxaInversa=N

TipTVA=1

Operat=D

Anulat=N

TotalArticole=2

[Items_1]

Item_1=Venituri;BUC;1;161;EVO;-0.0000;191.59;;140

1 2 3 4 5 6 7 8

" 8 needs to be the same with 7 = 140 as value"

Item_1_TVA=30.59

Item_2=Curier;BUC;1;12.61;;;;704;;;;

Item_2_TVA=2.39

Skills: HTML, Javascript, MySQL, PHP, Software Architecture

See more: the five process groups of project management in order are, project profiles can be created based on attributes such as, a project ________ document defines the work required to complete the project successfully., in an organization, _______ can be used to improve effectiveness and efficiency, project kick off meaning, which project management knowledge area coordinates the work of all the other knowledge areas?, project profiling is the process of extracting a characterization from the _______ of a project., which of the following is not a strategic consideration for authorizing a project?, project details getafreelancercom, project details management aspnet, hotel management project details, loan modification project details call center, project details mobile sms banking, sharepoint workflow project details, project details java

About the Employer:
( 1 review ) Tecuci, Romania

Project ID: #15637899

Awarded to:

rinsadsl

Hired by the Employer

$80 USD in 2 days
(1006 Reviews)
8.7