Do you have feedback on our new interface?
Do you have feedback on our new interface? Let us know HERE
Highlighted
Viesha Contributor.
Contributor.
255 views

Dublicate Line Item

Jump to solution

Hi,
From time to time there is a problem where Line Items are getting dublicate number.
Example:
Servicedesk operator 1 creates an Interaction with Quote and Line Item (-001).
Then same operator 1 creates new LI (-002) and assignes to other assignment group.

In the other assignment gorup operator 2 also creates new LI, but instead of -003 it creates -002. 

This does not happen all the time, but for 2 out of ~ 15 cases.

Any clues?

Sorry, if this topic has already been covered. Couldn't find it in older posts.

0 Likes
1 Solution

Accepted Solutions
Carlos_V_SM Acclaimed Contributor.
Acclaimed Contributor.

Re: Dublicate Line Item

Jump to solution

Hi Viesha,

Hope you are doing fine.

It is correct, it was already reported, please take a look on the link below, there is a workaround you can try:

https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM01179571

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
4 Replies
Carlos_V_SM Acclaimed Contributor.
Acclaimed Contributor.

Re: Dublicate Line Item

Jump to solution

Hi Viesha,

Hope you are doing fine.

It is correct, it was already reported, please take a look on the link below, there is a workaround you can try:

https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM01179571

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Viesha Contributor.
Contributor.

Re: Dublicate Line Item

Jump to solution

Hmm, when I am trying to access link that you posted, it gives me message:
You don't have permission

Am I missing some access here?

0 Likes
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: Dublicate Line Item

Jump to solution

Workaround

1. Open Process "rml.open"

2. Add two lines before RAD "rml.open"

js("vars.$L_line_item_count=new SCFile('ocml').doCount('parent.quote=\""+number in $L.parent+"\"');")

if ($L.line.item.count>total.line.items in $L.parent) then (total.line.items in $L.parent=$L.line.item.count)

Result:

1. The user will not get the duplicated key issue any more. And following "dulicated key" error will not displayed.

The record being added contains a duplicate key (add.update.todo.records,add.todo.record)
file:(Todo) key:(record.id=Q1001-003,itemType=ocml) (add.update.todo.records,add.todo.record)

2. The user will still get following issue since the parent has been updated by another session

The record being updated has been modified since read (rml.open,update.parent.1)

file:(ocmq) key:(number=Q1001) (rml.open,update.parent.1)

Unrecoverable error in application:  se.call.process on panel call.rad.1

Unrecoverable error in application:  rml.open.from.components on panel call.open

Unrecoverable error in application:  se.call.process on panel call.rad.1

Unrecoverable error in application:  rml.open on panel update.parent.1
0 Likes
Viesha Contributor.
Contributor.

Re: Dublicate Line Item

Jump to solution

Thank you for the help.
It turned out to be just dublicate record in Master Category (Quote category were copied and made as Master with Availability Cond. set same as for the original).

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.