dear sir, when i enter party name in sales voucher,then party supplementary form opens, there i require for fetching values of supplementary data to udf i know that some format name to be given in "set as" line. i dont know, please help me in this code. [#Part: EI BaseInfo] Add:lines:After:EI consignee arty add01 [Lineartyadd01] Fields: suppgst1,suppcosignee Space Top: 1.5 mm [Field:suppgst1] Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"supp GSTIN:" Local : Field : simple prompt : width : 10 Local : Field : name Field :Set as :$EIBuyerGSTIN:#EISUPPLEMENTARY Local : Field : name Field :Skip:Yes Local : Field : name Field :Style:normal bold [Field:suppcosignee] Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"party supp :" Local : Field : simple prompt : width : 9 Local : Field : name Field : Set as : $EIBUYER Local : Field : name Field :Skip:Yes
Are you NOT referring Tally Developer ??? Refer the 2 fields in Developer and just simply use the UDF name......
dear Amit sir, I refereed tally developer. i checked Ei supplementary. but i am not understanding how to give set as:" " Local : Field : name Field : Set as : $EIPartyledger is this correct?
No...hover your mouse over the Field that you want, in a tooltip box...it will give the field name. { Open Tally in Developer mode } Search for field name in Developer .... and find the UDF/Storage name of that value. And simply use that in your field.
thank you sir. now i got the logic. still i had doubt of partygstin and supplementary party gstin. now i solved myself. i got little confusion. now i got clarity Local : Field : name Field :Set as : $partygstin:Ledger:#EIConsignee so red mark one confused me. in this code buyergstin fetches from ledger Local : Field : name Field :Set as : $partygstin in this code buyergstin fetches from UDF
Sir one problem. after saving voucher and again while changing party name, suppgst1 UDF (gstin)of buyername is updating but UDF of suppcosignee(EI partyledger) is not updating in altermode. [Field:suppgst1] Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"supp GSTIN:" Local : Field : simple prompt : width : 10 Local : Field : name Field :Set as :$partygstin Local : Field : name Field :Skip:Yes Local : Field : name Field :Style:normal bold [Field:suppcosignee] Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"supp NAME " Local : Field : simple prompt : width : 20 Local : Field : name Field : Set as : $Partyname Local : Field : name Field :Skip:Yes
[Field:suppcosignee] Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"supp NAME " Local : Field : simple prompt : width : 20 Local : Field : name Field : Set as : $Partyname Local : Field : name Field :Skip:Yes The UDF is wrong.......follow same example of above field.......Find the Field in the Developer and use the inbuilt UDF/Storage name.
dear sir, i found out the mistake why udf values were not fetching. 1.for sales voucher ,the party field name is EI buyer & storage is $BasicBuyerName 2. for purchase voucher, the party field name is EIParty ledger & storage is $Partyname how to set the party name of both voucher in my udf when purchase is done set as:$Partyname and when sales is done set as:$BasicBuyerName sir, please help me. [Field:suppcosignee] ;Option: suppcosignee@ISPURCHASE Fields: Simple Prompt, Name Field Local : Field : simple prompt : info :$$localestring:"Supp-Name:" ;Local : Field : simple prompt:Align:Left Local : Field : simple prompt :width :10 Local : Field : name Field : Set as :if ##SVVoucherOfType="purchase" Then $Partyname Else $BasicBuyerName Local : Field : name Field :Skip:Yes Local : Field : name Field :width :25 is this correct? or there is any alternate method.
Good...another HUNT for you in Developer....... You made good effort........if ##SVVoucherOfType="purchase" Then $Partyname Else $BasicBuyerName But red marked is wrong......... so find the proper one and it will work.
thank u sir. sir i am not able to proceed further. please give some syntax for the code "if ##SVVoucherOfType="purchase" Then $Partyname Else $BasicBuyerName " The code is working correctly.