Question

Assigning default branch to Purchase Receipts using workflow engine

  • 29 May 2023
  • 2 replies
  • 72 views

Userlevel 5
Badge

Hi,

Looking into automatically filling the Branch field (Others tab) in Purchase Receipts based on the branch of the user receiving it, as opposed to defaulting from Purchase Order.

Workflow seems like a reasonable solution, and I have been referring to this guide, but that seems to only be for fixed values. Any idea on how to make the default value change depending on the current user’s branch?


2 replies

Userlevel 7
Badge +8

AccessInfo.BranchID provides the currently logged in branch

Userlevel 7
Badge +12

I dont think you need to use the Workflow just customise the attributes on the Branch field on the purchase receipt. We needed to populate the owner on the purchase receipt with the current user so done it below

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved