Showing results for 
Search instead for 
Did you mean: 

How to Add/Update the Project Stages using SAP B1 DI-API Service with B1 Integration Framework

0 Kudos


I want to ADD new Stages into an existing Project and also Update existed Stages information in Project Management using SAP Business One DI-API Service with B1 Integration Framework.

This is code I'm using for ADD/UPDATE Stages:

<Action autoCommit="false" DIServiceName="ProjectManagementService" update="updateProject" get="getProject" add="addProject" throwException="false">update</Action>

<xsl:element name="PM_ProjectDocumentParams">
<xsl:element name="AbsEntry">109</xsl:element>
<ProjectName>update project trow service call</ProjectName>

Working with above mentioned code, I'm facing an issue, If I want to update the 3rd LineId related Description filed, then all the stages data get removed, Description updated into LineId 1 and also POS field get changed with new increment number.

I don't want to modify the existed POS information.

Could you please someone suggest, Am I missing anything? Can someone provide the payload structure of xatom and steps.


Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi ankit chauhan,

Here mainly I'm facing an issue, while I'm updating the project Stages data, then the PMG1.POS field gets changed with new increment numbers.

This POS field value changing causes an issue, because, when we create Activity with selecting a row in the project stage, PMG1.POS field value link into the PMG6 table as StageId.

So, I don't want to modify the existed POS information.

Could you please check the issue.