Hi, I'm customizing Invoice for my company. Everything is fine but in case of page break, in the opening parts on next page, the field's width differs from that on 1st Page. As a result, column title and body don't align. Here's the config: [Form: GST INVOICE] Space Left: 0.50 Inch Space Bottom: 1.30 Inch Space Right: 0.50 Inch Space Top:0.30 Inch Part: Opening Page Break, Invoice Body Bottom Part: <more parts> Page Break : Closing Page Break, Opening Page Break Set Always: SV Print Orientation : “Landscape” [Part:Closing Page Break] Lines : Closing Page Break [Line: Closing Page Break] Fields : Simple Field Local: Field: Simple Field : Set As : "Continued..." Local: Field: Simple Field : FullWidth : Yes Local: Field: Simple Field : Align : Right Border : Full Thin Top [Part: Opening Page Break] Part: Invoice Title, Company Details, Invoice No, Customer Details, Column Titles Vertical: Yes [Part: Invoice Title] Line: Invoice Title Bottom Line: Copy [Line: Copy] Right Field: Name Field Local: Field: Name Field: Set as:If @@GetCopyNum = 1 Then "ORIGINAL FOR RECIPIENT" Else + If @@GetCopyNum = 2 Then $$LocaleString:"SALES STAFF COPY" Else + If @@GetCopyNum = 3 Then $$LocaleString:"TRANSPORT COPY" Else + If @@GetCopyNum = 4 Then $$LocaleString:"EXTRA COPY" Else $$LocaleString:"EXTRA COPY" [Line: Invoice Title] Field: Simple Field;, Name Field Local: Field: Simple Field: Set as: If @@VatGCCBuyerCountry = "India" then "Tax Invoice" else "Invoice" Local: Field: Simple Field: Style: Large Bold Local: Field: Simple Field: Align: Center Local: Field: Simple Field: Full Width: Yes [Part: Company Details] Part: Company Name Details [Part: Company Name Details] Line: Company Name, Company Address, Line: Company Contact Details [Line: Company Name] Field: Name Field Local: Field: Name Field: Set as: @@CmpMailName Local: Field: Name Field: Stylearth CMP Name Local: Field: Name Field: Full Width: Yes [Line: Company Address] Field: Name Field Local: Field: Name Field: Set as: $$FullList:CompanyAddress:$Address Local: Field: Name Field: Full Width: Yes Local: Field: Name Field: Style9 Local: Field: Name Field: Line: 0 [Line: Company Contact Details] Field: Medium Prompt, Simple Field, Simple Prompt, Name Field Local: Field: Medium Prompt: Set as: "Contact No" Local: Field: Medium Prompt: Style: P9 Local: Field: Simple Field: Style: P9 Local: Field: Simple Field: Set as: $PhoneNumber:Company:##SVCurrentCompany +" "+ $MobileNumbers:Company:##SVCurrentCompany Local: Field: Simple Prompt: Style9 Local: Field: Simple Prompt: Set as: "PAN No." Local: Field: Simple Prompt: Space Left: 5 Local: Field: Name Field: Style: P9 Local: Field: Name Field: Set as: $IncomeTaxNumber:Company:##SVCurrentCompany [Part:OTS Customer Details] <Details of Customer> [Part: Invoice No] Left Part: InvoiceNo Right Part: InvoiceDate Border: Thin Cover [Part: InvoiceNo] Line: Invoice No [Part: InvoiceDate] Line: OTS Invoice Date [Line: Invoice No] Field: Medium Prompt,Simple Field Height: 1.5 Local: Field: Medium Prompt: Set as: "Invoice No" Local: Field: Medium Prompt: Width: 15 Local: Field: Simple Field: Set as: $VoucherNumber Local: Field: Simple Prompt: Width: 15 Space Top: 0.2 [Line:OTS Invoice Date] Field: Medium Prompt, Simple Field Height: 1.5 Local: Field: Medium Prompt: Set as: "Dated" Local: Field: Medium Prompt: Width: 15 Local: Field: Simple Field: Set as: $Date Local: Field: Simple Prompt: Width: 15 Space Top: 0.2 [Part: Column Titles] Lines: Invoice Body Title, Invoice Body Title1 Border: Thick Cover Common Border: Yes [Line: Invoice Body Title] Use: Invoice Body Title Columns Local: Field: Default: Type: String Local: Field: Default: Align: Center Local: Field: SrNo: Set as: "Sr No" Local: Field: Item Description: Set as: "Description" Local: Field: HSN Code: Set as: "HSN" Local: Field: Billed Qty: Set as: "Hours" Local: Field: Rate: Set as: "Rate" Local: Field: Gross Amt: Set as: "Amount" Local: Field: CGST Rate: Set as: "CGST" Local: Field: SGST Rate: Set as: "SGST" Local: Field: IGST Rate: Set as: "IGST" Local: Field: CGST Rate: subtitle: Yes Local: Field: SGST Rate: subtitle: Yes Local: Field: IGST Rate: subtitle: Yes Local: Field: CGST Rate: cells: 2 Local: Field: SGST Rate: Cells: 2 Local: Field: IGST Rate: cells: 2 Border: Thin Top Space Top: 0.25 [Line: Invoice Body Title1] Use: Invoice Body Columns Local: Field: Default: Type: String Local: Field: Default: Align: Center Local: Field: SrNo: Set as: "" Local: Field: Item Description: Set as: "" Local: Field: HSN Code: Set as: "" Local: Field: Billed Qty: Set as: "" Local: Field: Rate: Set as: "" Local: Field: Gross Amt: Set as: "" Local: Field: CGST Rate: Set as: "%" Local: Field: CGST Amt: Set as: "Amount" Local: Field: SGST Rate: Set as: "%" Local: Field: SGST Amt: Set as: "Amount" Local: Field: IGST Rate: Set as: "%" Local: Field: IGST Amount: Set as: "Amount" Local: Field: CGST Rate: Border: None Local: Field: CGST Amt: Border: Thin Left Local: Field: Billed Qty: Border: None Local: Field: Rate: Border: None Local: Field: Gross Amt: Border: None Local: Field: HSN Code: Border: None Border: Thin Bottom Space Bottom: 0.25
This is happens because of some field Width is Up Normal. Set width in all your fields. Even if you give full width : yes, Set Some Minimum Width for that
Hi knsivam89, Thanks for looking into the issue. I have widths set for each field except for description, which is meant to take all the remaining space. Taking a similar example in the above code, the part (Invoice No) in which Invoice No and Invoice Date are being shown, all 4 fields have widths set, yet I see difference in two pages. Didn't attach image as it would have been hard to make out in it. Please advice. Thanks, Arpit Goel