This function gets the suffix number last used. It retrieves the last pay item
for the DOC, DCT, KCO passed in. If an order is not found for the key passed in
then the suffix number is initialized to zero otherwise it is incremented by 1 and
passed back to the calling application
^
D4200650 - GetLastF0311Suffix
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNumber | DOC | MATH_NUMERIC | NONE | NONE |
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szDocumentCompany | KCO | char | NONE | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
szSuffix | SFX | char | NONE | NONE |
A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has
| ||||
cNewARSystemFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F0311 Accounts Receivable Ledger | ||||
F03B11 Customer Ledger |