Can anybody help !!

Discussion in 'Requests' started by Johar, May 18, 2018.

    
  1. Johar

    Johar Member


    I have created ledger under sundry debtors so when enter details in sales voucher and print the name & address comes now the problem start when the same we enter as purchases that particular ledger the tax invoice when printed it show our name instead of Party name now that i managed but Address comes in multiple lines image attached can anyone help to resolve the same.

    below is my coding but it is not working .......


    [Line : ABuyer]
    Field : Simple Field
    Local : Field : Simple Field : Set As : If ##SVVouchertype = "Sales - GST" then " M/s. " + $BuyerName Else " M/s. " + $PartyLedgerName
    Local : Field : Simple Field : Style : Normal Bold
    Local : Field : Simple Field : FullWidth : Yes
    [Line : ABuyAdd]
    Field : Simple Field
    Local : Field : Simple Field : Set As : If ##SVVouchertype = "Sales - GST" then $BuyerAddress Else $Address
    Local : Field : Simple Field : Style : Normal
    Local : Field : Simple Field : FullWidth : Yes
     

    Attached Files:



  2. HVPatel

    HVPatel Active Member


    You should try like this
    Code:
    Local : Field : Simple Field : Set As : If ##SVVouchertype = "Sales - GST" then $$FullList:Address:$BuyerAddress Else $$FullList:Address:$Address
    Regards
     


  3. Johar

    Johar Member


    This already tried its same no changes full address come in straight line does not split
     


  4. HVPatel

    HVPatel Active Member


    if you don't want Address in Single Line, than have to Add Repeat Line with Address Collection and Set as in your field only with MethodName
     


  5. Johar

    Johar Member


    Thanks HVPatel but this what i use is in printing invoice, when $BUYERADDRESS works it print it properly but $ADDRESS not work in print in one line but do not split like $BUYERADDRESS can any body suggest how to go about.
     


Share This Page