cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CCO Plugin : Additional Fields

former_member12197
Participant
0 Kudos
526

Hi all,

I'm developing a a plugin which needs to save additional information (6 ~ 9 fields/columns) of the receipt to the local DB and to the manager.
So I thought if I use it's own Additional Fields Entity since cco manager receives the additional fields information, then I might not need to do all the additional jobs like "saving it locally in extra table and sync it to the extra table in manager server".
Then when I try to do anything with Additional Fields, I'm stuck.

recept.getAdditionalField("DDTD") return null,
receipt.getAdditionalFields returns null.

where do I start? Please, help me.

Thank you.

View Entire Topic
Klaus_Frick
Active Participant

Hello baigalmaa

You have to add an AdditionalField by your Plugin.

AdditionalFieldEntity addFldItem = new AdditionalFieldEntity();
addFldItem.setFieldName("DDTD");
addFldItem.setValue("FieldValue");
receipt.addAdditionalField(addFldItem);

Regards
Klaus

former_member12197
Participant
0 Kudos

thank you ! ❤️