add_customer_entry: Add customers to a library

Description Usage Arguments Value Examples

View source: R/customers.R

Description

add_customer_entry() creates a library of your customer while assigning a unique ID, or customer number. This is used when creating invoices with render_invoice(). Search entries with search_customer() and view the whole database with view_customer().

Usage

1
2
3
4
5
add_customer_entry(company, name, street, city, country, VAT)

search_customer(keywords, search = "|")

view_customer(...)

Arguments

company

Character string for company name.

name

Character string for contact name.

street

Character string for street name.

city

Character string for city name.

country

Character string for country name.

VAT

Character string for VAT number.

keywords

Keywords for searching the database.

search

Determine whether multiple keywords are searched with the boolean "|", or "&" for an exclusive combination of keywords (default = "|").

...

Currently not supported.

Value

tibble::tibble()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
# customer 1
add_customer_entry(
 "Fancy Stuff inc",
 "G. Janssen",
 "Liftweg 135",
 "7009 ZZ Doetinchem",
 "Netherlands",
 "NL10937277"
)
# customer 2
add_customer_entry(
 "Fancy Work",
 NA_character_,
 "Vleutensebaan 435",
 "8888 ZZ Haarlem",
 "Netherlands",
 "NL1093se44"
 
## End(Not run)

MartinSchobben/bookkeeper documentation built on Dec. 17, 2021, 3:17 a.m.