Fetch value in print issue

Discussion in 'Free Source Codes' started by Rohit001, May 12, 2020.

         
  1. Rohit001

    Rohit001 Member


    Please help sir...my code is here...
    I want to fetch thr value in discount column..value not fetch please help

    [#Part: EI BaseInfo]

    Option: HPSalesmanName: $$IsSales:##SVVoucherType or $$IsPurchase:##SVVoucherType OR $$IsCreditNote:##SVVoucherType

    [!Part: HPSalesmanName]
    Add: Line:At End: HPSalesmanName

    [Line: HPSalesmanName]

    Add: Field: HPSalesmanNameTitle
    Add: Field: VCHSalesmanName

    [Field: HPSalesmanNameTitle]
    Info : "Discount:"
    Width: 16




    [Field: VCHSalesmanName]
    Use : Number Field
    Width : @@VCHDiscountWidth
    Align : Right
    Style : Normal Bold
    Set as:""
    Storage : disc
    Set always : Yes
    Format : "NoZero,Percentage"

    [System:UDF]
    disc:Number:3005
    [#Field: EXPINV Discount]

    Use : Number Field
    Set as : $disc:Ledger:$BASICBUYERNAME
    Align : Right
    Style : Small
    Width : 5
    Border : Thin Left
    Format : "NoZero,Percentage"
     


  2. Sanjeev S

    Sanjeev S Member


    Try this ........


    Code:
    [#Part: EI BaseInfo]
    
    Option: HPSalesmanName: $$IsSales:##SVVoucherType or $$IsPurchase:##SVVoucherType OR $$IsCreditNote:##SVVoucherType
    
    [!Part: HPSalesmanName]
    Add: Line:At End: HPSalesmanName
    
    [Line: HPSalesmanName]
    
    Add: Field: HPSalesmanNameTitle
    Add: Field: VCHSalesmanName
    
    [Field: HPSalesmanNameTitle]
    Info : "Discount:"
    Width: 16
    
    
    
    
    [Field: VCHSalesmanName]
    Use : Number Field
    Width : @@VCHDiscountWidth
    Align : Right
    Style : Normal Bold
    ;Set as:""
    Storage : disc
    Set always : Yes
    Format : "NoZero,Percentage"
    
    [System:UDF]
    disc:Number:3005
    
    [#Field: VCH Discount]
    
    Option    :    VCH Salesman Disc    :    not $$IsEmpty:#VCHSalesmanName and (not ($IsBatchWiseOn OR $$IsMultiGodownOn))
    
    [!Field    :    VCH Salesman Disc]
    Set as : #VCHSalesmanName   
    [#Field: VCH Batch Discount]
    Option    :    VCH Salesman BDisc    :    not $$IsEmpty:#VCHSalesmanName
    
    [!Field    :    VCH Salesman BDisc]
    Set as : #VCHSalesmanName
    
     


Share This Page