Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • N NLDERP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HARSHA VARDHAN
  • NLDERP
  • Merge requests
  • !3

Identify the purchase order vendor by Supplier ID

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged HARSHA VARDHAN requested to merge feature/products-automation into master Sep 04, 2026
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 5

The vendor test uses a fixed business name, so every run adds another vendor carrying it and the picker offers all of them. selectVendor required exactly one match and failed once a second run existed, taking TC-NLD-PO-001..003 with it. The Supplier ID recorded alongside the name is what separates the duplicates.

Also waits for the purchase order search to come back before reading rows. The search refetches the list on keyup, so fill() alone leaves the previous response on screen; the info line reports when the new one has been applied.

Drops the supplied Reference No approach and uniqueReference() with it -- orders are now told apart by comparing the references on file before and after the order is raised.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/products-automation