Skip to content

Conversation

@NaseeraVP
Copy link
Contributor

Feature description

Need to:

  • Add "Transfer Stock to Project" button in Bill of Quantity form
  • Open dialog showing required quantity vs available stock
  • Auto-suggest transferable quantity based on stock balance
  • Prevent over-transfer beyond required or available quantity
  • Create and submit Stock Entry (Material Transfer)
  • Update transferred quantity in BOQ items
  • Show success message with clickable Stock Entry link

Solution description

  • Added a “Transfer Stock to Project” button in the BOQ form.

  • On clicking the button, a dialog is displayed showing only transferable items:

    • Excludes customer-provided items
  • The dialog displays:

    • Required Quantity (BOQ Qty − Transferred Qty)
    • Available Stock Balance
  • Implemented validations to prevent:

    - Transferring more than the required quantity
    
    • Transferring more than available stock
  • A Stock Entry (Material Transfer) is created and submitted

    • Stock is transferred from the item’s default warehouse to the project warehouse
    • Transferred quantity is updated in the BOQ item
  • Displays a success message with a clickable link to the created Stock Entry for easy navigation and verification.

Output screenshots (optional)

Screencast.from.23-01-26.04.20.47.PM.IST.webm
Screencast.from.23-01-26.04.19.29.PM.IST.webm

Areas affected and ensured

Bill of quantity doctype

Is there any existing behavior change of other features due to this code change?

No.

Was this feature tested on the browsers?

  • Chrome

@NaseeraVP NaseeraVP requested a review from MhmdSinanKT January 23, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants