Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ACRFPSC

ACRFPSC.m

Go to the documentation of this file.
ACRFPSC ;IHS/OIRM/DSD/THL,AEF - SOLICITATION FOR COMMERCIAL ITEMS; [ 09/23/2005   9:44 AM ]
 ;;2.1;ADMIN RESOURCE MGT SYSTEM;**19**;NOV 05, 2001
EN D ^ACRFSSPO,EN1
EXIT K ACRX,ACR7A,ACR7B,ACR13A,ACR13B,ACR17B,ACR18B,ACR27A,ACR27A1,ACR27B,ACR27B1
 F X=1:1:18 K @("ACR"_X)
 Q
EN1 D GATHER,^ACRFPSC1
 Q
GATHER ;GATHER ALL INFO REQUIRED TO PRINT THE DOCUMENT
 D SETDOC^ACRFEA1
 S ACRPO=$G(^ACRDOC(ACRDOCDA,"PO"))
 S ACR9=$G(^ACRDOC(ACRDOCDA,"POIO"))
 S ACR15=$G(^ACRDOC(ACRDOCDA,"POST"))
 S ACR18=$G(^ACRDOC(ACRDOCDA,"POMI"))
 S ACR17=$P(ACRPO,U,5)
 S X=$G(^AUTTPRG(+ACR9,"DT"))
 S ACR9(1)=$P($G(^AUTTPRG(+ACR9,0)),U)
 S ACR9(2)=$P(X,U)
 S ACR9(3)=$P(X,U,2)
 S ACR9(4)=$P(X,U,3)
 S ACR9(5)=$P(X,U,4)
 S ACR9(6)=$P(X,U,5)
 S ACR9(7)=$P(X,U,6)
 S ACR9(5)=$P($G(^DIC(5,+ACR9(5),0)),U,2)
DELIVER S X=$G(^AUTTPRG(+ACR15,"DT"))
 S ACR15(1)=$P($G(^AUTTPRG(+ACR15,0)),U)
 S ACR15(2)=$P(X,U)
 S ACR15(3)=$P(X,U,2)
 S ACR15(4)=$P(X,U,3)
 S ACR15(5)=$P(X,U,4)
 S ACR15(6)=$P(X,U,5)
 S ACR15(7)=$P(X,U,6)
 S ACR15(5)=$P($G(^DIC(5,+ACR15(5),0)),U,2)
VENDOR ;
 S X=$G(^AUTTVNDR(+ACR17,11))
 S ACR17(1)=$P($G(^AUTTVNDR(+ACR17,0)),U)
 S ACR17(7)=$P(X,U,6)
 S X=$G(^AUTTVNDR(+ACR17,13))
 S ACR17(2)=$P(X,U)
 S ACR17(3)=$P(X,U,10)
 S ACR17(4)=$P(X,U,2)
 S ACR17(5)=$P(X,U,3)
 S ACR17(6)=$P(X,U,4)
 S ACR17(5)=$P($G(^DIC(5,+ACR17(5),0)),U,2)
PAY S X=$G(^AUTTPRG(+ACR18,"DT"))
 S ACR18(1)=$P($G(^AUTTPRG(+ACR18,0)),U)
 S ACR18(2)=$P(X,U)
 S ACR18(3)=$P(X,U,2)
 S ACR18(4)=$P(X,U,3)
 S ACR18(5)=$P(X,U,4)
 S ACR18(6)=$P(X,U,5)
 S ACR18(7)=$P(X,U,6)
 S ACR18(5)=$P($G(^DIC(5,+ACR18(5),0)),U,2)
 S ACR1=$P(ACRDOC0,U)
 S ACR2=$P(ACRDOC0,U,2)
 S ACR3=$P(ACRPO,U)
 S ACR4=$P(ACRPO,U,3)
 S ACR7A=+$G(^ACRDOC(ACRDOCDA,"PA"))
 S ACR7B=$P($G(^ACRPO(+$G(ACRPODA),0)),U,9)
 ;S X=$P($G(^VA(200,+ACR7A,0)),U)  ;ACR*2.1*19.02 IM16848
 S X=$$NAME2^ACRFUTL1(+ACR7A)  ;ACR*2.1*19.02 IM16848
 S X=$P($P(X,",",2)," ")_" "_$P(X,",")
 S ACR7A=X
 S ACR12=$P(ACRPO,U,13)
 S ACR13A="XX"
 S ACR13B="RATING"
 Q