Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

PA Employee Option Schema

(0) ShareShare
ReportReport
Posted on by 40

Hi, I'm trying to create an employee using eConnect. There are options in the Project tab from the employee window that I do not know how to set.

Which xml Node refers to the PA Employee Options windows in GP?

The specific fields I'm looking to set are ProfitType for TM, Markup Percent for TM, and Percentage of Actual Cost.

pastedimage1581451129153v2.png

thanks in advance.

Categories:
  • Verified answer
    Isaac Olson Profile Picture
    on at
    RE: PA Employee Option Schema

    Hello,

    In reviewing the eConnect Programmers guide, there is not a node that will update this information by default.  You would have to use the 5 developer fields to pass in this information, then in the taCreateEmployeePost.sql stored procedure, you could write an insert statement for the PA00601 for this employee and use the developer fields to pass in the values that you wish for each field that you listed, and hard code the remaining fields with their defaults.  

    @I_vUSRDEFND1 char(50) = '', /* User Defined field - developer use only */

    @I_vUSRDEFND2 char(50) = '', /* User Defined field - developer use only */

    @I_vUSRDEFND3 char(50) = '', /* User Defined field - developer use only */

    @I_vUSRDEFND4 varchar(8000) = '', /* User Defined field - developer use only */

    @I_vUSRDEFND5 varchar(8000) = '', /* User Defined field - developer use only */

    For example, below in my insert i used the employee id variable from the eConnect Stored Procedure, and you could replace any of the hard coded values below with your deveoper fields for user defined 1-5 for your desired changes to the project window for the employee.

    insert into PA00601 Values(

    @I_vEMPLOYID, 0, 0, 0, 0, 0,

    1, '', '', 0, '', '',

    0, '1900-01-01', '1900-01-01', 0, 0, 0,

    'Hour', 0, 1, 0, 0, 0, 3,

    0, 0, 3, 0, 0, '',

    0, 0, 0, '', '', 0)

    I hope this at least gets you started in the right direction.

    Thanks!

    Isaac Olson

    Microsoft Support

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,206 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans