Help : payment Audit trail records Complete code now (sales mein kaise banao )

Discussion in 'Free Source Codes' started by Sanjaykuindia, Apr 9, 2023.

    
  1. Sanjaykuindia

    Sanjaykuindia New Member


    item wise kuch bhi change ho koi delete ho kya value change ho to recode ho




    [#Part: VCHTitle2Right]

    Add: Line: After: VCHWeekDay : auditx1

    [Line: auditx1]

    Fields : Name Field,auditx1v,auditx2v
    Local : Field : Name Field : Info : "Date & Time of Voucher Entry/Edit: "
    Local : Field : Name Field : Color : "Red"
    ;Invisible : NOT ##TSPLSmpIsFromVchAltReport

    [Field: auditx1v]
    Type : Date Time
    Width : 20
    Max : 20
    Set as : Now
    Set Always : Yes
    Format : "24 hour,Short Date"
    Color : "Red"
    Align : Right
    Skip : Yes

    [Field: auditx2v]
    Type : name Field
    Set as : $$string:#VCHParticulars + " " + $$string:#vchdramt + " " + $$string:#vchcramt
    Set Always : Yes
    Skip : Yes

    [#Form: Payment Color]

    Add : On : Form Accept : Yes : Call : auditx1f:#auditx1v:#auditx2v



    [Function: auditx1f]

    Parameter : pDateTime : Date Time
    Parameter : pbilldate : string


    00 : Set Target
    10 : Insert Collection Object : auditx1Aggr
    20 : Set Value : auditx1v1 : ##pDateTime
    21 : Set Value : auditx1v2 : ##pbilldate
    30 : Accept Alter
    40 : Set Target : ..

    [System: UDF]

    auditx1Aggr : Aggregate : 21589
    auditx1v1 : Date Time : 21790
    auditx1v2 : string : 21791













    [#Menu: Gateway of Tally]
    Add : Item: 317 : display : auditreportr


    [Report: auditreportr]
    Title : "Voucher Edit Log"
    form : auditreportr

    [Form: auditreportr]
    Part : auditreportr
    Button : Change Period, Print Button
    Height : 100% Page
    Width : 100% Page

    [Part: auditreportr]
    Line : auditreportTitle, auditreportlog
    Repeat : auditreportlog : auditreportcoll
    Scroll : Vertical

    [Line: auditreportTitle]
    Use : auditreportlog
    Delete : Explode
    Local : Field : Default : Type : String
    Local : Field : Default : Align : Center
    Local : Field : Default : Style : Normal Bold
    Local : Field : DSPVchDate : Info : "Date"
    Local : Field : DSPVchType : Info : "Voucher Type Name"
    Local : Field : DSPVchNumber : Info : "Voucher Number"
    Border : Thin Top Bottom

    [Line: auditreportlog]
    Fields : DSPVchDate, DSPVchMasterID
    Right Fields : DSPVchType, DSPVchNumber
    Local : Field : DSP VchMasterID : Variable : VoucherID
    Local : Field : Default : Width : 25% page
    Local : Field : Default : Align : Center
    Explode : auditreport : NOT $$IsEmpty:$auditx1Aggr[1].auditx1v1
    Space Top : 1

    [Part: auditreport]
    Lines : auditreport, auditreportVal
    Repeat : auditreportVal : auditx1Aggr
    Scroll : Vertical
    Local : Field : Default : Style : Normal Italic

    [Line: auditreport]
    Field : Medium Prompt
    Local : Field : Medium Prompt : Set as : "Alteration History :"
    Local : Field : Medium Prompt : Align : Center
    Space Top : 0.5

    [Line: auditreportVal]
    Field : Medium Prompt , auditx1f2
    Local : Field : Medium Prompt : Set as : $auditx1v1
    Local : Field : Medium Prompt : Align : Center

    [Field: auditx1f2]
    Type : String
    Set Always : Yes
    Color : "Red"
    Align : Right
    Skip : Yes
    set as : $auditx1v2


    [Collection: auditreportcoll]

    Type : Vouchers : VoucherType
    Child Of: $$VchTypePayment
    Fetch : auditx1Aggr.*
    Filter : auditx1filter

    [System: Formula]

    auditx1filter : NOT $$IsEmpty:$auditx1Aggr[1].auditx1v1
     


Share This Page