Welcome, Guest. Please Login.
05/02/24 at 17:20:21
News:
Home Help Search Login


Pages: 1
Send Topic Print
Invoice Number (Read 1397 times)
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 785
Gender: male
Invoice Number
04/15/09 at 10:48:40
 
When invoicing a PO (AP-C) where the Invoice Number is save (which table/field)?
 
 
 embarrassed
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
GasGiant
Administrator
*****


How can I help?

Posts: 1523
Gender: male
Re: Invoice Number
Reply #1 - 04/15/09 at 12:16:26
 
Your invoice number is in BKAPINVT, but I bet you are asking about the vendor invoice number, eh? One of the many mysteries of life. For some reason they are hidden away in MKICLASS.
Back to top
 
 


Email WWW GasGiant GasGiant 31012781 swordworlder swordworlder   IP Logged
NovaZyg
Administrator
*****


When all else
fails.. Read the
instructions.

Posts: 789
Gender: male
Re: Invoice Number
Reply #2 - 04/15/09 at 12:25:16
 
Reason for the mystery.. APINVT invoice was Alpha 10,  Not big enough... So we moved it (using a reference number) to MKICLASS that is Alpha 20.
 
Mystery solved...
 Wink
Back to top
 
 

Allen Landry
Evo~ERP

EvoERP and DBA Classic always Beta's of the Latest versions.

WWW   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 785
Gender: male
Re: Invoice Number
Reply #3 - 04/15/09 at 12:28:46
 
Yes it is on the MKICLASS table.
 
can we link tables  MKICLASS and  BKAPCHKH with fields: MKECLASS_NUM and BKAP_CHK_INVNUM ?
 
 cry
 
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
NovaZyg
Administrator
*****


When all else
fails.. Read the
instructions.

Posts: 789
Gender: male
Re: Invoice Number
Reply #4 - 04/15/09 at 12:47:58
 
I made do with what I had...
 
yes MKECLASS.NUM is numeric, and the VAL(BKAP.CHK.INVNUM) will match  
 
Back to top
 
 

Allen Landry
Evo~ERP

EvoERP and DBA Classic always Beta's of the Latest versions.

WWW   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 785
Gender: male
Re: Invoice Number
Reply #5 - 04/16/09 at 10:48:25
 
DBA tables are wayyyy to complicate. Glad to know that you guys are changing them little by little.
 
Sooo to get an AP Listing ( I have to create my onw tables due to the BKAP_INVT_CODE data type):
 
DELETE FROM UMC_AP_BKAPINVT
DELETE FROM UMC_AP_BKAPCHKH
DELETE FROM UMC_AP_MKECLASS
 
INSERT INTO UMC_AP_MKECLASS
select  
MKECLASS_NUM,
MKECLASS_DESC
FROM UMCORP.MKECLASS
 
INSERT INTO UMC_AP_BKAPINVT
SELECT
BKAP_INVT_CODE,
BKAP_INVT_DATE,
BKAP_INVT_NUM,
BKAP_INVT_AMT,
BKAP_INVT_AMTRM,
BKAP_INVT_DESC,
BKAP_INVT_TYPE
FROM UMCORP.BKAPINVT
WHERE BKAP_INVT_CODE = 'APLMAC0100'
 
INSERT INTO UMC_AP_BKAPCHKH
SELECT  
BKAP_CHK_INVNUM,  
BKAP_CHK_NUM
FROM UMCORP.BKAPCHKH
WHERE BKAP_CHK_VNDCOD= 'APLMAC0100'
 
SELECT  
UMC_AP_BKAPINVT.BKAP_INVT_CODE,  
UMC_AP_BKAPINVT.BKAP_INVT_DATE,  
UMC_AP_BKAPINVT.BKAP_INVT_NUM,  
UMC_AP_BKAPINVT.BKAP_INVT_AMT,  
UMC_AP_BKAPINVT.BKAP_INVT_AMTRM,  
UMC_AP_BKAPINVT.BKAP_INVT_DESC,  
UMC_AP_BKAPINVT.BKAP_INVT_TYPE,  
UMC_AP_MKECLASS.MKECLASS_DESC,  
UMC_AP_BKAPCHKH.BKAP_CHK_NUM
FROM UMC_AP_BKAPINVT LEFT JOIN  
UMC_AP_MKECLASS ON UMC_AP_BKAPINVT.BKAP_INVT_NUM = UMC_AP_MKECLASS.MKECLASS_NUM  
LEFT JOIN UMC_AP_BKAPCHKH ON UMC_AP_BKAPINVT.BKAP_INVT_NUM = UMC_AP_BKAPCHKH.BKAP_CHK_INVNUM
 
 Cool
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
Pages: 1
Send Topic Print