Skip to main content

overwriteAccountingVendorFromExternal

Replaces every field on the endless-owned accounting vendor with the values currently held for the connected provider's copy of it.

This reads the provider projection Endless already holds; it does not call the provider. Run an import to refresh that projection first.

Business Rules​

  • The supplier must already be linked to a provider vendor in this integration.
  • Applies regardless of the integration's accounting_source_of_truth setting. That setting governs whether imports may overwrite Endless records, not whether an operator may ask for this explicitly.
  • The supplier attachment is kept; only the provider's own fields are adopted.
  • Operator edits to the accounting vendor are lost.

Error Scenarios​

  • **VALIDATION**: the integration does not belong to this company, or the supplier has no linked vendor in it.

Permissions Required​

  • accounting:configure_supplier_accounting permission.
overwriteAccountingVendorFromExternal(
input: OverwriteAccountingVendorFromExternalInput!
): OverwriteAccountingVendorFromExternalPayload

Arguments​

overwriteAccountingVendorFromExternal.input ● OverwriteAccountingVendorFromExternalInput! non-null input common​

Parameters for OverwriteAccountingVendorFromExternal

Type​

OverwriteAccountingVendorFromExternalPayload object common​

Autogenerated return type of OverwriteAccountingVendorFromExternal.