cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot map custom string field containing value in CIG Mapping tool

rshishmanyan
Discoverer
0 Kudos
436

Dear Experts,

I am struggling with mapping a custom field in AdvancePaymentExportRequest. Our customizations consultant has created a new custom field in the Advanced Payment creation in B&I UI which is for Tax Amount for the line items. Since I read the CustomMoney segment can't be mapped because it's a complex structure, we created a CustomString field which copies the value from the Amount field in the source, under the TaxAmount segment.

However, I cannot map the CustomString field properly - no value seems to be transferred to the outbound XML. Please see below example, I aim to copy the mapping of APMTTaxCodeExport and I want the value to be transferred for each line item.

Expected result:

  • example with custom field <CustomString name="APMTTaxCodeExport">V1</CustomString>

Actual:

  • Aim is to map the custom field <CustomString name="LineItemTaxAmountExport">128.26</CustomString>

in the same way as the APMTTaxCodeExport

Inbound XML:

Result (value is not mapped):

Steps taken to execute the mapping:

  1. Open the AdvancePaymentExportRequest custom mapping
  2. Duplicate the Item node within Extension2
  3. Create/replace node over item #2
  4. Create For-each over Item in source
  5. Drag the CustomString to Valuepart 2
  6. Add source condition over @name with value LineItemTaxAmountExport
  7. Add constant value LineItemTaxAmount over Valuepart1
  8. Add constant value ITEM over Structure

Please let me know what I am doing wrong.

Thank you!

Accepted Solutions (0)

Answers (0)