Skip to Content
author's profile photo Former Member
Former Member

Add a button on the Stocktaking folder/tab

Hi all,

I have managed to add a button via sdk to the Stock Opening Balances, Stocktaking and Stock Posting system form in version 8.82.

Problem I have encountered is the button appears on all the tabs.

Is there a way I can have he button only appear on the Stocktaking tab/folder and not the other two tabs/folders (ie, Stock Opening Balances and Stock Posting)

Thanks in advance,

Brian

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Sep 24, 2013 at 07:47 AM

    Hi Brian,

    Can you explain in brief where this option comes. ? But I am sure that you have to set the Pane Level Property of Folder/Tab to get the desired results.

    Thanks

    Ankit Chauhan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 24, 2013 at 07:49 AM

    Hi Brian,

    You can change the FromPane and ToPane property of the button. Check the pane of the corresponding tab by using the View->System Information in B1, then hover over an item that is on the tab you wish to place your button.

    Then set that number as the FromPane and ToPane property of the item (button):

    Item oItem = oForm.Items.Item("my_button_id");

    oItem.FromPane = <the_pane_number>;

    oItem.ToPane = <the_pane_number>;

    Good luck.


    Best regards,

    Pedro Magueija


    View Pedro Magueija's profile on LinkedIn

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2013 at 07:57 AM

    Thanks for the prompt responses.

    The pane for all the folders is actually 1 in this system form. If I set the from and to panes to another number aside from 1, the button is not displayed.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2013 at 07:19 AM

    Hi,

    Does anyone have any ideas on how I can achieve this? I have run out of ideas. Even tried to set visibility to false on the tabs but no luck.

    Thinking I just create a form for this although the client would prefer it on that system form.

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.