PROBLEM IN PURCHASE COST COLLECTION

Discussion in 'Free Source Codes' started by harbansh, Mar 18, 2017.

    
  1. harbansh

    harbansh Active Member


    Dear Experts,
    Please help me in this tdl we are not able get purchase cost list in invoice mode.
    It is coming but item wise is not change
    first item purchase cost is coming same in all other item also.
    i try but not get success.


    Code:
    [#Line: EI InvInfo]
    Fields      : EI DeemedPos, VCH StockItem
    Right Fields: PurchaseListTable,VCH ActualQty, VCH BilledQty, VCH Rate, VCH RateUnit, VCH PrevItem, VCH Discount, VCH Value
    
    
    [Field:PurchaseListTable]
    Storage : PurchaseListRateStorage
    Width    : 20
    Use         : Name Field
    Table       :StdPurCostn, Not Applicable
    Show Table  : Always
    border : thin Cover
    Set Always: Yes
    
    [Collection: StdPurCostn]
    Type            : Standard Cost List    : StockItem
    Child Of     : $$ReqObject:$stockItemName
    Fetch         : rate,date
    Format     : $rate,20
    Format     : $date,20
    
    
    
    [Field: VCH PO TITLE]
    Use         : Name Title Field
    Width       : 20
    Set as      : $$LocaleString:"Purchase Rate List"
    Style       : Normal Bold
    
    
    [#Line: EI ColumnOne]
    Fields      : VCH ItemTitle
    Right Fields: VCH PO TITLE,VCH QtyTitle, VCH RateTitle, VCH RateUnitsTitle, VCH DiscTitle, VCH AmtTitle
    
    [System: UDF]
    PurchaseListRateStorage                :String        : 1126
    
    
     

    Attached Files:



  2. harbansh

    harbansh Active Member


    Reminder.
     
    SURENRA likes this.


  3. JPS Gujral

    JPS Gujral New Member


    DID u get any solution for the problem?
     





  4. Try this dynamic keyword in field level

    [Field:purchaseListTable]
    Dynamic : ""
     


  5. jaykay

    jaykay New Member


    I Know u r very good expert in tdl program development. I saw u many more and also u gave lot of resolution to so many developers.
    Now I've one tdl I want to have existing narration in the blank filed. Now it displays blank field.
    pls correct it sir.
     


  6. jaykay

    jaykay New Member


    Now I've one tdl I want to have existing narration in the blank field When I want to change the narration. Now it displays blank field. But I need that already typed narration in the field.

    pls correct it sir.

    Here the Coding:-
    ;********************Change Narration**************************;
    [#Form : NRM Ledger Outstandings]
    Add : Button : Modify Parent,Modify Voucher
    [#Form : DayBook]
    Add : Button : Modify Parent,Modify Voucher
    [#Form: Ledger Vouchers]
    Add : Button : Modify Parent,Modify Voucher
    [#Report : DayBook]
    Variable: SV Parent Name
    [#Report : Ledger Vouchers]
    Variable: SV Parent Name
    [#Report : DayBook]
    Variable: SV Voucher
    [#Report : Ledger Vouchers]
    Variable: SV Voucher
    [Line: Accept Voucher Type Name]
    Fields : Simple Prompt
    Right Fields: Name Field
    Local : Field : Simple Prompt : Set as : "Parent :"
    Local : Field : Name Field : Variable : SVVoucher
    Local : Field : Name Field : Modifies : SVVoucher
    Local : Field : Name Field : Table : Voucher Type
    Local : Field : Name Field : Show Table: Always
    Space Top : 1
    [Button : Modify Parent]
    Key : Alt + N
    Title : $$LocaleString:"Change Narration"
    Action List : Accept Parent Name,Save Parent
    Mode : Display
    [Button : Accept Parent Name]
    Key : Alt + N
    Action : Alter : Accept Parent Name
    Mode : Display
    [Key : Save Parent]
    Key : Alt + N
    Action : Modify Object : Narration : ##SVParentName
    Mode : Display
    [Report : Accept Parent Name] ;;Auto Report
    Auto : Yes
    Title : $$LocaleString:"Multi Line Change Narration"
    Form : Accept Parent Name
    [Form : Accept Parent Name]
    width : 30% Screen
    Height : 20% Screen
    Parts : Accept Parent Name
    Bottom Part:smsMark122
    Space Bottom : 1
    Full Width : No
    Full Height : No
    Horizontal Align: Centre
    Vertical Align : Centre
    Option : Small Size Form
    Space Top : 1
    [Part : Accept Parent Name]
    Line : Accept Parent Name
    [Line : Accept Parent Name]
    Field : Simple Prompt
    Right Field : Name Field
    Local : Field : Simple Prompt : Set as : "Change Narration As :"
    Local : Field : Name Field : Lines : 2
    Local : Field : Name Field : Max : 600
    Local : Field : Name Field : SetAs : Ch. No. :
    Local : Field : Name Field : Variable : SVParentName
    Local : Field : Name Field : Modifies : SVParentName
    Local : Field : Name Field : Show Table: Always
    Space Top : 1
    [Variable : SV Parent Name]
    Type : String
    [Variable: SVVoucher]
    Type : String
    [Part:smsMark122]
    Line:smsMarkLn122

    [Line:smsMarkLn122]
    Field:smsMarkFld122

    [Field:smsMarkFld122]
    Use:Name Field
    Set as:"Jay Kay"
    Full Width:Yes
    Align:Center
    Color:"Blue"
    Style:sms008
    Border:Thin Bottom
    Read Only:Yes
    Skip Forward:Yes

    [Style:sms008]
    Font:"Times New Roman"
    Height:12
     

    Attached Files:



Share This Page