source: FOIAVistA/trunk/r/EQUIPMENT_TURN_IN_REQUEST-PRCN/PRCNHLP.m@ 757

Last change on this file since 757 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 692 bytes
Line 
1PRCNHLP ;SSI/SEB-Help/lookup for NX ;[ 02/07/96 1:56 PM ]
2 ;;1.0;Equipment/Turn-In Request;;Sep 13, 1996
3A ; Executable help for Contract field of vendor file (440)
4 NEW I
5 S V=$S($D(DG("0;2")):DG("0;2"),1:$P(^PRCN(413,DA(1),1,DA,0),U,2)),I=0
6 Q:V="" W !,"Contracts on file for ",$P(^PRC(440,V,0),U),":"
7 F J=1:1 S I=$O(^PRC(440,V,4,I)) W:I>0 ! G:I'>0 EXIT D
8 . W:$P(^PRC(440,V,4,I,0),U,2)>DT !,$P(^PRC(440,V,4,I,0),U)
9 G EXIT
10B ; Input transform for Contract field of vendor file (440)
11 NEW I
12 S V=$S($D(DG("0;2")):DG("0;2"),1:$P(^PRCN(413,DA(1),1,DA,0),U,2))
13 Q:V=""
14 S I=$O(^PRC(440,V,"B",4,X,""))
15 I I]"" K:$P(^PRC(440,V,4,I,0),U,3)'=V!($P(^PRC(440,V,4,I,0),U,2)'>DT) X
16EXIT K I,J,V
17 Q
Note: See TracBrowser for help on using the repository browser.