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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Project Accounting Employee Expense import using Integration Manager

(0) ShareShare
ReportReport
Posted on by 35

Trying to setup a Project Accounting Employee Expense import using Integration Manager.

This is regarding Dynamics GP 2013 (SP1) and Integration Manager 12.00.1488

Been having an unexpected problem with that however, so I’m testing using the sample integration with the sample company.

For some reason, the sample integration didn’t have its fields mapped, so I did that.  Pretty straight forward more or less, but if you need more detail on the mappings I'll happily provide that.

Getting an error that the employees are not setup as vendors.  Checked that, and things look OK.  I was even able to enter an employee expense by hand, and it worked OK.

The Integration Manager error report:

Opening source query...
Establishing source record count...
Beginning integration...
DOC 1 ERROR: Sql procedure error codes returned:

Error Number = 1914 Stored Procedure= taPAEmpExpenseLineInsert Error Description = Employee is not setup as a Vendor
Node Identifier Parameters: taPAEmpExpenseLineInsert
PAerdocnumber = EE000000000000001
LNITMSEQ = 49152
Related Error Code Parameters for Node : taPAEmpExpenseLineInsert
EMPLOYID = BARB0001


<taPAEmpExpenseLineInsert>
<PAertrxtype>1</PAertrxtype>
<PAerdocnumber>EE000000000000001</PAerdocnumber>
<EMPLOYID>BARB0001</EMPLOYID>
<PADT>4/12/2017</PADT>
<PAPROJNUMBER>HOTELEDGER</PAPROJNUMBER>
<PACOSTCATID>ALLOWANCE</PACOSTCATID>
<CURNCYID>Z-US$</CURNCYID>
<LNITMSEQ>49152</LNITMSEQ>
<PAitemnumber>Meal Expenses</PAitemnumber>
<PAREFNO></PAREFNO>
<PAQtyQ>3.00000</PAQtyQ>
<PAUnit_of_Measure>EACH</PAUnit_of_Measure>
<UOMSCHDL></UOMSCHDL>
<PAUNITCOST>25.00000</PAUNITCOST>
<PAPurchase_Tax_Options>3</PAPurchase_Tax_Options>
<ITMTSHID></ITMTSHID>
<TAXAMNT></TAXAMNT>
<BCKTXAMT></BCKTXAMT>
<PAPaymentMethod></PAPaymentMethod>
<PAExpenseType></PAExpenseType>
<PAReference_Line_Seq_N></PAReference_Line_Seq_N>
<PAbllngtype>1</PAbllngtype>
<RequesterTrx>0</RequesterTrx>
</taPAEmpExpenseLineInsert>

DOC 2 ERROR: Sql procedure error codes returned:

Error Number = 1914 Stored Procedure= taPAEmpExpenseLineInsert Error Description = Employee is not setup as a Vendor
Node Identifier Parameters: taPAEmpExpenseLineInsert
PAerdocnumber = EE000000000000002
LNITMSEQ = 49152
Related Error Code Parameters for Node : taPAEmpExpenseLineInsert
EMPLOYID = BARR0001


<taPAEmpExpenseLineInsert>
<PAertrxtype>1</PAertrxtype>
<PAerdocnumber>EE000000000000002</PAerdocnumber>
<EMPLOYID>BARR0001</EMPLOYID>
<PADT>4/12/2017</PADT>
<PAPROJNUMBER>HOTELEDGER</PAPROJNUMBER>
<PACOSTCATID>ALLOWANCE</PACOSTCATID>
<CURNCYID>Z-US$</CURNCYID>
<LNITMSEQ>49152</LNITMSEQ>
<PAitemnumber>Meal Expenses</PAitemnumber>
<PAREFNO></PAREFNO>
<PAQtyQ>3.00000</PAQtyQ>
<PAUnit_of_Measure>EACH</PAUnit_of_Measure>
<UOMSCHDL></UOMSCHDL>
<PAUNITCOST>30.00000</PAUNITCOST>
<PAPurchase_Tax_Options>3</PAPurchase_Tax_Options>
<ITMTSHID></ITMTSHID>
<TAXAMNT></TAXAMNT>
<BCKTXAMT></BCKTXAMT>
<PAPaymentMethod></PAPaymentMethod>
<PAExpenseType></PAExpenseType>
<PAReference_Line_Seq_N></PAReference_Line_Seq_N>
<PAbllngtype>1</PAbllngtype>
<RequesterTrx>0</RequesterTrx>
</taPAEmpExpenseLineInsert>

DOC 3 ERROR: Sql procedure error codes returned:

Error Number = 1914 Stored Procedure= taPAEmpExpenseLineInsert Error Description = Employee is not setup as a Vendor
Node Identifier Parameters: taPAEmpExpenseLineInsert
PAerdocnumber = EE000000000000003
LNITMSEQ = 49152
Related Error Code Parameters for Node : taPAEmpExpenseLineInsert
EMPLOYID = BONI0001


<taPAEmpExpenseLineInsert>
<PAertrxtype>1</PAertrxtype>
<PAerdocnumber>EE000000000000003</PAerdocnumber>
<EMPLOYID>BONI0001</EMPLOYID>
<PADT>4/12/2017</PADT>
<PAPROJNUMBER>HOTELEDGER</PAPROJNUMBER>
<PACOSTCATID>ALLOWANCE</PACOSTCATID>
<CURNCYID>Z-US$</CURNCYID>
<LNITMSEQ>49152</LNITMSEQ>
<PAitemnumber>Meal Expenses</PAitemnumber>
<PAREFNO></PAREFNO>
<PAQtyQ>2.00000</PAQtyQ>
<PAUnit_of_Measure>EACH</PAUnit_of_Measure>
<UOMSCHDL></UOMSCHDL>
<PAUNITCOST>25.00000</PAUNITCOST>
<PAPurchase_Tax_Options>3</PAPurchase_Tax_Options>
<ITMTSHID></ITMTSHID>
<TAXAMNT></TAXAMNT>
<BCKTXAMT></BCKTXAMT>
<PAPaymentMethod></PAPaymentMethod>
<PAExpenseType></PAExpenseType>
<PAReference_Line_Seq_N></PAReference_Line_Seq_N>
<PAbllngtype>1</PAbllngtype>
<RequesterTrx>0</RequesterTrx>
</taPAEmpExpenseLineInsert>

Integration Failed
Integration Results
3 documents were read from the source query.
3 documents were attempted:
0 integrated without warnings.
0 integrated with warnings.
3 failed to integrate.

A Successful expense entry using one of the employees.

Any idea on why integration manager is rejecting these employee id's?

p.s. The real reason behind this is that I'm running into a problem with a "real" integration and want to troubleshoot by testing the most basic things first.  And first I need a properly working integration into the sample company.

*This post is locked for comments

I have the same question (0)
  • Zhigang Lu Profile Picture
    795 on at

    In your vendor master, do you have vendor ID BARB0001? In Employee Maintenance window, click Project button, please check if Files Employee Expense is marked.

  • Shawn Sabbini Profile Picture
    35 on at

    Specifically to answer your questions:

    BARB0001 is in the vendor master:

    BARB0001-Employee-_2D00_-Project.PNG

    And Files Employee Expense is marked:

    This is a fresh copy of the sample company, installed for testing this specifically.  Anyone should be able to re-produce this situation with a fresh copy of Fabrikam / TWO  and the sample integration from a fresh installation of Integration Manager.  Though you too will need to setup the integration mappings I expect.

    Also, remember I was able to enter an employee expense report for this employee through the GP User Interface (by hand) without issue.

    It would be very interesting if someone else also attempted the same sample integration (Project Accounting Employee Expenses)  to the sample company and reported their results.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans