show_duplicate: Display the record with the same order number

Description Usage Arguments Value Examples

Description

"show_duplicate" displays the existing record of transaction in the log who has the same order number as the one entered by the user.

Usage

1
2
3
## S4 method for signature 'product_logs,character,character,character'
show_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 existing record of transaction in a data frame if there is a duplicate and an empty data frame otherwise.

Examples

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

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