Skip to Content
Product Information

Pay component sequence in Document Generation

Hello Team,

 

There is a certain pattern which pay component follows during the generation of the document. We have done massive testing, generated more than 50 documents and concluded the following.

 

Case 1 – When all the pay components are added in UI on a single transaction. (assuming there were no pay components in compensation portlet)

In this case, the pay component sequence in compensation portlet and pay component sequence in the generated document will be the same.

 

Example: Pay component 1 to Pay component 4 are newly added through UI and following is the sequence:

Pay Comp Sequence in Compensation portlet Pay Comp Sequence in the generated document
Pay Component 1 Pay Component 1
Pay Component 2 Pay Component 2
Pay Component 3 Pay Component 3
Pay Component 4 Pay Component 4

 

Case 2 – When we add more pay components in the above sequence through UI on a single transaction.

In this case, the newly added pay component from UI will be added on top of the sequence.

 

Example: Pay Component 5 and Pay Component 6 is newly added and following is the sequence. (Pay components in bold are newly added)

Pay Comp Sequence in Compensation portlet Pay Comp Sequence in the generated document
Pay Component 5 Pay Component 5
Pay Component 6 Pay Component 6
Pay Component 1 Pay Component 1
Pay Component 2 Pay Component 2
Pay Component 3 Pay Component 3
Pay Component 4 Pay Component 4

 

Case 3 – When we add further pay components in the above sequence through UI on a single transaction.

In this case, the pay components which were added in case 2 will be arranged at the bottom of the table and the newly added pay components will be on top of the table.

 

Example: Pay Component 7 and Pay Component 8 is newly added thus they will be on top of the table. Pay component 5 and Pay Component 6 which were added in case 2 will be arranged on the bottom of the table.

Pay Comp Sequence in Compensation portlet Pay Comp Sequence in generated document
Pay Component 7 Pay Component 7
Pay Component 8 Pay Component 8
Pay Component 1 Pay Component 1
Pay Component 2 Pay Component 2
Pay Component 3 Pay Component 3
Pay Component 4 Pay Component 4
Pay Component 5 Pay Component 5
Pay Component 6 Pay Component 6

 

This pattern continues while adding the pay components. The pattern does not change while editing the other fields like amount or frequency or currency.

Thus, my call here would be if customers’ needs a particular sequence of pay components, they need to full purge import the pay components. Once done, the sequence will be as per the creation date of pay components. After the full purge, the generated document will follow the sequence which is visible in UI. Practically, there are not many transactions on compensation portlet and pay components are added rarely. Thus, this would be one of the best ways to generate a document for a particular sequence of pay components.

 

Regards,

Dharmin

Be the first to leave a comment
You must be Logged on to comment or reply to a post.