SaveBill
DESCRIPTION:
|
CLASS: CFBSocket
PROTOTYPE(S):bool SaveBill(CBill *pBill, int LastDate = 0, bool UseApproval = false); |
ARGUMENT(S):CBill* pBill | A pointer to the bill to be saved. | int LastDate | Last bill date. | bool UseApproval | The flag which force the function to use the approval system for the record if sets to true. |
RETURN VALUE: This function always returns true.
EXAMPLE:
COMMENT: Use this function to save (search and replace) a bill record. If the identical bill was not found, then the given bill will be added to the file. Compared to WriteRecord function, this function will manage the knick-knack works in order to perfectly save the bill. |
|