Insert a New Value Entries

Hi Experts,

I’m currently working on a development task related to Purchase Orders. When posting an invoice from the Purchase Order, we typically generate Value Entries for both Direct and Indirect Costs.

I need to insert an additional Value Entry (Custom) as an Indirect Cost during the Invoice Posting process. This entry is specifically for a “Duty Cost.” Unfortunately, I cannot use the Standard Indirect Cost option, as it’s already in use for another purpose. Therefore, I need to create a new line for this additional Indirect Cost.

I would appreciate any suggestions or guidance you can provide.

Thanks in advance.