Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Sales User defined entry window

Posted on by 3,225

I am trying to add our tracking numbers to our invoices when printed.  We keep our tracking numbers in the User Defined: Sales User defined entry window in the SOP.  I am having a hard time figuring out what field that is called when in report writer. 

Thanks in advanced.

Katie

*This post is locked for comments

  • Katie Pieczynski Profile Picture
    Katie Pieczynski 3,225 on at
    RE: Sales User defined entry window

    Thank you!

    I will try that and let you know.

    Katie

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Sales User defined entry window

    I don't know how much you are used to of Report writer and working with Calculated fields. I am sharing screen shots to show how to select fields which creating Calculated fields. May be this helps you or anyone else.

    You have to go to calculated field definition window, name your calculated filed with type string. Select User Defined radio button and core sales and select the Function, press OK button will show this in Expression field.

    5488.4.png

    2664.2.png

    After that you have to select sop number and sop type fields. Now select fields menu and find Sales Transaction Amount Works table, select it, and then in fields drop down find sop number field.

    2664.3.png

    5488.4.png

    Hit Add button, Similarly add sop type field. Press OK and drag and drop your field to report.

    8103.5.png

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Sales User defined entry window

    no bill it's not like that to log off GP and login again to get ride of Calculated field error. :)

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    RE: Sales User defined entry window

    In the article the function should have spaces like this:

    FUNCTION_SCRIPT(rw_CreateSOPTrackingNumberString SOP_HDR_WORK.SOP Number SOP_HDR_WORK.SOP Type )

    Others in the community have had success:

    community.dynamics.com/.../281799

    Tim

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    RE: Sales User defined entry window

    The function creates a string containing the tracking number.

    Tim

  • Suggested answer
    Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: Sales User defined entry window

    Katie if you are getting that error it is possible that you will need to log off of GP and back in again to allow the modified report to be recognized by the system.

    Good on the tracking number as well.

  • Katie Pieczynski Profile Picture
    Katie Pieczynski 3,225 on at
    RE: Sales User defined entry window

    I did the trick, but when I went to print the invoice it gave me an error stating the calculated field was not valid.  I double checked and it shows exactly what was shown.  Bill - I do not need to create a tracking number, I just need to pull what is automatically put into the User Defined field by VShip. Thanks

  • Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: Sales User defined entry window

    Tim, I like the Tip and Trick - but does that function create a tracking number or pull the tracking number that the users enter in a User Defined field that is attached to the SOP document?

    Katie, if I missed what you are doing, and this is what you need - great and sorry for poking my nose into this.

    Hope to hear more.

  • Suggested answer
    Tim Foster Profile Picture
    Tim Foster 8,515 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans