Issue #21169:pass correct argument for notes to createPlannedOrder