UDF Not Showing in Tally Prime But Working F9 in Tally ERP9

Discussion in 'Tally & TDL Learning HUB' started by Anuj Mittal, Apr 7, 2022.

    
  1. Anuj Mittal

    Anuj Mittal New Member


    Dear All

    Please Help Me in Given Below Code. My UDF is Not Showing Sales Voucher in Tally Prime. Its Perfectly Showing & Working in Tally ERP9.


    [#Part: EI BaseInfo]
    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: After:EI PartyLimit: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
     


  2. balajimg

    balajimg Active Member


    [#Part: EI BaseInfo]
    This particular part is no more used in Prime
    Check new TDL source code and change accordingly
     


  3. Anuj Mittal

    Anuj Mittal New Member


    Dear Balaji

    I Tried Change Part But Thats Also Not Working.


    [#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
     


  4. balajimg

    balajimg Active Member


    [#Part: EI Consignee]
    Add:Option: VchBrokerName: ##SVVoucherType="Sales" Or ##SVVoucherType="Purchase" or ##SVVoucherType="Sauda" And @@SFMBYN

    your option has issue,
    firstly, you are specifying that the sales voucher type name should be = "sales"
    secondly, the formula, @@SFMBYN, seems you have copy & pasted it, no where found the formula in your code
    thirdly, you have used OR & AND combinations

    hope by addressing these above things, it will work
     


  5. ROHIT JAISWAR

    ROHIT JAISWAR Member


    Explain with Proper Screen Shot then will help you
     


Share This Page