Revive the field value

Discussion in 'Free Source Codes' started by vinayprasad.Dubai, Apr 29, 2019.

    

  1. How can i revive the Field value in the report

    Ex : We give Customer name in the Address field while passing the sales transaction by selecting cash customer ledger.

    Now i need the customers names in the Movement analysis how do i get.

    i tried to fetch below is my code please help me

    Code:
    ;; OM Ganapathaye Namaha !!!::::
    
    
    [#Part: STV ColVchTitle]
    
        Background: Red
        [#Line: STV ColVchTitle]
            ;Set as: "Address"
            ;Local           : Field : STV Party     : Set as: "NEW"
    [#Field: STV Fixed]
                Add: Fields: After: STV Party :NEW1
                Use         : Name Field
                Set as      : if NOT $$IsEmpty:##VoucherTypeName then $CurLangVoucherTypeName else @@STVPartyName
                Width       : 80
                Style       : Normal Bold
                Border      : Thin Left
           
    [#Field: STV Party]
       
        Width: 30
    
    
    [Field: NEW1]
       
    Set as      : "Address" ;if NOT $$IsEmpty:##VoucherTypeName then $CurLangVoucherTypeName else @@STVPartyName1
        Width: 20
    
    ;[#Field: STV Party]
    
              ;  Use         : Name Field
                ;Local   : Field : Name Field : Set as   : If NOT ($$IsSysNameEqual:Primary:##SVAddressToPrint OR $$IsEmpty:##SVAddressToPrint) Then $(Company, ##SVCurrentCompany).MultiAddressList[1, @@IsSameCmpAddrType].MailingName Else @@CmpMailName
            
              ;  Set as      : $Address:Ledger:##VchPartyLedAddress
               ; Width       : 18
              ;  Style       : Normal Bold
              ;  Border      : Thin Left
               
    [System: Formulae]
        STVPartyName1        : If @@TrackLedDSPAsName Then $Address Else +
                              If @@TrackLedDSPAsAlias Then @@STVPartyAlias Else +
                              If @@TrackLedDSPAsNameAlias Then @@STVPartyNameAlias Else +
                              If @@TrackLedDSPAsAliasName Then @@STVPartyAliasName Else $Address
    
    
    
    
    
    [Collection: Partyledger1]
    
        Type        : Address   : Ledger
        Child of    : #LedgerName
        Object         : StatePinDetail
        Fetch        : Address, Mailing Name
        Option        : GroupStatePin    : NOT $$IsEmpty:##GroupName
        
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Set as : $PartyName ...in Field : NEW
     



  3. upload_2019-4-30_7-59-20.png

    We provide party name in address Field

    upload_2019-4-30_7-59-28.png

    i need that address next to cash customer....
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    as per above screenshot, please press Shift+Enter or Alt+F1..... then the name will appear...........
     




  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member



  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    I am getting it...if you are not, then obviously despite the solution given, you must have done something wrong or implemented it wrongly.

    You are putting the name in the address field and not the name field.
     




  7. Yes As i said We are Entering the Name of the customer in the Address Field not in the name field so only i am trying to customize
     


  8. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    $$fulllist:address
     




  9. Jay kumar tailor

    Jay kumar tailor Well-Known Member



Share This Page