Help on Part of Tally Prime

Discussion in 'Tally Developer' started by Johar, Nov 28, 2020.

    
  1. Johar

    Johar Member


    why is this code not working it doesn't insert a line after PARTY NAME, I have checked in tally prime developer it is same. plz suggest

    [#Part: EI BaseInfo]
    Option: EI Discount: @@IsSales or @@IsCreditNote or @@IsDebitNote or @@IsPurchase

    [!Part: EI Discount]
    Add: Line: lndiscount

    [Line : lndiscount]
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Assume....that PART has multiple Options.......... so when you add your OWN Option.......it will take the hierarchical route......so you addition to option will be last in line..........

    If you want your option to be executed first, then REPLICATE the whole of [#Part: EI BaseInfo] and put your OPTION at the top before the other options.......
     


  3. Johar

    Johar Member


    Ok Sir I will try it out, Thanks
     


  4. Johar

    Johar Member


    No Sir, not working can you check at your end Please
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Option : EI Nature Of Sales: (@@IsSales OR @@IsSalesOrder OR @@IsDebitNote OR @@IsPurchase OR @@IsCreditNote OR @@IsDelNote OR @@IsRcptNote)

    Above Option already exists with same Criteria/Condition.........

    So, instead of Option.......... Add your Line........at PART level and in the Line definition...... make a condition.
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Still not coming ??? then you are referencing the WRONG Part............

    Find the correct one and it will work.
     
    S k singh likes this.


  7. Johar

    Johar Member


    No sir not working
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Find the correct PART ... if you entering in Invoice mode, then the part name is different.

    Look at [Form: VCHBASIC Form] and drill down from there and find the correct Part.
     
    naren1234 likes this.


  9. Johar

    Johar Member


    I tried every possible way but line is not getting added, we can add field
     


  10. Johar

    Johar Member


    This I will again check, Thanks
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member



  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes, please. You have to master and learn the R & D skills also. ;):)
     


  13. abhinand vk

    abhinand vk Active Member


    Refer this form
    [#Form: VCHBasic InvoiceMode]
     


  14. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes....that too.......... It is a switch from ....... [Form: VCHBASIC Form]
     


  15. Johar

    Johar Member


    Sir, I found PART it EI Consignee
     


  16. Johar

    Johar Member


    Problem solved
     

    Attached Files:



  17. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Very good.........:)
     


  18. Anuj Mittal

    Anuj Mittal New Member


    Please Help Me in My Code. My UDF is Not Showing in Sales Voucher.


    [#Part: EI Consignee]
    Add:Option: VchBrokerName: ##SVVoucherType="Sales" Or ##SVVoucherType="Purchase" or ##SVVoucherType="Sauda" And @@SFMBYN ; Without End of List Broker Name in Sauda Voucher
    [!Part: VchBrokerName]
    Add: Line: At End:LineVBN ; Line Voucher Broker Name
    [Line: LineVBN] ; Line Voucher Broker Name
    Add : Fields : Simple Prompt,FLD VBN
    Local : Field : Simple Prompt : Info : $$LocaleString:$IsCBSA:Company:##SVCurrentCompany + " Name:"
    Local : Field : Simple Prompt : Width : 14
    Local : Field : Simple Prompt : Color : Blue
    Space Top : 0.3
    [#Line: EI Consignee]
    Add : Fields : Simple Prompt,FLD VBN
    Local : Field : Simple Prompt : Info : $$LocaleString:$IsCBSA:Company:##SVCurrentCompany + " Name:"
    Local : Field : Simple Prompt : Width : 14
    Local : Field : Simple Prompt : Color : Blue
    [Field:FLD VBN]
    Use : Ledger Name Field
    Set Always : Yes
    Set as : $IsPBN:Ledger:$LedgerName
    Storage : VchBName ; Voucher Broker Name
    Table : Broker Ledger,End of List
    Show Table : Always
    Width : 25
    Style : Normal Bold
    Color : Blue
    Skip : If $IsFPBN:Ledger:$LedgerName="Yes" Then Yes Else No
     


  19. Anuj Mittal

    Anuj Mittal New Member


    Hi Johar
    Please Help Me in Same .


    [#Part: EI Consignee]
    Add:Option: VchBrokerName: ##SVVoucherType="Sales" Or ##SVVoucherType="Purchase" or ##SVVoucherType="Sauda" And @@SFMBYN ; Without End of List Broker Name in Sauda Voucher
    [!Part: VchBrokerName]
    Add: Line: At End:LineVBN ; Line Voucher Broker Name
    [Line: LineVBN] ; Line Voucher Broker Name
    Add : Fields : Simple Prompt,FLD VBN
    Local : Field : Simple Prompt : Info : $$LocaleString:$IsCBSA:Company:##SVCurrentCompany + " Name:"
    Local : Field : Simple Prompt : Width : 14
    Local : Field : Simple Prompt : Color : Blue
    Space Top : 0.3
    [#Line: EI Consignee]
    Add : Fields : Simple Prompt,FLD VBN
    Local : Field : Simple Prompt : Info : $$LocaleString:$IsCBSA:Company:##SVCurrentCompany + " Name:"
    Local : Field : Simple Prompt : Width : 14
    Local : Field : Simple Prompt : Color : Blue
    [Field:FLD VBN]
    Use : Ledger Name Field
    Set Always : Yes
    Set as : $IsPBN:Ledger:$LedgerName
    Storage : VchBName ; Voucher Broker Name
    Table : Broker Ledger,End of List
    Show Table : Always
    Width : 25
    Style : Normal Bold
    Color : Blue
    Skip : If $IsFPBN:Ledger:$LedgerName="Yes" Then Yes Else No
     


Share This Page