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]
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.......
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.
Still not coming ??? then you are referencing the WRONG Part............ Find the correct one and it will work.
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.
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
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