alignement

Discussion in 'Requests' started by NainaSiraj, Dec 20, 2020.

    
  1. NainaSiraj

    NainaSiraj Member


    can any body tell me how can i change alignment of company address in invoice printing on right side please


    kindly see please

    [#Line: EXPINV companyaddress]
    Local : Field : Name Field : Style : MyNEWStyle
    Local : Field : Name Field : Color : Red
    Local : Field : Name Field : Print fg: Red
    Local : Field : Name Field : Align: right
    Local : Field : Name Field : Fullwidth: yes
    [Style : MyNEWStyle]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
     
    Last edited: Dec 21, 2020


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    By improving the spelling in your definition..............

    Also there is no such LINE in PRIME........................
     


  3. NainaSiraj

    NainaSiraj Member


    Sir how are you
    Sir guide me

    This is code for tally erp9
    Not for prime

    So guide me what is this part or field
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    I do not have developer for ERP9 now.............. since you are using that, it might be correct.............

    but correct the spelling of RIGHT..............
     


  5. NainaSiraj

    NainaSiraj Member



    [#Line: EXPINV Buyer]
    Local : Field : Name Field : Style : MyOwnStyle
    Local : Field : Name Field : Color : red
    Local : Field : Name Field : Print fg: Red
    [Style : MyOwnStyle]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
    [#Line: EXPINV Company]
    Field : Name Field
    Local : Field : Name Field :Delete:style
    Local : Field : Name Field:Add:style: CMPAddStyleB
    Local : Field : Name Field : Color : Red
    Local : Field : Name Field : Print fg: Red
    [Style : CMPAddStyleB]
    Font : "Cambria"
    HEight : "16"
    Bold : Yes

    [#Field:EXPINV Address]
    Delete:style
    Delete:Align
    Add:Align:Right
    Fullwidth:yes
    Print Fg:DarkBlue16bit
    Add:style:CMPAddStyleB1
    [Style : CMPAddStyleB1]
    Font : "Cambria"
    HEight : "10"
    Bold : no
    [#Part: EXPINV company]
    Local : Field : Name Field : Style : MyNEWStyle1
    Local : Field : Name Field : Color : Red
    Local : Field : Name Field : Print fg: Red
    Local : Field : Name Field : Align: Right
    Local : Field : Name Field : Fullwidth: yes
    [Style : MyNEWStyle1]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes


    In This code problem is i just want to change the alignment on right side just for company address but here its changing the alignment of buyer address also
    i dont want to change alignment of buyer address
    plzzzz
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Within the Part you are defining the --- Local : Field .................. .

    Instead identify the right LINE name and use it like this............
    Local : Line : ThisLine : Local : Field : Name Field : Align : Right.

    (replace ThisLine with the appropriate LINE Name.)
     


  7. NainaSiraj

    NainaSiraj Member


    good morning sir
    sir its ok company name and address align changed but its also change the align of buyer address
    kindly see


    ;Try the below code to increase the font size
    [#Line: EXPINV Buyer]
    Local : Field : Name Field : Style : MyOwnStyle
    Local : Field : Name Field : Color : red
    Local : Field : Name Field : Print fg: Red
    [Style : MyOwnStyle]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
    [#Line: EXPINV Company]
    Field : Name Field
    Local : Field : Name Field :Delete:style
    Local : Field : Name Field:Add:style: CMPAddStyleB
    Local : Field : Name Field : Color : Red
    Local : Line : ThisLine : Local : Field : Name Field : Align : Right.
    Local : Field : Name Field : Print fg: Red
    [Style : CMPAddStyleB]
    Font : "Cambria"
    HEight : "16"
    Bold : Yes
    [#Field:EXPINV Address]
    Delete:style
    Delete:Align
    Add:Align:Right
    Fullwidth:yes
    Print Fg:DarkBlue16bit
    Add:style:CMPAddStyleB1
    [Style : CMPAddStyleB1]
    Font : "Cambria"
    HEight : "10"
    Bold : no

    [#Part: EXPINV company]
    Local : Field : Name Field : Style : MyNEWStyle1
    Local : Field : Name Field : Color : Red
    Local : Field : Name Field : Print fg: Red
    Local : Field : Name Field : Align: Right
    Local : Field : Name Field : Fullwidth: yes
    [Style : MyNEWStyle1]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
     


  8. NainaSiraj

    NainaSiraj Member


    kindly see this
     

    Attached Files:

    • AD.pdf
      File size:
      1.5 MB
      Views:
      31


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    First, you have to read the solution very carefully. You have just copied the line ...and missed out the line below in brackets. You have to replace the line with the appropriate line name.

    You are in MiddleEast, so your Company would be configured for that code........ means your Invoice Print PARTS would be having GCC in the name....
    Accordingly, you have to find the GCC country specific codes...... e.g. [Part : GCCVATEXPInv Leading]

    From this Part, find the specific Buyer details related part, which will contain other Parts and Lines thereof......

    Refer to that Part or Line........ And in that line set your parameters.

    If you directly change Field:EXPINV Address ... it will change everywhere, as EXPINV Address is common across all Invoices format.
     


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [#Part: GCCVATEXPInv Buyer]
    Local : Field : EXPINV Address : Delete:style
    Local : Field : EXPINV Address : Add:style: CMPAddStyleB1
    Local : Field : EXPINV Address : Align : Right.
    Local : Field : EXPINV Address : Print fg: DarkBlue16bit
    /*
    [#Field:EXPINV Address]
    Delete:style
    Delete:Align
    Add:Align:Right
    Fullwidth:yes
    Print Fg:DarkBlue16bit
    Add:style:CMPAddStyleB1
    */
     


  11. NainaSiraj

    NainaSiraj Member




    Thanks sir
    with some modification with your help its working fine
    thank you sir

    [#Line: EXPINV Company]
    Field : Name Field
    Local : Field : Name Field :Delete:style
    Local : Field : Name Field:Add:style: CMPAddStyleB
    Local : Field : Name Field : Color : Red
    Local : Line : ThisLine : Local : Field : Name Field : Align : Right
    Local : Field : Name Field : Print fg: Red
    [Style : CMPAddStyleB]
    Font : "Cambria"
    HEight : "16"
    Bold : Yes
    [#Line: EXPINV Buyer]
    Local : Field : Name Field : Style : MyOwnStyle
    Local : Field : Name Field : Color : red
    Local : Field : Name Field : Print fg: Red
    [Style : MyOwnStyle]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
    [#Part: EXPInv Buyer]
    Local : Field : EXPINV Address : Delete:style
    Local : Field : EXPINV Address : Add:style: CMPAddStyleB1
    Local : Field : EXPINV Address : Align :Left
    Local : Field : EXPINV Address : Print fg: DarkBlue16bit
    [Style : CMPAddStyleB1]
    Font : "Cambria"
    HEight : "10"
    Bold : No
    [#Field:EXPINV Address]
    Delete:style
    Delete:Align
    Add:Align:Right
    Print Fg:DarkBlue16bit

    [#Part: EXPINV company]
    Local : Field : Name Field : Style : MyNEWStyle1
    Local : Field : Name Field : Color : Red
    Local : Field : Name Field : Print fg: Red
    Local : Field : Name Field : Align: Right
    Local : Field : Name Field : Fullwidth: yes
    [Style : MyNEWStyle1]
    Font : "Cambria"
    HEight : "15"
    Bold : Yes
     


Share This Page