on 2021 Sep 06 5:07 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.