Ref Ticket ID: https://care.ginesys.in/a/tickets/118023
Due to higher address length in the GSL system (actual address), while generating CSV for E-Invoice generation, system should split the actual address into Address 1 & Address 2, if actual address is > 100 char.Above mentioned changes should take place for "Supplier, Buyer and Ship To" section of the CSV file. PFB the fields in the where changes should apply: > Supplier Address 1> Supplier Address 2> Buyer Address 1> Buyer Address 2> Ship to Address 1> Ship to Address 2
Updated Data Mapping Logic to follow, while generating CSV file & Web reports for E-Invoice generation (target reports are to be confirmed and taken care-off by the Report team):
* If address in the Ginesys environment < 100 character - No changes* If address in the Ginesys environment > 100 character - 101th character is 'space' or 'any special character' -- capture first 100 char in address1 & -- capture rest in address2 - Else, check for latest space or special char before 101 char -- capture up-to that in address1 & -- capture rest in address2 ============================================================ Example: Sample Address: ELITE HOUSE, 1ST FLOOR, PUNJAB FOUNDRY INDUSTRIAL ESTATE,
NEAR CLASSIC STUDIO, MIRA-BHAYANDAR ROAD,KASHIMIRA, DISTRICT- THANE
> In the above mentioned address 101th character is 'A'; Hence system should check for latest space or special char before 101 char. Should be address split: Address1 - ELITE HOUSE, 1ST FLOOR, PUNJAB FOUNDRY INDUSTRIAL ESTATE,
NEAR CLASSIC STUDIO, MIRA-BHAYANDAR ROADAddress2 - KASHIMIRA, DISTRICT- THANE ============================================================ P.S. Link:https://ginesys.aha.io/ideas/ideas/GIN-I-3425
Also Distance field's logic needs update -
User Story: As a product analyst, I want Users to be able to input Decimal Distance Value but the system should round off the decimal and send the whole number value only via the E-Invoice Generator Module. https://ginesys.aha.io/ideas/ideas/GIN-I-3440
E - Invoice: Distance Field Change
Merged