Hi Guys, I'm trying to set the `createdfrom` fiel...
# csvimports
i
Hi Guys, I'm trying to set the
createdfrom
field for credit memo when uploading CSV. I mapped the invoice internal Id (or external) Id to the
Apply:Apply
. See mapping attached However, although I can see the value in the
credit memos list view
, I cannot see it in the credit memo itself, nor in the print pdf. see attached screenshots. In addition, the field not visible when getting it using GET rest api. Looks like the value of
Apply:Apply
is not stored in the
createdfrom
field. Am I missing something?
j
That's a native field that gets set automatically by whoever actually created the transaction. So if you're doing the CSV import, your user record is going to be the one in that field. IIRC you can't manually set that field, so if you need a value that you can set, you're going to need to create your own custom field that mimics the behavior you need.
i
Thanks for your reply. I will go with this option. Hopefully I will be able to relate the credit memo to the invoice as done with the native field