Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: PRCHCD0

Package: IFCAP

Routine: PRCHCD0


Information

PRCHCD0 ;WISC/AKS-Taskman job to zero out 'Monthly Purchase Limit' each month ; 7/12/01 5:03pm

Source Information

Source file <PRCHCD0.m>

Entry Points

Name Comments DBIA/ICR reference
ZERO ; To zero out the monthly purchases at the beginning of every month.
ADJ1 ; Deduct amount from monthly purchases before amendment for new amount
; is approved if PO is from the current month and year only.
; PRCMCP is monthly card purchases, PRCHTAMT is original order amount
; PRCOLD is card balance after deducting the original order's amount
; DT is the current date, system-supplied.
LIMIT ; Check purchase card limits and add new purchase if limit is ok.
; Deduct discounts and add shipping charges if any is applicable.

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Improper file."
  • Line Location: LIMIT+4
Function Call: WRITE
  • Prompt: !!!,?5,"The total amount of this order cannot be negative.",!
  • Line Location: LIMIT+12
Function Call: WRITE
  • Prompt: !!!,?5,"The total amount of this order is more than the Single Purchase limit",!,?5,"for the purchase card.",!
  • Line Location: LIMIT+18
Function Call: WRITE
  • Prompt: !!!,?5,"The total amount of this order and the previous purchases on this",!,?5,"purchase card is more than the monthly purchase limit.",!
  • Line Location: LIMIT+20
Info |  Source |  Entry Points |  Interaction Calls