PRC1358 |
Input |
1358 obligation number (e.g. 688-C15001) - Purchase
Order Number (#.01) field of the PROCUREMENT & ACCOUNTING TRANSACTIONS (#442)
file.
|
PRCARR |
Both |
(Optional) results array name, passed by value,
closed root, default value is "^TMP(""PRC1358"",$J)". The root must NOT be a
variable name newed by this API:
- PRCARR
- PRCODI
- PRCLIST
- PRCRET
- PRC1358
- PRC410P
- PRC442
The PRCARR array is initialized and populated as
PRCARR(DATE/TIME,EVENT)=REQUESTOR^APPROVER^OBLIGATOR
DATE/TIME - is a FileMan Date/Time (internal
format) when the transaction
was obligated
EVENT - is O (OBLIGATE), or A (ADJUST)
REQUESTOR - is a NEW PERSON (#200) file IEN
or null value
APPROVER - is a NEW PERSON (#200) file IEN
or null value
OBLIGATOR - is a NEW PERSON (#200) file IEN
or null value
Example:
^TMP("PRCS1358",$J,3101005.091223,"O")=134^5432^43
^TMP("PRCS1358",$J,3101007.101501,"A")=134^9473^4677
|
$$EV1358 |
Output |
Return value is '1' or 'E^text' where:
= 1 if no problems
= E^text if problem with inputs or 1358 data
List of possible errors:
The array name is invalid.
The 1358 number was not specified.
The 1358 was not found in file 442.
The document is not a 1358.
The PRIMARY 2237 value is missing.
|