Outstanding Receivable - Modify object

Discussion in 'Free Source Codes' started by vishal.jayswal09, May 22, 2021.

    

  1. Hello Team,

    How can I Modify the object from Outstanding Receivable Report.

    I tired but it gives an Error message "Invalid Primary Reference"

    Below is the code


    [#Form: Bills Outstanding]
    Add : Button : Modify Parent
    [#Report: Bills Receivable]
    Variable: SV Parent Name


    [Button : Modify Parent]
    Key : Alt+F4
    Title : $$LocaleString:"Change Parent"
    Action List : Accept Parent Name,Save Parent
    Mode : Display
    Scope : Selected

    [Button : Accept Parent Name]
    Key : Alt+F4
    Action : Alter : Accept Parent Name
    Mode : Display

    [Key : Save Parent]
    Key : Alt+F4
    Action : Modify Object : Narration : ##SVParentName
    Mode : Display
    Scope : Current



    [Report : Accept Parent Name] ;;Auto Report
    Auto : Yes
    Title : $$LocaleString:"Remarks"
    Form : Accept Parent Name

    [Form : Accept Parent Name]

    Background : @@SV_REPSTAT
    Parts : Accept Parent Name
    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 : "Remarks :"
    Local : Field : Name Field : Lines : 2
    Local : Field : Name Field : Max : 600
    Local : Field : Name Field : SetAs : $VoucherNumber
    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
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Modify Object --- is not a valid ATTRIBUTE for Key............Modify Object is used in Functions only.
     



  3. Hello Sir,

    when i tried in Day Book then it is working but it's not working in Receivable Report.

    Can you help me for that?

    Thank You
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In you code of DAYBOOK, which is working........

    Please comment the line containing......... Action : Modify Object ........and check if it is working.
     



  5. Hello Sir,

    When i comment that line, then it's not working.
     



  6. Hello Sir,

    Please help me for the same.
    Thank you
     


  7. balajimg

    balajimg Active Member


    you have used modify object, but where is the proper address or id of that object
    for eg :
    Modify Object : (Voucher, ##vVoucherId).ALLInventoryEntries[1].AccountingAllocations[1].VATStatutoryDetails[1].VATSupplierInvoiceNo : ##vAgreementNumber
     


Share This Page