Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

How to update expense line in expense report through data management

Posted on by 216
Hi,
 
We want to update the payment method of an expense line in expense reports as it was left blank while importing the expense. Without the payment method, we are unable to post this expense. Since payment method field is disabled on the screen, it cannot be edited from the screen directly. We tried importing the expense line again using data management to update the payment method of that expense. After putting the required value in the payment method field in excel, when we tried to import it, we received the following error.
While trying to import one expense line using data import export framework, I am receiving the below error:
 
Error occurred while doing bulk copy from temp table to entity table
<?xml version=/1.0/?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>OLE DB Destination [322]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: /Microsoft SQL Server Native Client 11.0/  Hresult: 0x80004005  Description: /NEXT VALUE FOR function cannot be used if ROWCOUNT option has been set, or the query contains TOP or OFFSET./.
</Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>OLE DB Destination [322]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The /OLE DB Destination.Inputs[OLE DB Destination Input]/ failed because error code 0xC020907B occurred, and the error row disposition on /OLE DB Destination.Inputs[OLE DB Destination Input]/ specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
</Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component /OLE DB Destination/ (322) failed with error code 0xC0209029 while processing input /OLE DB Destination Input/ (335). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
</Description></Error></Errors>
 
I have created an import project and trying to import expense line using excel. Please help on how to resolve it.
The payment method of one of the expense line is /draft/ and I want to update it to /Approved/.
Thanks!

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans