find_duplicate: Check if an order number has a duplicate in the database

Description Usage Arguments Value Examples

Description

find_duplicate checks if an order number has a duplicate in the database and returns the location of the duplicate if one exists.

Usage

1
2
3
## S4 method for signature 'product_logs,character,character,character'
find_duplicate(obj, date,
  orn, sup, ...)

Arguments

date

A character string representing the date of the transaction.

orn

A character string representing the order number of the transaction.

sup

A character string representing the supplier of the transaction.

Value

The location of the duplicate if one exists and character(0) otherwise.

Examples

1
## Not run: find_duplicate(a_log, '2016-12-23', 'A123456', 'Amazon')

Samantha-Lui/EZRecords documentation built on May 5, 2019, 4:46 p.m.