cancel
Showing results for 
Search instead for 
Did you mean: 

DI API oCreditNote change BOM child warehouse V8.8

Former Member
0 Kudos

In the DI API, how do I change a child BOM/kit to the same warehouse as the parent if i am using a warehouse other then the default warehouse the BOM is configured with?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201110
Active Contributor
0 Kudos

Hi Graham,

The trick I normally use when I want to amend BOM components is to save the document first as a draft. You can then edit the component items and add the document as a full credit note.

Kind Regards,

Owen

Former Member
0 Kudos

Do you simply use an oDraft or is there a document for oCreditNote drafts?

former_member201110
Active Contributor
0 Kudos

Hi Graham,

All marketing documents use the same drafts object in the DI API but there is a property called DocObjectCode that you need to set to the appropriate value for the type of document you are using (eg 14 for AR credit).

Kind Regards,

Owen

Former Member
0 Kudos

that make sense, thx Graham