Professional Documents
Culture Documents
User-Defined Values
SAP Business One
Version 10.0
PUBLIC
Objectives
Objectives:
Add user-defined values to fields in forms and documents to
assist and expedite data entry by end users:
Add a list of values as user-defined values
Use a query as user-defined values
The company wants to have the delivery date automatically calculated in sales orders,
so that the salesperson does not have to manually enter the date. In the business
process, the delivery date is not significant since orders are dispatched immediately.
The salesperson needs the ability to instantly view a customer’s account balance when
processing a new sales order over the phone.
Incoming
Sales Order Delivery A\R Invoice
Payment
UDVs
UDVs can
can bebe added
added toto any
any
editable
editable field
field at
at the
the header
header or
or
row
row level,
level, and
and toto user-defined
user-defined
fields
fields
Magnifying glass icon indicates that user-defined values have been added to field
Make
Make sure
sure the
the
value
value entered
entered
does
does not
not exceed
exceed
the
the field
field length
length
Alt+Shift+F2
To
To open
open the
the list
list of
of values,
values,
the
the user
user can
can select
select the
the
magnifying
magnifying glass
glass in in the
the
field,
field, or
or can
can select
select thethe field
field
and
and press
press Shift+F2
Shift+F2
User-defined values are not inherited by other document types, therefore you need to
add them to each document type as required
The value entered into a field with user-defined values is transferred to target
document using Copy To/Copy
Sales Order From
Value
Value entered
entered in
in field
field using
using UDVs
UDVs
is
is transferred
transferred to
to target
target document
document
using
using Copy
Copy to/Copy
to/Copy From
From
Choose the option Search in Existing User-Defined Values According to Saved Query
Choose the option Search in Existing User-Defined Values According to Saved Query
Saved
Saved user
user query
query
Example:
Example:
SELECT
SELECT ADD_DAYS
ADD_DAYS (($[ORDR."DocDate".DATE]),
(($[ORDR."DocDate".DATE]),
7)
7) FROM
FROM DUMMY
DUMMY
When
When the
the query
query runs
runs
the
the result
result is
is
populated
populated in in the
the field
field
Select
Select dependent
dependent field
field
Sales Order
Query
Query is
is added
added to
to user-
user-
defined
defined field
field Account
Account
Balance
Balance
Customer
Customer code
code isis set
set as
as the
the
dependent
dependent field
field
Auto
Auto Refresh
Refresh is
is selected
selected
with
with Refresh
Refresh Regularly
Regularly
Result:
Result:
Query
Query will
will run
run when
when user
user
selects
selects aa business
business partner
partner
code
code in
in aa new
new sales
sales order
order
Query
Query will
will also
also run
run ifif user
user
browses
browses through
through old
old
documents
documents
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 18
Auto Refresh on Row-level Fields
For a query added to a header field, you can
only select another header field as a
dependent field
www.sap.com/contactsap