Skip to main content
Question

Add AddressLine4 to Customer / Lead

  • February 13, 2023
  • 5 replies
  • 65 views

Forum|alt.badge.img

Hello.

We require an additional field "AddressLine4" in both the Business Partner and Customer records, which needs to be incorporated into our opportunities, sales order, delivery note, and invoice documents. However, we are unsure of how to implement this, since the only thing differentiating (for Example at the customer records) between Finance and Shipping is the viewName BillAdress and DefLocationAddress.

Is there any Code-Example or would anyone be kind enough to share a package with this implemented?

5 replies

aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • February 13, 2023

You will need customization specific to your use case and it doesn’t seem tiny. If you do not have internal resources to develop it, you will need to reach out to your Acumatica partner or independent developers on the community. 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • February 13, 2023

Hello @aaghaei, we have internal resources but struggle with implementing this. There does not seem to be a clear path on how to copy a field within a specific Viewname to another dac field.


aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • February 13, 2023

Not sure what do you mean copy from Viewname to DAC. Views are presentations of the DACs. You look at the Dataflow in opposite direction. You add your fields to DACs (or Projection DACs if applicable) and views will show them with no extra effort.


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • February 13, 2023

Yes, but in the customer records, you would have the same DAC field (usrAddressLine4) repeated three times, each separated by different view names. This separates the general address, billing address, and shipping address. 

Example from AddressLine1: 


Now - Once a new Sales Order is created we would need to write the value from the Viewname “DefLocationAddress” into SOShippingAddress.usrAddressLine4 and the value from the Viewname BillAddress to SOBillingAddress.usrAddressLine4 - but we couldn’t find out how.​​​​​​


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • March 20, 2023

Hi @jwestermann17 were you able to find a solution? Thank you!