Check912Existence

Checks for the existence of a F0912 record

Minor Business Rule

Object Name: B0900020

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will use the parameters Document Number and Document Type and check to see if that 
record already exists in the F0912 table.


Setup Notes and Prerequisites

If the record exists an error will be set.  Note: the parameters for Company and Journal Entry Line 

Number are no longer being used and are not required.


Special Logic



Technical Specification

If the form mode is ADD
   Open F0912 Recurring Journal Entries table

   Fetch record from F0912 based on two part key (DOC, DCT)

   If record exists

      Set Error

   Close table



^

Data Structure

D0900486 - Checks for the existence of a F0912 record

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumenttypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnDocvoucherinvoiceeDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

mnJournalentrylinenoJELNMATH_NUMERICNONENONE

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

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.

Related Functions

None

Related Tables

F0912 Cost Allocations/Flex Budgeting