PRCEMOA ;WOIFO/SAB - 1358 OBLIGATION APIS ;6/30/11 15:34
Source file <PRCEMOA.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
V | ;;5.1;IFCAP;**152,158**;Oct 20, 2000;Build 1
|
|
UOKCERT(PRCOUT,PRC1358,PRCPER) | ; User OK as Certifier for a 1358
; This API verifies that the person would not violate segregation of ; duty when certifying an invoice associated with a 1358 obligation ; by ensuring that they have not previously acted as a requestor, ; approver, or obligator on that 1358. |
|
EV1358(PRC1358,PRCARR) | ; Events (and Actors) for a 1358
; input ; PRC1358 - 1358 number (e.g. 688-C15001) ; PRCARR - (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 ; (PRC1358,PRCARR,PRC410P,PRC442,PRCLIST,PRCODI,PRCRET) ; return value = 1 or E^text ; = 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. ; output ; PRCARR - array is initialized and populated ; PRCARR(DATE/TIME,EVENT)=REQUESTOR^APPROVER^OBLIGATOR ; where ; 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 ien or null value ; APPROVER is a NEW PERSON ien or null value ; OBLIGATOR is a NEW PERSON ien or null value ; e.g. ^TMP("PRCS1358",$J,3101005.091223,"O")=134^5432^43 ; ^TMP("PRCS1358",$J,3101007.101501,"A")=134^9473^4677 |
|
AUTHR(PRCSTR) | ;Returns string AuthorityDesc^Sub-AuthorityDesc for 1358 request
; given string of AuthorityIEN^Sub-AuthorityIEN |