F03B31WriteActivityRecords

F03B31 - Write Activity Record

Major Business Rule

Object Name: B03B0068

Parent DLL: CFIN

Location: Client/Server

Language: C

B03B0068
F03B31 Write Activity Records


Functional Description

Purpose

This function will write an account activity record to the F03B31 table based upon the data passed 

into the function.


Setup Notes and Prerequisites


Special Logic


Technical Specifications

Parameters

ItemData Structure I/OReq?Notes

SERKSerial NumberINo

AITActivity TypeIYes

AN8Customer NumberIYes

COCompanyIYes

MSTOMessage Sent ToINo

AIPRPriority - Action ItemINo

DTIDate - TicklerINo

CLRJDate - ClearedINo

AA1Amount1INo

AA2Amount2INo

APPVApproverINo

APPJApproval DateINo

PLYPolicy NumberINo

LNIDLine NumberINo

OAITOpen ActivityINo

RMKRemarksINo

NAPRNotification ApprovalINo

UKIDUnique Key IDINo


Related Tables

F03B30Activity Type Master
F03B31Customer Activity Log


Related Business Functions
B9800100Get Audit Information
B03B0071F0002 - Get Activity ID


Processing

• Open Tables F03B30, and F03B31.
• Get Activity Master record (F03B30) to determine if activity should be logged.  
• If the activity type (AIT) passed in is not existed in Activity Master table or the activity is 
disable, then exit the program. 

• Call next numbers to get Serk ID.
• Move input values to table.
• Get audit information.
• Insert the F03B31 record.
• Close the tables.


^

Data Structure

D03B0068 - F03B31 - Write Activity Records

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSerialNumberSERKMATH_NUMERICNONENONE

A key identification number used internally to identify a composite key structure.  The actual key items must be stored in another file and 
given this serial number.  This is to avoid repeating a very large key structure with repeating data items.

szActivityTypeAITcharNONENONE

A code that identifies a message in the Account Activity Log.

mnCustomerNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szMessageSentToMSTOcharNONENONE

The Credit/Collection Manager ID the message was sent to.

cPriorityActionItemAIPRcharNONENONE

A code that specifies the order in which the system displays activity messages that it generates when you run statements, notices, fees, 
and so on. Valid values are 1 through 5, where 1 is the highest priority and 5 is the lowest priority.

jdDateTicklerDTIJDEDATENONENONE

The date an activity was performed or, for promise activities, the reminder date.

jdClearedDateCLRJJDEDATENONENONE

Date Cleared.

mnAmount1AA1MATH_NUMERICNONENONE

A number that identifies the actual amount.

mnAmount2AA2MATH_NUMERICNONENONE

Amount.

szApproverAPPVcharNONENONE

Appover ID.

jdApprovalDateAPPJJDEDATENONENONE

Date of Approval.

mnPolicyNumberPLYMATH_NUMERICNONENONE

A number that the system assigns to each policy record to identify it.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cOpenActivityOAITcharNONENONE

A code to designate whether an activity is open or has been worked and closed. Valid values are as follows:    0   Closed    1   Open 

szNameRemarkRMKcharNONENONE

A generic field that you use for a remark, description, name, or address.

cNotificationApprovalNAPRcharNONENONE

A system-assigned code that indicates the status of a statement, deliquency notice, or delinquency fee. Valid values 
are: Blank Processed 1 Pending Approval   2 Approved   3 Rejected   4 Proof Mode   5 Error   6 Reprint   7 Reset      

mnUniqueKeyIDInternalUKIDMATH_NUMERICNONENONE

This field is a unique number used to identify a record in a file.

Related Functions

B03B0071 F03B31 - Get Activity ID
B9800100 Get Audit Information

Related Tables

F03B30 Activity Type Master
F03B31 Customer Activity Log