Skip to main content

I’m trying to set a default value for the Supplier Invoice Consideration list on the Inventory Part Page using BPA.

 

 

The BPA is able to set the note to Ignore Invoice Price, but is not able to put that value in the Supplier Invoice consideration

 

When adding execution.setVariable('InvoiceConsideration', 'Ignore Invoice Price');

and the variable in the ExportValue Section I get the following error 

 

InventoryPart/Form (server error)
Error while serializing contents.

 

see file (serializingBPA)

 

 

the field is present in the REST CALL response : 

….

    "TechnicalCoordinatorId": null,
    "InvoiceConsideration@odata.type": "#IfsApp.InventoryPartHandling.InvoiceConsideration",
    "InvoiceConsideration": null,
    "MaxActualCostUpdate@odata.type": "#Decimal",
    "MaxActualCostUpdate": null,

….

see file (defaultPartResponse.txt)

 

Thnak’s in advance for your help

In here InvoiceConsideration is an Enum value, so you need to use the correct key value to get the desired behavior.

 

 from the api docs you can get that value 

 

and in the workflow designer

 


That solved it for me thank’s

 

In here InvoiceConsideration is an Enum value, so you need to use the correct key value to get the desired behavior.

 

 from the api docs you can get that value 

 

and in the workflow designer

 

 


Reply