Site Search:
Sign in | Join | Help

can't populate value to [AccountNumberString] field.

Last post 04-02-2008 7:10 PM by jcc273. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-27-2008 8:23 PM

    can't populate value to [AccountNumberString] field.

     Hi here,

    I am using Visual Studio Tool to do integration with Ms Dynamic GP 10.0.

    My problem is, in side [Dynamics.Forms.PmTransactionEntryDistribution.PmTransactionEntryDistribution.DistributionScroll]
    I try to populate value of [AccountNumberString] field by using the following code:
    AccountNumberString.Value = "400-652-000";

    but I still not see this string in the Account column. Anyone could help me out please.

    Thank you

    Tola
     

    PS: One more thing, anyone know how to populate multiple rows? 

    • 67.131.46.122
  • 03-28-2008 3:01 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

    http://vstoolsforum.com/forums/p/434/935.aspx#935

    http://vstoolsforum.com/forums/p/191/419.aspx#419

    I can't give you a good answer, but it's an answer. The issue with the 'linescroll' is that Dynamics holds the data in a spot where you can't see it - in the form. I usually don't even mess with it. I usually try to insert the data with the form closed... then open the form.

    Sorry I can't be of more help. Maybe they'll expose the record set in v11

    Fargo, are you listening?

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.137.9
  • 03-28-2008 3:12 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

    Well, thank you very much  Fargo.

    I apreciated your answer.

    Tola 

    • 67.131.46.122
  • 03-28-2008 3:30 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

     Hi Fargo,

    I am very interested your solution, that you can insert data to Account field when Form closed.
    I wonder if you can tell me clearer about how to do this?

    Thank you very much. I am very apreciated your help.

    Tola
     

    • 67.131.46.122
  • 03-28-2008 5:38 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

    You can use econnect to send lots of kinds of data to Dynamics... that's how I do it. I can't teach you how to use eConnect here, but if you can get started I'll help you with questions

     

    PS, I'm not Fargo, I'm Steve. Fargo is the town where the Dynamics people live.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.137.9
  • 03-28-2008 7:00 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

    Ha Haa hAa, I am sorry that I confuse your name. Stick out tongue  shame on me.

    Once again that I want to make sure. Does eConnect can populate to data to the ScrollingWindow?

    Thank a lot, man.

    Tola 

    • 67.131.46.122
  • 03-29-2008 10:10 AM In reply to

    Re: can't populate value to [AccountNumberString] field.

    There is no good way to populate scrolling windows. The issue is that Dynamics runs code behind the fields and thay they hold the field values in some sort of record set *in the form* that you can't get to - it's not exposed. For instance, in the SOP Transaction Entry window if you populate the quantity field, they want to look at the unit price field and update the extended price. You don't have access to all that code.

    Some times what I want to do works, sometimes it doesn't. Depends on the form and the field.

    You're 100% sure if you *close the form* and insert the data using eConnect.

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 71.100.137.9
  • 04-02-2008 7:10 PM In reply to

    Re: can't populate value to [AccountNumberString] field.

    Linescrolls are a big pain in my you know what.  The only way i was able to populate a linescroll in the receivings transaction window (the one i was having trouble with in a previous post) was to first populate the RCPT number Batch id customer id and insert a row into the linescroll and then put the information of my first item in.  The only way i could find to then enter a second item was to runvalidate on the save button then reenter the rcpt number and runvalidate and the order is then brought up again.  You can then insert another item into the linescroll.  You have to continue saving and recalling the order between each successive item.  a round-about way but it works.  the problem seems to be that you can't force it to update and validate all the data in the linescroll without clicking on it with your mouse, so saving forces this and then on the recall it is then ready for a new item.

     

    -Jarrod

    • 128.118.158.32
Page 1 of 1 (8 items)