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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: DGREGCP2

Package: Registration

Routine: DGREGCP2


Information

DGREGCP2 ;ALB/CLT - ADDRESS UTILITIES ;23 May 2017 1:33 PM

Source Information

Source file <DGREGCP2.m>

Entry Points

Name Comments DBIA/ICR reference
POBOXRES(DGADDL1,STATE,CNTRY) ;TEST FOR UNALLOWED PO BOX AND GENERAL DELIVERY FOR RESIDENTIAL ADDRESS
; DGADDL1 - The address [LINE 1] text
; STATE - Internal State Code
; CNTRY - Internal Country Code
; returns 1 if PO box/general delivery not allowed for this address
; called from DGREGRED for validation of residential address on screen 1.1
POBOXPM(DFN) ;Check for PO Box/General Delivery in Permanent Mailing Address
; Returns 1 if Perm address contains PO Box or General delivery (allowing for exceptions)
OKPO(STATE,CNTRY) ;PO BOX CHECK FOR CERTAIN COUNTRIES AND STATES
; Returns 1 if the country/state allows for PO box/general delivery
; Pass in the state and country codes to check
ISPO(DGADDL1) ; check address line for presence of PO Box or General Delivery
; Returns 1 if the address line DGADDL1 contains PO/General Delivery

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(5 - [#5] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call