AP Invoice Creation - Liability Account to be shown in Header
Hi All ,
While creating AP Invoice , I want "Liability Account" to be displayed in the Header which is not shown now . Please give me ur ideas on it .
Thanks,
Thavam
Edited by: Thavam on May 6, 2013 6:12 AM
Use the following query - It will solve your problem
select distinct ael.reference10, ael.ae_header_id,aia.invoice_id, aida.distribution_line_number, aia.invoice_num , aia.invoice_amount, aida.amount, gcc.segment3, gcc.segment5
from ap_ae_lines_all ael
,ap_invoices_all aia
,ap_invoice_distributions_all aida
,gl_code_combinations gcc
where ael.source_table = 'AP_INVOICES'
AND ael.source_id = aia.invoice_id
AND aia.invoice_id = aida.invoice_id
and ael.code_combination_id = gcc.code_combination_id
and ael.reference10 = 'LIABILITY'
and aia.invoice_num = :p_inv_num
and and gcc.segment3 = :p_account
Thanks
Girish
Similar Messages
-
How to restrict accounting doc generation while excise invoice creation
Hi,
i have to restrict accounting document generation while excise invoice creation through J1IIN.
i can't use statistical in my pricing proceedure since this is excise group and plant specific requirement.
same priicing proceedure is being used across all other excise groups and plants.
requirement is that one plant is having excemption from duties. my client wants excise duties to be calculated but should not be posted to accounting for that excise group.
can you suggest me how to map this scenario.
Thaks in advance.
Regards
SatyaHi
If it's a Deemed Export scenario then you can map this as a standard process.
Click the utilization button in the left corner, this will give you a next screen , Now here there is a pencil button .
Now click over this - this will change the color of the description and activate it. Now here if you select Deemed and save the document - There will NOT be any accounting entries for the excise document .
Try this , hopefully this will help you.
Thanks
RB -
Account Payable Invoice Creation
Hi All,
I just want to know the Account Payable Invoice creation screen.
How many data hit by invoice screen for master table
AP_INVOICE_ALL
specially invoice_date and gl_date column.
Please help.
RegardsHi,
Did you check the settings in VKOA. Check Sales Org/ Order Reason. Check whether GL Accounts assigned is correct or not. Also check the settings in Account key
Regards,
Jigar -
11i AP Different Liability Accounts at invoice header and supplier pay site
Hi
Noticed that Liab Acct at Invoice header and supplier pay site is different and not the same.
How this is possible?
need help
SSHi,
While entering the invoice you can change the liability account on invoice header, if the filed is not displayed check in folder options (folder->show Field->Liability Account)
Thanks,
Vijay -
How to Manage AP Invoice amount with 'Interim Liability account' using SLA..
Hi,
Standard:
In AP invoice accounting generated after done validation and 'create accounting process' then its creating Dr:Item account and Cr:Liability account---->This is Standard SLA functionality.
My Requirement:
Accounting should create Dr:Item account and Cr:Interim Liability account while validate the invoice, then after validate the invoice should create standard accounting (create accounting) this will be Dr:Item account and Cr:Liability account . To do this exercise i will have two liability balances Interim Liability account and Liability account.
How to setup this functionality using Subledger accounting method? or This is possible to do?
Please suggest me..
Thanks and Rgds
SureshHi Suresh,
With encumbrance accounting, you can track the amount to be spent in Payables that was encumbered in Purchasing. This might help get you the results you need.
Unfortunately, I cannot think of an option for you that would work in standard accrual accounting. In the current model, an accounting event is created only during validation, and accounting is driven off of the events that are created.
Cheryl -
Supplier Invoice Adjustments hitting AP Liability Account
Hi,
Can someone please help me to understand why some of project supplier inv cost adjustments hitting the AP liability account. The cost distribution line accounts look good. But the Create Accounting process debits the AP liability account. We haven't customnized any SLA accounting rules.
As per our Auto-accounting rules, it is not supposed to touch the Liability account. And it doesn't happen to all cost lines or all projects.
Appreciate any help to understand the flow of accouting for Supplier Invoice Adjustments
Thanks.Hi Suresh,
With encumbrance accounting, you can track the amount to be spent in Payables that was encumbered in Purchasing. This might help get you the results you need.
Unfortunately, I cannot think of an option for you that would work in standard accrual accounting. In the current model, an accounting event is created only during validation, and accounting is driven off of the events that are created.
Cheryl -
Accounting entries at billing and excise invoice creation in J1IIN
Hello Guruz
I need to know the accouning entries at the time of billing and the excise invoice creation in J!IIN.
Thanks in advance.
Regards.Hi
At the time of Billing Customer a/c will get debited and Sales revenues a/c will get credited.
At the time of Excise Invoice Excise paid a/c will get debited and all excise duties (Cess, Basic,S cess ) will get credited.
Hope this will helps you.. -
Automatic Invoice creation after Final Settlement (in Route Accounting)
Hello Gurus,
could you please advise how to customize automatic Invoice creation after the Final Settlement.
Now when we press final settlement in COCKPIT (or in Fast Entry) transaction we have new sales order for return (in case of return), then delivery for this order and posting GI for the delivery but we cannot achieve Invoice creation. In settlement log we can see Area: Invoices but they are missing there and system does not try create invoice.
Please advise what we missed.
Thank you in advance
Regards,
IgorHello,
could you please check object /DSD/TOUR if it is useful for this?
This is for TOUR STATUS..
For each activity, there will be dedicated status determined by the system??
check with your DSD functional consultant (on customization), to identify the status in which authorization needs to be blocked..
thank you
Venkatesh -
Validation required so that invoice, billing and accounting is done on same
Validation required so that invoice, billing and accounting is done on same date as the PGI date. Very urgent please help.
Please look into the below scenario.
Excise invoice posting date u2013 07.10.2011
A/c doc posting date u2013 29.09.2011
Reflecting in dispatch report of 07.10.2011.
GL affecting in the month of Sep.
So it want that on PGI date, billing , invoice and accounting enteries are createdDear Jalaj001,
PGI date will be taken by system as the billing date in VF01 unless the user manually changes it.
Accounting Posting date can be controlled by settings for document type RV.
For excise invoice creation and posting date, i think you will have to use EXITs.
But i am not sure and will leave it for the experts to comment upon.
Thanks & Regards,
Hegal K Charles -
User Exits for Invoice creation ,cancellation and sales return
Hi Gurus,
Pl help me it's very urgent.
I did not find any user exit invoice creation so i wrote the following code in include program
MV60AF0B_BELEG_SICHERN.
This code is to update the Z*table while saving invoice ,cancellation and sales return.
The code modification is like below
FORM BELEG_SICHERN *
Buchen Fakturabelege *
FORM BELEG_SICHERN.
READ TABLE XVBRK INDEX 1.
IF SY-SUBRC NE 0.
CALL FUNCTION 'DEQUEUE_ALL'.
MESSAGE S032.
EXIT.
ENDIF.
IF SAMH_MOD = ON.
EXPORT XKOMFK TO MEMORY ID 'SDBILLDL'.
ENDIF.
DATA: CALC_TYPE.
IF REBATE_DETERMINED = 'Y'.
CALC_TYPE = 'A'.
ELSE.
CALC_TYPE = 'I'.
ENDIF.
*{ INSERT RD1K903017 1
Work Area*********************
data : wa_xvbrk type VBRKVB.
data : wa_xvbrp type vbrpvb.
data : wa_zmigo type zmigo.
data : wa_vbrp type vbrp.
Internal table Creation*******
DATA: BEGIN OF tab_XVBRP OCCURS 100.
INCLUDE STRUCTURE VBRPVB.
DATA: END OF tab_XVBRP.
data : begin of tab_vbeln occurs 10,
vbeln type vbrk-vbeln,
knumv type vbrk-knumv,
end of tab_vbeln.
data : tab_zmigo type table of zmigo.
data : tab_vbrp type table of vbrp.
*****Data declaration*************
data : v_no_of_inv type i.
data : v_vbeln_no(10) type n.
data : v_last_inv_no(10) type n.
data : v_first_inv_no(10) type c.
data : v_tot_qty type i.
data : v_frbnr type mkpf-frbnr.
*******Ranges*********************
ranges : r_vbeln for vbrk-vbeln.
*****Populating IT****************
tab_xvbrp[] = xvbrp[].
describe table xvbrk lines v_no_of_inv.
*} INSERT
CALL FUNCTION 'RV_INVOICE_DOCUMENT_ADD'
EXPORTING
VBSK_I = VBSK
WITH_POSTING = 'A'
PREISFINDUNGSART = CALC_TYPE
IMPORTING
VBSK_E = VBSK
TABLES
XKOMFK = XKOMFK
XTHEAD = XTHEAD
XVBFS = XVBFS
XVBSS = XVBSS
XVBRK = XVBRK
XVBRP = XVBRP
XVBPA = XVBPA
XKOMV = XKOMV.
*{ INSERT RD1K903017 2
data : v_count type i,v_fkimg type i .
data : v_no_of_records(10) type n.
wa_xvbrk = xvbrk.
********Selecting the last rec no from ZMIGO
select max( sr_no ) from zmigo into v_no_of_records.
*****If Distribution channel is not ZB*********
if wa_xvbrk-vtweg ne 'ZB' and ( wa_xvbrk-fkart = 'ZRIN' or wa_xvbrk-fkart = 'ZRTE' ).
if v_no_of_inv = 1. " Process only when there is one invoice
loop at tab_xvbrp into wa_xvbrp where ( matnr ne 'CDGSTP0001' and
matnr ne 'CD-RW' and
matnr ne 'CD-RW65OHS' and
matnr ne 'CABLE' and
matnr ne 'CD-R' and
matnr ne 'CDQ80N4' and
matnr ne 'GENERAL' and
matnr ne 'NERO' and
matnr ne 'OTHERS' and
matnr ne 'SPARE PARTS' and
matnr ne 'PROMO ITEM' and
matnr ne 'PROMO-1' and
matnr ne 'PROMO-2' and
matnr ne 'PROMO-3' and
matnr ne 'PROMO-4' and
matnr ne 'PROMO-5' and
matnr ne 'PROMO-6' and
matnr ne 'PROMO-7' and
matnr ne 'PROMO-8' and
matnr ne 'PROMO-9' and
matnr ne 'PROMO-10' ).
v_fkimg = wa_xvbrp-fkimg .
v_fkimg = v_fkimg / 1000.
do v_fkimg times.
v_no_of_records = v_no_of_records + 1.
wa_zmigo-sr_no = v_no_of_records.
wa_zmigo-po_no = wa_xvbrk-vbeln.
wa_zmigo-item_no = wa_xvbrp-posnr.
wa_zmigo-mblnr = wa_xmkpf-mblnr.
wa_zmigo-doc_type = wa_xvbrk-fkart.
wa_zmigo-posting_date = wa_xvbrk-fkdat.
wa_zmigo-created_on = sy-datum.
wa_zmigo-created_time = sy-uzeit.
wa_zmigo-bill_lno = v_frbnr.
wa_zmigo-material = wa_xvbrp-matnr.
wa_zmigo-inv_no = wa_xvbrk-vbeln.
wa_zmigo-inv_item_no = wa_xvbrp-posnr.
wa_zmigo-plant = wa_xvbrp-werks.
wa_zmigo-inv_date = wa_xvbrk-fkdat.
wa_zmigo-customer = wa_xvbrk-kunag.
wa_zmigo-unit = 1.
wa_zmigo-mtype = '601'.
insert into zmigo values wa_zmigo.
enddo.
clear : wa_zmigo.
endloop.
clear : v_count,v_fkimg,wa_zmigo.
refresh tab_zmigo[].
clear v_no_of_inv.
else. "When there are Split Invoices
v_last_inv_no = wa_xvbrk-vbeln.
v_vbeln_no = v_last_inv_no - v_no_of_inv + 1.
v_first_inv_no = v_vbeln_no.
sort tab_xvbrp by vbeln.
loop at tab_xvbrp into wa_xvbrp where ( matnr ne 'CDGSTP0001' and
matnr ne 'CD-RW' and
matnr ne 'CD-RW65OHS' and
matnr ne 'CABLE' and
matnr ne 'CD-R' and
matnr ne 'CDQ80N4' and
matnr ne 'GENERAL' and
matnr ne 'NERO' and
matnr ne 'OTHERS' and
matnr ne 'SPARE PARTS' and
matnr ne 'PROMO ITEM' and
matnr ne 'PROMO-1' and
matnr ne 'PROMO-2' and
matnr ne 'PROMO-3' and
matnr ne 'PROMO-4' and
matnr ne 'PROMO-5' and
matnr ne 'PROMO-6' and
matnr ne 'PROMO-7' and
matnr ne 'PROMO-8' and
matnr ne 'PROMO-9' and
matnr ne 'PROMO-10' ).
v_fkimg = wa_xvbrp-fkimg .
v_fkimg = v_fkimg / 1000.
do v_fkimg times.
v_no_of_records = v_no_of_records + 1.
wa_zmigo-sr_no = v_no_of_records.
wa_zmigo-po_no = v_vbeln_no. "wa_vbrp-vbeln.
wa_zmigo-item_no = wa_xvbrp-posnr.
wa_zmigo-mblnr = wa_xmkpf-mblnr.
wa_zmigo-doc_type = wa_xvbrk-fkart.
wa_zmigo-posting_date = wa_xvbrk-fkdat.
wa_zmigo-created_on = sy-datum.
wa_zmigo-created_time = sy-uzeit.
wa_zmigo-bill_lno = v_frbnr.
wa_zmigo-material = wa_xvbrp-matnr.
wa_zmigo-inv_no = v_vbeln_no.
wa_zmigo-inv_item_no = wa_xvbrp-posnr.
wa_zmigo-plant = wa_xvbrp-werks.
wa_zmigo-inv_date = wa_xvbrk-fkdat.
wa_zmigo-customer = wa_xvbrk-kunag.
wa_zmigo-unit = 1.
wa_zmigo-mtype = '601'.
insert into zmigo values wa_zmigo.
enddo.
clear : wa_zmigo.
at end of vbeln.
v_vbeln_no = v_vbeln_no + 1.
endat.
clear : v_count,v_fkimg,wa_zmigo.
refresh tab_zmigo[].
endloop.
endif. "End of first 2nd IF.
clear : v_no_of_inv, v_vbeln_no.
endif.
****************Sales return************************************
if wa_xvbrk-fkart = 'ZRRE' and wa_xvbrk-vtweg ne 'ZB'.
loop at tab_xvbrp into wa_xvbrp where ( matnr ne 'CDGSTP0001' and
matnr ne 'CD-RW' and
matnr ne 'CD-RW65OHS' and
matnr ne 'CABLE' and
matnr ne 'CD-R' and
matnr ne 'CDQ80N4' and
matnr ne 'GENERAL' and
matnr ne 'NERO' and
matnr ne 'OTHERS' and
matnr ne 'SPARE PARTS' and
matnr ne 'PROMO ITEM' and
matnr ne 'PROMO-1' and
matnr ne 'PROMO-2' and
matnr ne 'PROMO-3' and
matnr ne 'PROMO-4' and
matnr ne 'PROMO-5' and
matnr ne 'PROMO-6' and
matnr ne 'PROMO-7' and
matnr ne 'PROMO-8' and
matnr ne 'PROMO-9' and
matnr ne 'PROMO-10' ).
v_fkimg = wa_xvbrp-fkimg.
v_fkimg = v_fkimg / 1000.
v_tot_qty = v_tot_qty + v_fkimg.
do v_fkimg times.
v_no_of_records = v_no_of_records + 1.
wa_zmigo-sr_no = v_no_of_records.
wa_zmigo-po_no = wa_xvbrk-vbeln.
wa_zmigo-item_no = wa_xvbrp-posnr.
wa_zmigo-doc_type = wa_xvbrk-fkart.
wa_zmigo-posting_date = wa_xvbrk-fkdat.
wa_zmigo-created_on = sy-datum.
wa_zmigo-created_time = sy-uzeit.
wa_zmigo-material = wa_xvbrp-matnr.
wa_zmigo-inv_no = wa_xvbrk-vbeln.
wa_zmigo-inv_item_no = wa_xvbrp-posnr.
wa_zmigo-plant = wa_xvbrp-werks.
wa_zmigo-inv_date = wa_xvbrk-fkdat.
wa_zmigo-customer = wa_xvbrk-kunag.
wa_zmigo-unit = 1.
wa_zmigo-mtype = '651'.
condense wa_xvbrk-xblnr.
wa_zmigo-reference = wa_xvbrk-xblnr.
********Bill of lading no**
select single bill_lno from zmigo_final into v_frbnr where inv_no = wa_xvbrk-xblnr and material = wa_xvbrp-matnr.
if sy-subrc eq 0.
wa_zmigo-bill_lno = v_frbnr.
endif.
insert into zmigo values wa_zmigo.
enddo.
clear : wa_zmigo,wa_xvbrp , v_fkimg, v_frbnr.
endloop.
endif.
*******Invoice Cancellation*****************************
if wa_xvbrk-fkart = 'ZRS1' and wa_xvbrk-vtweg ne 'ZB'.
delete tab_xvbrp[] where shkzg eq 'X'.
loop at tab_xvbrp into wa_xvbrp where ( matnr ne 'CDGSTP0001' and
matnr ne 'CD-RW' and
matnr ne 'CD-RW65OHS' and
matnr ne 'CABLE' and
matnr ne 'CD-R' and
matnr ne 'CDQ80N4' and
matnr ne 'GENERAL' and
matnr ne 'NERO' and
matnr ne 'OTHERS' and
matnr ne 'SPARE PARTS' and
matnr ne 'PROMO ITEM' and
matnr ne 'PROMO-1' and
matnr ne 'PROMO-2' and
matnr ne 'PROMO-3' and
matnr ne 'PROMO-4' and
matnr ne 'PROMO-5' and
matnr ne 'PROMO-6' and
matnr ne 'PROMO-7' and
matnr ne 'PROMO-8' and
matnr ne 'PROMO-9' and
matnr ne 'PROMO-10' ).
v_fkimg = wa_xvbrp-fkimg.
v_fkimg = v_fkimg / 1000.
v_tot_qty = v_tot_qty + v_fkimg.
do v_fkimg times.
v_no_of_records = v_no_of_records + 1.
wa_zmigo-sr_no = v_no_of_records.
wa_zmigo-po_no = wa_xvbrk-vbeln.
wa_zmigo-item_no = wa_xvbrp-posnr.
wa_zmigo-doc_type = wa_xvbrk-fkart.
wa_zmigo-posting_date = wa_xvbrk-fkdat.
wa_zmigo-created_on = sy-datum.
wa_zmigo-created_time = sy-uzeit.
wa_zmigo-material = wa_xvbrp-matnr.
wa_zmigo-inv_no = wa_xvbrk-vbeln.
wa_zmigo-inv_item_no = wa_xvbrp-posnr.
wa_zmigo-plant = wa_xvbrp-werks.
wa_zmigo-inv_date = wa_xvbrk-fkdat.
wa_zmigo-customer = wa_xvbrk-kunag.
wa_zmigo-unit = 1.
condense wa_xvbrk-zuonr.
wa_zmigo-reference = wa_xvbrk-zuonr.
wa_zmigo-mtype = '602'.
********Bill of lading no**
select single bill_lno from zmigo_final into v_frbnr where inv_no = wa_xvbrk-xblnr and material = wa_xvbrp-matnr.
if sy-subrc eq 0.
wa_zmigo-bill_lno = v_frbnr.
endif.
insert into zmigo values wa_zmigo.
enddo.
clear : wa_zmigo,wa_xvbrp , v_fkimg.
endloop.
endif.
clear : v_no_of_records.
*} INSERT
CALL FUNCTION 'STACK_RESET'.
R185D-DATALOSS = SPACE.
FOLGEAUFRUF102 = SPACE.
PERFORM SETPAR_INIT.
*{ INSERT RD1K903017 3
*} INSERT
LEAVE.
ENDFORM.
This program is working fine for single user but in production where no of people are creating the invoices from different places the data is not getting updated in table ZMIGO.
sometime populating with wrong data , partial data and sometimes no updation at all.
I have used the table locking system enqueue and dequeue FM's before n after updation but still the same
thing is happening.
What could be the reason.
Looking for help very urgent any other alternate option.Hi,
Go thru these..
Enhancement
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line (transfer to accounting)
SDVFX003 User exit: Cash clearing (transfer to accounting)
SDVFX004 User exit: G/L line (transfer to accounting)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit: Tax line (transfer to accounting)
SDVFX005 User exit: Reserves (transfer to accounting)
Business Add-in
SD_CIN_LV60AU02 BADI for billing
If it is helpful rewards points
Regards
Pratap.M -
SAP-MM CIN Error: JTAX Access sequence missing at the time of excise invoice creation in J1IS
Dear Sir,
During creation of excise invoice with ref to material doc system give a error massage JTAX access sequence is missing. Access sequence and tables are already exist in system.
1.PO
2. GR with excise capture& post here Part-I&II are genarated.
3.Invoice
4.Return delivery with reference to above goods receipt document.(122 m.type)
5. J1IS- Creating outgoing excise invoice w.r.to return delivery material document.
JTAX Access sequence missing at the time of excise invoice creation in J1ISThe same error coming while consignment stock issue to cost center.
1.Consignment Info record with excise tax code.
2.PO consignment purchase order.
3.GR with excise capture & post here Part-I&II documents are created.
Material document created but there is no accounting document.
4.While doing Consignment stock issue to cost center system generate an error message
Access sequence JTAX missing ( ) Message no. VE306" -
Generating Supplier Liability Account based on the Supplier Classification
Hi ,
In R12 I have a custom requirement like follows. Need to generate the Supplier Liability Account based on the Supplier Classification. When we select supplier type then by default liabilty account value will be the value from supplier--> setup --> options --> fianancial otpions --> accounting tab (GL -accounts liability value).
so when we change the supplier type the liability account should changed based on that classification value.
I have code in 11i where custom.pll was modified to acheive this, but how to implement this in R12 as supplier form is OAF based.
the code from custom.pll for this is
procedure event(event_name varchar2)
is
lCurrBlock varchar2(30);
lVendorType varchar2(30);
lDefaultCCID number(15);
lCustomCCID number(15);
cursor customCC(x_vendor_type varchar2,x_default_cc_id number) is
select
cst.code_combination_id
from
fnd_lookup_values vty,
gl_code_combinations dfl,
gl_code_combinations cst
where 1=1
and vty.view_application_id = 201
and vty.lookup_type = 'VENDOR TYPE'
and vty.language = 'US'
and vty.lookup_code = x_vendor_type
and dfl.code_combination_id = x_default_cc_id
and dfl.segment1 = cst.segment1
and vty.tag = cst.segment2 --account no
and dfl.segment3 = cst.segment3
and dfl.segment4 = cst.segment4
and dfl.segment5 = cst.segment5
and (dfl.segment6 = cst.segment6 or (dfl.segment6 is null and cst.segment6 is null))
and (dfl.segment7 = cst.segment7 or (dfl.segment7 is null and cst.segment7 is null))
and (dfl.segment8 = cst.segment8 or (dfl.segment8 is null and cst.segment8 is null))
and (dfl.segment9 = cst.segment9 or (dfl.segment9 is null and cst.segment9 is null))
and (dfl.segment10 = cst.segment10 or (dfl.segment10 is null and cst.segment10 is null))
and (dfl.segment11 = cst.segment11 or (dfl.segment11 is null and cst.segment11 is null))
and (dfl.segment12 = cst.segment12 or (dfl.segment12 is null and cst.segment12 is null))
and (dfl.segment13 = cst.segment13 or (dfl.segment13 is null and cst.segment13 is null))
and (dfl.segment14 = cst.segment14 or (dfl.segment14 is null and cst.segment14 is null))
and (dfl.segment15 = cst.segment15 or (dfl.segment15 is null and cst.segment15 is null))
and (dfl.segment16 = cst.segment16 or (dfl.segment16 is null and cst.segment16 is null))
and (dfl.segment17 = cst.segment17 or (dfl.segment17 is null and cst.segment17 is null))
and (dfl.segment18 = cst.segment18 or (dfl.segment18 is null and cst.segment18 is null))
and (dfl.segment19 = cst.segment19 or (dfl.segment19 is null and cst.segment19 is null))
and (dfl.segment20 = cst.segment20 or (dfl.segment20 is null and cst.segment20 is null))
and (dfl.segment21 = cst.segment21 or (dfl.segment21 is null and cst.segment21 is null))
and (dfl.segment22 = cst.segment22 or (dfl.segment22 is null and cst.segment22 is null))
and (dfl.segment23 = cst.segment23 or (dfl.segment23 is null and cst.segment23 is null))
and (dfl.segment24 = cst.segment24 or (dfl.segment24 is null and cst.segment24 is null))
and (dfl.segment25 = cst.segment25 or (dfl.segment25 is null and cst.segment25 is null))
and (dfl.segment26 = cst.segment26 or (dfl.segment26 is null and cst.segment26 is null))
and (dfl.segment27 = cst.segment27 or (dfl.segment27 is null and cst.segment27 is null))
and (dfl.segment28 = cst.segment28 or (dfl.segment28 is null and cst.segment28 is null))
and (dfl.segment29 = cst.segment29 or (dfl.segment29 is null and cst.segment29 is null))
and (dfl.segment30 = cst.segment30 or (dfl.segment30 is null and cst.segment30 is null));
begin
if name_in('SYSTEM.CURRENT_FORM') != 'APXVDMVD' then
return;
end if;
lCurrBlock := name_in('SYSTEM.CURSOR_BLOCK');
if event_name = 'WHEN-NEW-FORM-INSTANCE' then
-- app_item_property.set_property('VNDR.VENDOR_TYPE_DISP_MIR',required,property_true);
copy(name_in('WORLD.ACCTS_PAY_CODE_COMBINATION_ID'),'GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID');
elsif lCurrBlock = 'VNDR' and event_name in ('WHEN-VALIDATE-RECORD','WHEN-NEW-RECORD-INSTANCE') then
open customCC(name_in('VNDR.VENDOR_TYPE_LOOKUP_CODE'),name_in('GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID'));
fetch customCC into lCustomCCID;
close customCC;
if lCustomCCID is null then
copy(name_in('GLOBAL.XX_APXVDMVD_ACCTS_PAY_CC_ID'),'WORLD.ACCTS_PAY_CODE_COMBINATION_ID');
else
copy(lCustomCCID,'WORLD.ACCTS_PAY_CODE_COMBINATION_ID');
end if;
end if;
end;
end;
please helpHi,
While you can refer to the SLA guide, for quick pointers what you need to do is:
1. Identify the transaction types and associated events for that transaction.
2. Build an accounting rule for the above.
An example would be AP invoice validation or application of prepayments.
The SLA guide provides step by step details on the above.
Good Luck !!!
Regards,
Udit -
Create Accounting in invoice and Create accounting in payment terms?
hi,
I want to know the difference between create accounting in invoice and create accounting in payment terms and is it compulsory to validate and create accounting in invoice before making payments ?
Regards
SudharshanIf the accounting method is accrual, then invoice accounting will be Item Expense/Charge -> Liability.
And payment accounting will be Liability -> Cash (it is different if you have reconciliation also)
An invoice has to be validated to get accounted or to get paid.
Payment just need a validated invoice, not an accounted invoice.
But Payment accounting can be done only after the invoice is accounted.
By
Vamsi -
Controlling document creation on SD invoice creation ( vf01)
Hi gurus
How to to activate "Controlling document creation" ( cost center & Cost element ) on invoice creation ( vf01) . ( like accounting document is created on vf01).
thanksHi BR,Ajay M
thanks.
Cost Element : Cost element category 11 is revenue . and Cost element category = 1 is "Primary costs/cost-reducing revenues"
I want to use it in Freight Discounts to customer. ( sales Invoice ) ,. ( i think it should be cost reducing revenue ). plz advise.
Thanks. -
Liability account in release r12
hi,
Can some one tell me where is the liability account defined at supplier main level?
i can find the liability account in supplier site level but not in supplier main level
Regards
sudharshanHi Sudharshan,
Im not sure what you are exactly trying to point out, but in Payables Options / Accounting Financial Options you can find the default liability account which is defaulted to all suppliers..
This is from AP-Implementation GUide:
Accounting Financials Options
Liability. Payables assigns this account as the default Liability Account for all new
suppliers you enter. You can override this value during supplier entry. If you use
Accrual Basis accounting, then the Liability Account for an invoice determines the
liability account(s) charged when you create accounting entries for invoices.
Alexey
Maybe you are looking for
-
I noticed that Phone call, is getting disconnected often while on the wheel.
Any one have noticed this problem while using your iPhone: While you are travelling (on the wheel) and attending a phone call, while your the cell phone receives signal from telecom network tower to tower, your phone call get disconnected automatical
-
The History Eraser in Inaction
I have had the need to do a specific erasure and can't seem to do it. I have a file with a b&w conversion layer applied. I come back a few days later and decide that a portion of the image needs attention, so I open the b&w layer and make a few chang
-
How to do goods return for QM parts ?
Hi Expert, Part is active QM management , After GR and QC, the parts is release from QC stock to unrestricted used stock through QA32. Now user found some problem of parts, how to do the Goods return to vendor ? Seems the transaction of QA32 can not
-
For Christ, you have to create a tool where user may create a page template and then copy this template to create similar pages. also, apple must create plates a way to transform all these templates elements into one archive so, downloading the pages
-
Time to export/save one D2X NEF to JPG Aperture vs. Bridge/ACR
15" PB, 1.5 Ghz, 1.5 GB RAM, running Firefox, Entourage, while each app is running test. Single D2X NEF in an Aperture project: -No sharpening applied, export to JPG 11 seconds -Any sharpening applied, export to JPG 29 seconds Single D2X in a folder