Show Party Tin No on Invoice Mode and Voucher Mode Invoice Entry Screen

Discussion in 'Tally.ERP 9' started by divy2281774, May 30, 2017.

         
  1. divy2281774

    divy2281774 New Member


    You can show party tin no at the time of entry of invoice in both mode(Invoice mode and Voucher entry mode) of sales and purchase entry.

    For source code and guidance watch following video

     


  2. Rohit8811

    Rohit8811 New Member


    As you can see. I add address box but its very small and only show first line of address. When address is long in first line and it have second line also. Then box is not show second line and first line proper so box width is short. Please add code to increase width od address colom
     

    Attached Files:



  3. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    Use $$FullList...........

    Also use ... LINE : 0 (Local : field : Name Field : Line : 0)
     


  4. Rohit8811

    Rohit8811 New Member


    Sir please guide me to where add this line and how. Becoj i am not good in tdl. I replaced party tin no box with address. But i stuck in box size. Please help sir
     


  5. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    in Field :deepakadd

    Local : field : Name Field : Line : 0
    Local : field : Name Field : Full width : Yes
    Local : field : Name Field : Set As : $$FullList:$Address:Ledger:$LedgerName
     


  6. Rohit8811

    Rohit8811 New Member


    Sir After add your code it show error sms and exit tally.. i was confused so i remove deepak name from file. . I think i put code wrong place.
     

    Attached Files:



  7. Rohit8811

    Rohit8811 New Member


    I know i am not developer but i try my best. I am accountant. I need it mostly to duplicate party entry. So please write down for me. Its really thinking full for me. .
     


  8. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    Well buds...I am a accountant too............

    Here it is a platform for learning. By giving excuses one does not and cannot learn. So take a leap of faith and start doing things.... and this is a small thing.

    Do not expect everything to be given to you on a silver platter. I have given the solution. So study the code and learn where to implement it.

    You need to start your baby steps in learning TDL.
     


  9. Rohit8811

    Rohit8811 New Member


    ;Objective
    ;Watch GSTin on Sales & Purchase entry Screen
    ;Author:SKILL BILL YOUTUBE
    ;*******************************************************************
    [#Part: VCHTitle2Left]
    Add:Line:After:VCH Ref:tin

    [Line: tin]
    Add: Field: gstin, Add
    Invisible: Not (@@IsPurchase Or @@IsSales)



    [Field: gstin]
    Fields : Simple Prompt, Name Field
    Local : Field : Simple Prompt: Set as : "GSTNo.:"
    Local : Field : name Field : Set as : $PARTYGSTIN:Ledger:$LedgerName
    Local : Field : Default : Skip : Yes
    Width : @@VCHNameWidth


    [Field: Add]
    Fields : Simple Prompt, Name Field
    Local : Field : Simple Prompt: Set as : "Add.:"
    Local : field : Name Field : Line : 0

    Local : field : Name Field : Full width : Yes

    Local : field : Name Field : Set As : $$FullList:$Address:Ledger:$LedgerName
    Local : Field : Default : Skip : Yes
     

    Attached Files:



  10. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    The error has nothing to do with the fieldname

    the collection is missing.... since we are calling up the function $$fulllist..... it needs the collection
     


  11. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    $$Fulllist:Address:$Address
     


  12. Rohit8811

    Rohit8811 New Member


    Sir try also many days but i can't understand structure well. I am interested also to learn. And i will. But now i need urgently to prevent mistake. If you please make it correctly i am really thank full. And after this i do more hard workto understand. After some study i add address by removing tin no code so i am not lezy i am olny hope full toyou
     


  13. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    [Field: Add]
    Fields : Simple Prompt, Name Field
    Local : Field : Simple Prompt: Set as : "Add.:"
    Local : field : Name Field : Line : 0

    Local : field : Name Field : Full width : Yes

    Local : field : Name Field : Set As : $$Fulllist:Address:$Address
    Local : Field : Default : Skip : Yes
     
    Rohit8811 likes this.


  14. Rohit8811

    Rohit8811 New Member


    Still not working after set as you last reply
     

    Attached Files:



  15. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    $STPartyFullAdd:Ledger:$LedgerName
     


  16. Rohit8811

    Rohit8811 New Member



    Where i add this line
     


  17. Rohit8811

    Rohit8811 New Member


    After add your last code suggestion address box increes or editable but it is empty
     

    Attached Files:



  18. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    [Field: Add]
    Fields : Simple Prompt, Name Field
    Local : Field : Simple Prompt: Set as : "Add.:"
    Local : field : Name Field : Line : 0

    Local : field : Name Field : Full width : Yes

    Local : field : Name Field : Set As : $STPartyFullAdd:Ledger:$LedgerName
    Local : Field : Default : Skip : Yes
     
    Rohit8811 likes this.


  19. Rohit8811

    Rohit8811 New Member


    Yeas sir it is work. But can i increase its width more
     


  20. Rohit8811

    Rohit8811 New Member


    Address looking like this. It is fit in box not full show comfortable
     

    Attached Files:



  21. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    There is an another part on the right side of that space.... which is visible when one is using Order Numbers........

    So as per space available.....only this will be shown...........that is why Line:0 is being used........... and i am getting it properly.... you might have done something wrong...

    see my screen.
    Capture.PNG
     


  22. Rohit8811

    Rohit8811 New Member


    I try to use width code for both and now it can little work and show long line address but onlyin single line. Now i can work with this super solution and my problem is solved to work now. But stillsti like your screen my screen not show address.. i sent you all code. Andi change in only "add'" field. So how is it possible to different results in my oryouro pc.
    Thnx and lot sir. Again
     

    Attached Files:



  23. Amit Kamdar

    Amit Kamdar Moderator Staff Member


    [#Part: VCHTitle2Left]
    Add:Line:After:VCH Ref:tin
    [Line: tin]
    Add: Field: gstin, Add
    Invisible: Not (@@IsPurchase Or @@IsSales)
    [Field: gstin]
    Fields : Simple Prompt, Name Field
    Local : Field : Simple Prompt: Set as : "GSTNo.:"
    Local : Field : Simple Prompt: Width : 7
    Local : Field : name Field : Set as : $PARTYGSTIN:Ledger:$LedgerName
    Local : Field : name Field : Width : 15
    Local : Field : Default : Skip : Yes
    [Field: Add]
    Fields : Simple Prompt, MyAddFld
    Local : Field : Simple Prompt: Set as : "Add.:"
    Local : Field : Simple Prompt: Width : 7
    [field : MyAddFld]
    Use : Name Field
    Full width : Yes
    Line : 0
    Skip : Yes
    Set As : $STPartyFullAdd:Ledger:$LedgerName
     


Share This Page