web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Using eConnect to import contracts always defaults to Estimate

(1) ShareShare
ReportReport
Posted on by 75,848 Moderator

The taPAContracts eConnect routine has a field called PASTAT which is the contract status of

1-Open

2-On Hold

3-Closed

4-Estimate

5-Closed

The default is Default from Setup. My question is where is setup defined? I do not see anything in GP that allows you to set the default contract status to Estimate. Is there such a setting? If so, where is it? If there is no such setting I will set it to 1 as I need all contract and projects to be set as Open.

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Using eConnect to import contracts always defaults to Estimate

    Do you need to insert the parts of a contract in a certain order? I reviewed my code and I see a note in there about PASTAT. Currently, I import in this order the contract, project, budget, fee schedules and fees. Does the importing of the contract need to occur last in order to set PASTAT to 1(Open)?

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Using eConnect to import contracts always defaults to Estimate

    Thanks, that make sense. If no value is passed it will use default values.

  • bgajjar Profile Picture
    150 on at
    RE: Using eConnect to import contracts always defaults to Estimate

    Hi Richard,

    The taPAContracts eConnect SP itself sets defaults to 4 if you do not pass value to @I_vPASTAT parameter. there is no setup in GP. so Yes you should pass 1 to @I_vPASTAT parameter.

    Thanks

    Bharat

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans