Required Transporter Name, GR No. etc.

Discussion in 'Free Source Codes' started by Rakesh Kumar, Dec 7, 2019.

    
  1. Rakesh Kumar

    Rakesh Kumar Member


    All the respected Experts,

    Please refer the below code, with the help of this code we can display & print "Lorry Number"
    in purchase columnar report. Also, I want to display Transporter Name, GR No. in Purchase Columnar
    Register. Please guide me little bit to do further.

    [#Part: VCHTitle2left]
    Option : MP VCHLorryNo :mad:@IsPurchase

    [!Part :MP VCHLorryNo]

    Add : Line:AtEnd:MP VCHLorryNo

    [Line : MP VCHLorryNo]

    Field : Medium Prompt,MP VCHLorryNo

    Local : Field:Medium Prompt:Info:"Lorry No.:"
    Local : Field:Medium Prompt:Width: 5% Page

    [Field : MP VCHLorryNo]
    Use : Name Field
    Set as : $MPVCHLorryNo
    Storage : MPVCHLorryNo
    Style : Normal
    Width : 7% Page

    [System : UDF]
    MPVCHLorryNo :String :365

    [#Part: CMP COLBasics]
    Add : Line:AtEnd: SMPShow RefDate

    [Line : SMPShow RefDate]
    Fields : Medium Prompt,SMPShow RefDate
    Local : Field : Medium Prompt : Info : $$LocaleString:""

    [Field: SMPShow RefDate]
    Use : Logical Field
    Modifies: MPShowLorryNo

    [Variable: MPShowLorryNo]

    Type : Logical
    Persistent : Yes

    [System : Variable]
    MPShowLorryNo:""


    [#Line : DSP ColVchTitle]


    Add : Fields : After : DBC VchNo : MP LorryNo

    Local : Field : Default : Style : Small Italic

    Local : Field : MP LorryNo : Set As : "Lorry No."

    [#Line : DSP ColVchDetail]

    Add : Field : After : DBC VchNo: MP LorryNo

    [Field : MP LorryNo]

    Use : Name Field
    SetAs : $MPVCHLorryNo
    Width : 13% Page
    Border : Thin Left
    Style : Small
    Invisible : NOT ##MPShowLorryNo


    [#Line : DSP ColVchTotal]
    Add : Field : After : DBC VchNo : MP PurchasesEmpty
    Local : Field : MP LorryNo : Invisible : Yes

    [Field : MP PurchasesEmpty]
    Use : Name Field
    SetAs : ""
    Width : 13% Page

    [#Collection : Columnar Filtered Vouchers of Company]
    Fetch : MPVCHLorryNo

    [#Collection: Columnar Vouchers of Ledgers]
    Fetch : MPVCHLorryNo

    upload_2019-12-7_19-12-17.png


    upload_2019-12-7_19-15-23.png
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Similar manner in which u r displaying Lorry Number.....
    same way you can add the other details..... what is the issue ???
     


Share This Page