Sie sind auf Seite 1von 4

Listing of ER for Application : Invoices Maintenance (P5503B02)

=======================================================================
FORM: Fix/Inspect [FIX INSPECT] (W5503B02A)
=======================================================================
CONTROL: FORM
EVENT: Dialog is Initialized
----------------------------------------------------------------------0001 // Adiciona caracteres a esquerda.
0002 ! FC Address Number1 = lpad(FC Address Number1,'0',8)
----------------------------------------------------------------------EVENT: Variables
----------------------------------------------------------------------frm_LineNumberID_IDLN
frm_SequenceNumber70_RCK7
frm_ContactPersonalID_CNLN
frm_LineNumberID2_IDLN
frm_UserId_USER
frm_DateUpdated_UPMJ
frm_TimeLastUpdated_UPMT
frm_ProgramId_PID
frm_WorkStationId_JOBN
=======================================================================
CONTROL: BUTTON Buscar
EVENT: Button Clicked
----------------------------------------------------------------------0001 F0101.Fetch Single
FC Address Number1 = TK Address Number
FC Alpha Name <- TK Name - Alpha
0002 If SV File_IO_Status is equal to CO ERROR
0003
FC Alpha Name = "No Data Found!"
0004 End If
----------------------------------------------------------------------EVENT: Post Button Clicked
----------------------------------------------------------------------0001 FC Address Number2 = FC Address Number1
=======================================================================
CONTROL: EDIT Address Number2
EVENT: Control Exited/Changed-Asynch
----------------------------------------------------------------------0001 Press Button(FC Buscar)
=======================================================================
CONTROL: BUTTON Buscar
EVENT: Button Clicked
----------------------------------------------------------------------0001 F0115.Select
FC Address Number2 = TK Address Number
FC Phone Number Type = TK Phone Number Type
0002 F0115.Fetch Next
VA frm_LineNumberID_IDLN <- TK Who's Who Line Number - ID
VA frm_SequenceNumber70_RCK7 <- TK Line Number ID - 5.0
VA frm_ContactPersonalID_CNLN <- TK Related Person - ID
FC Phone Number <- TK Phone Number
0003 If SV File_IO_Status is equal to CO ERROR

0004
FC Phone Number = "No Data Found!"
0005 End If
=======================================================================
CONTROL: BUTTON Delete
EVENT: Button Clicked
----------------------------------------------------------------------0001 F0115.Delete
FC Address Number2 = TK Address Number
VA frm_LineNumberID_IDLN = TK Who's Who Line Number - ID
VA frm_ContactPersonalID_CNLN = TK Related Person - ID
=======================================================================
CONTROL: BUTTON Atualizar
EVENT: Button Clicked
----------------------------------------------------------------------0001 F0115.Update
FC Address Number2 = TK Address Number
VA frm_LineNumberID_IDLN = TK Who's Who Line Number - ID
VA frm_ContactPersonalID_CNLN = TK Related Person - ID
FC Phone Number Type = TK Phone Number Type
FC Phone Number2 -> TK Phone Number
0002 If SV File_IO_Status is equal to CO ERROR
0003
Set Control Error(FC Address Number2, "126723")
0004 End If
----------------------------------------------------------------------EVENT: Post Button Clicked
----------------------------------------------------------------------0001 FC Phone Number2 = ""
=======================================================================
CONTROL: BUTTON Inserir
EVENT: Button Clicked
----------------------------------------------------------------------evt_EverestEventPoint01_EV01
0001 F0111.Select
FC Address Number2 = TK Address Number
0002 F0111.Fetch Next
VA frm_LineNumberID2_IDLN <- TK Who's Who Line Number - ID
0003 While SV File_IO_Status is equal to CO SUCCESS
0004
F0111.Fetch Next
VA frm_LineNumberID2_IDLN <- TK Who's Who Line Number - ID
0005
VA evt_EverestEventPoint01_EV01 = "1"
0006 End While
0007 If VA evt_EverestEventPoint01_EV01 is equal to "1"
0008
VA frm_LineNumberID2_IDLN = VA frm_LineNumberID2_IDLN+1
0009 End If
0010 Get Audit Information
VA frm_UserId_USER <- BF szUserName
VA frm_DateUpdated_UPMJ <- BF jdDate
VA frm_TimeLastUpdated_UPMT <- BF mnTime
VA frm_WorkStationId_JOBN <- BF szWorkstation_UserId
0011 VA frm_ProgramId_PID = "P5503B02"
0012 F0111.Insert
FC Address Number2 -> TK Address Number
VA frm_LineNumberID2_IDLN -> TK Who's Who Line Number - ID
FC Mailing Name -> TK Name - Mailing
VA frm_UserId_USER -> TK User ID
VA frm_ProgramId_PID -> TK Program ID

VA frm_DateUpdated_UPMJ -> TK Date - Updated


VA frm_WorkStationId_JOBN -> TK Work Station ID
VA frm_TimeLastUpdated_UPMT -> TK Time - Last Updated
=======================================================================
FORM: Fix/Inspect2 [FIX INSPECT] (W5503B02B)
=======================================================================
CONTROL: FORM
EVENT: Variables
----------------------------------------------------------------------frm_UserId_USER
frm_ProgramId_PID
frm_WorkStationId_JOBN
frm_DateUpdated_UPMJ
frm_TimeOfDay_TDAY
frm_CompanyKeyOrderNo_KCOO
frm_DocumentOrderInvoiceE_DOCO
frm_LineNumber_LNID
frm_OrderType_DCTO
frm_UnitsTransactionQty_UORG
frm_AmtPricePerUnit2_UPRC
frm_AmountExtendedPrice_AEXP
=======================================================================
CONTROL: BUTTON Delete
EVENT: Button Clicked
----------------------------------------------------------------------0001 Get Audit Information
VA frm_UserId_USER <- BF szUserName
0002 F554211A.Select
VA frm_UserId_USER = TK User ID
0003 F554211A.Fetch Next
VA frm_UserId_USER <- TK User ID
0004 F554211A.Delete
VA frm_UserId_USER = TK User ID
=======================================================================
CONTROL: BUTTON Select/Insert
EVENT: Button Clicked
----------------------------------------------------------------------0001 //
0002 Get Audit Information
VA frm_UserId_USER <- BF szUserName
VA frm_DateUpdated_UPMJ <- BF jdDate
VA frm_TimeOfDay_TDAY <- BF mnTime
VA frm_WorkStationId_JOBN <- BF szWorkstation_UserId
0003 VA frm_ProgramId_PID = "P5503B02"
0004 //
0005 F4211.Select
FC Order Date < TK Date - Order/Transaction
0006 F4211.Fetch Next
VA frm_CompanyKeyOrderNo_KCOO <- TK Order Company (Order Number)
VA frm_DocumentOrderInvoiceE_DOCO <- TK Document (Order No, Invoice, etc
.)
VA frm_OrderType_DCTO <- TK Order Type
VA frm_LineNumber_LNID <- TK Line Number
VA frm_UnitsTransactionQty_UORG <- TK Units - Order/Transaction Quantity
VA frm_AmtPricePerUnit2_UPRC <- TK Amount - Price per Unit
VA frm_AmountExtendedPrice_AEXP <- TK Amount - Extended Price
0007 While SV File_IO_Status is equal to CO SUCCESS

0008

F554211A.Insert
VA frm_CompanyKeyOrderNo_KCOO -> TK Order Company (Order Number)
VA frm_DocumentOrderInvoiceE_DOCO -> TK Document (Order No, Invoice,

etc.)
VA frm_OrderType_DCTO -> TK Order Type
VA frm_LineNumber_LNID -> TK Line Number
VA frm_UnitsTransactionQty_UORG -> TK Units - Order/Transaction Quant
ity

0009

VA frm_AmountExtendedPrice_AEXP -> TK Amount - Extended Price


VA frm_AmtPricePerUnit2_UPRC -> TK Amount - Price per Unit
VA frm_ProgramId_PID -> TK Program ID
VA frm_UserId_USER -> TK User ID
VA frm_DateUpdated_UPMJ -> TK Date - Updated
VA frm_WorkStationId_JOBN -> TK Work Station ID
VA frm_TimeOfDay_TDAY -> TK Time of Day
F4211.Fetch Next
VA frm_CompanyKeyOrderNo_KCOO <- TK Order Company (Order Number)
VA frm_DocumentOrderInvoiceE_DOCO <- TK Document (Order No, Invoice,

etc.)
VA frm_OrderType_DCTO <- TK Order Type
VA frm_LineNumber_LNID <- TK Line Number
VA frm_UnitsTransactionQty_UORG <- TK Units - Order/Transaction Quant
ity
VA frm_AmtPricePerUnit2_UPRC <- TK Amount - Price per Unit
VA frm_AmountExtendedPrice_AEXP <- TK Amount - Extended Price
0010 End While
Friday March 09, 2012 10:07