West Wind Web Store |
cinvoice::checkinvoiceforpkconflict
|
Method used to update invoice and customer Pks during imports to make sure that if the invoice exists already that a new InvoicePK is generated and the lineitems are updated.
Also checks the customer record to see if the pks are the same and if the names don't match creates a new customer pk and updates the invoice with the new pK.
This method is a great way to have a one stop check for importing downloaded data from the Web in the offline applications.
Syntax: |
o.checkinvoiceforpkconflict() |
| Return: | .T. or .F. - should only return .t. |
See also: