Check on Date
Dear
we are creating credit memo request ( order type ZCR) with reference to the Invoice , we need a check that system will allow to create credit memo request (ZCR) only for those invoices that generate in past . System stops for creating credit memo request of invoices that will generate in coming month June and so on. In my understanding we have a check on invocie creation date while creating credit memo request because credit request is generate with reference to the invoice.. how to do this please guide...
Dear Yasir
AS far as my understanding you want to create a check while creating credit memo that when you create credit memo with VA01 by copying reference data from invoice the system should check the invoice's creation date. If this is so then you can control this in copy control routine. Ask your ABAPER to put this check in business data copying routine from billing to credit memo.
Similar Messages
-
My 2nd generation ipod touch is giving me the following error when I try accessing Itunes or the app store. "Cannot connect to the Store. A secure connection could not be established. Please check your date & time settings" I am on a secure networkl.
Can't connect to the iTunes Store
Make sure that time zone is correct in addition to date and time -
How to check the date and time when a material is blocked
Hello,
Please tell me how can i check the date and time when a material is blocked or unblocked.
Regards,
PriyankaHi Pryianka,
Are you speaking about blocked status of material master ('X-plant matl status' > MM03 > Basioc view 1; 'Plant-sp. matl status' > MM03 > MRP 1) or your problem is to find out the date when your material was booked into blocked state (stock category).
If your problem is about mmr you can use the above mentioned MM04 (or MM03 > menu > Environment > Display changes).
If your problem is to find out when your goods were posted to blocked stock you have to use MB51 + relevant movement types (e.g. 103, 344) + batch + etc. ()
BR
Csaba -
Hi,
I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
"An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
Thanks in advance.
Poomani SankaranHi Poomani,
Thanks for posting your issue,
you must have to Install SQL Server 2012 ADOMD.Net on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
How can I verify that my App data is actually stored in the iCloud. I can see and access my notebook, contacts etc. on the iCloud website, and I can see my photos in a folder on my Windows-based desktop compter (iCloud/Photostream). But no app data.
With Dropbox, I can actually see all of my stored files. With iCloud, it seems, I'm supposed to just trust that Apple has my back. Short of deliberately trashing my app data and then attempting a restore, is there no way to check the data?You can't access them on Windows (unless you have iCloud enabled Windows programs) and I don't think any are, yet.
iCloud data is accessed via Apps/Programs, the Windows programs vendors will have to step up (just to make it worse Microsoft have not yet enabled their Mac programs, such as Office yet) I doubt that iCloud access is much of a priority for them, complain to MS, when enough Windows users complain maybe they'll do something. -
My iMessage for my Macbook Air is not working. I have updated everything. My system is running on OS X Yosemite Version 10.10. When I go to send a message, it says no delivered with a next to it. I have tried serval different options on trying to get it to work to include logging out of iCloud and checking my date and time and updating FlashPlayer. I have done about everything I can think of. Any help would be greatly appreciate!
Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
I suggest that no response is made to this duplicate thread. -
Connection failure - Itunes tells me to check my date/time. Help?
Evening, everyone.
I'm having some trouble connecting to Itunes. I get the following error message when i try -
"Itunes could not connect to the music store. A secure network connection could not be established.
Check that your computer's date and time are correct and try again."
I duly checked the date/time and found that they were wrong, so updated them and tried again and still received the same message.
I also tried turning off my Norton and trying to connect with it disabled, with no luck. The other things currently running are DVD43, Sonic Cineplayer and MSN messenger. I can't see why any of them would be interfering, but i'm happy to be corrected.
I've had no luck finding answers on the Itunes support page. I'm not sure what other information i can give to help elucidate, so feel free to ask.
Any ideas?
Hallmark Xblade Windows XPHas anyone figured this out yet - this is the same message I get. I have the newest version of iTunes and just started using it with music I already had. First time trying to buy music, and that's what I got!!
Please someone!!!!!!!!
Dell XPS 400 Windows XP -
Code of ME_process_cust_Po BADI for checking item data?
Hi all,
While users are creating new PO in ME21N, I have to check the condition records for the Materials they entered.
If the condition record is not maintained for the respective material The creation of PO while saving it , should not be allowed and a message should be displayed.
Please mention the respective method and code to do this?
Thanks
Vamshi.Hi ,
this is the sample code for Item check, by using mm_messages_mac(include u can raise error msg based on the INFNR(info record) field.
DATA: ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
INCLUDE mm_messages_mac. "useful macros for message handling
here we check customers data*
ls_mepoitem = im_item->get_data( ).
IF ls_mepoitem-loekz EQ 'D'.
a physical deletion of the item was carried out. therrefor we have to*
delete customer data on the level of the item*
ls_customer-ebeln = ls_mepoitem-ebeln.
ls_customer-ebelp = ls_mepoitem-ebelp.
CALL FUNCTION 'MEPOBADIEX_SET_DATA'
EXPORTING
im_data = ls_customer
im_physical_delete_request = 'X'.
ELSE.
update/insert operation*
CALL FUNCTION 'MEPOBADIEX_GET_DATA'
EXPORTING
im_ebeln = ls_mepoitem-ebeln
im_ebelp = ls_mepoitem-ebelp
IMPORTING
ex_data = ls_customer.
check customers data*
check field badi_bsgru. This should be carried out only for new items. Once the PO is posted the*
field should no longer be changeable. This is done in Method FIELDSELECTION_ITEM.*
IF im_item->is_persistent( ) EQ mmpur_no.
IF ls_customer-badi_bsgru IS INITIAL.
Place the cursor onto field badi_bsgru. The metafield was defined in BAdI ME_GUI_PO_CUST,*
Method MAP_DYNPRO_FIELDS.*
mmpur_metafield mmmfd_cust_01.
mmpur_message_forced 'W' 'ME' '083' text-002 '' '' ''.
ELSE.
check whether the field is valid*
*SELECT SINGLE * FROM tbsg INTO ls_tbsg WHERE bsgru EQ ls_customer-badi_bsgru.*
IF NOT sy-subrc IS INITIAL.
mmpur_metafield mmmfd_cust_01.
mmpur_message_forced 'E' 'ME' '083' text-004 '' '' ''.
invalidate the object*
CALL METHOD im_item->invalidate( ).
ENDIF.
ENDIF.
ENDIF.
check field badi_afnam*
IF ls_customer-badi_afnam IS INITIAL.
mmpur_metafield mmmfd_cust_02.
mmpur_message_forced 'W' 'ME' '083' text-003 '' '' ''.
ENDIF.
ENDIF.
regards
Prabhu -
How can I check the date of purchase for my MacBook Pro?
I need to fill out a claim in order to get OS X Mountain Lion and I need the date of purchase. I have tried putting in the serial code under check your service and support coverage but it just gave me a vague statement thatit was purchased mid 2012. Could someone please tell me how I can check the date of purchase?
Well, correction, just checked mine...
Tells you exipry date of warranty, simply take 1 year off of this or 3 if you have AppleCare.
There is your purchase date. -
Hi,
Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
I have done some Google and found that we need to add something in Essbase.cfg file like below.
1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
Possible Problems
Analytic Services could not lock enough blocks to perform the calculation.
Possible Solutions
Increase the number of blocks that Analytic Services can allocate for a calculation:
Set the maximum number of blocks that Analytic Services can allocate to at least 500.
If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
Stop and restart Analytic Server.
Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting.
Determine the block size.
Set the data catche size.
Actually in our Server Config file(essbase.cfg) we dont have below data added.
CalcLockBlockHigh 2000
CalcLockBlockDefault 200
CalcLockBlocklow 50
So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work? and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
Regards,
NaveenYour calculation needs to hold more blocks in memory than your current set up allows.
From the docs (quoting so I don't have to write it, not to be a smarta***:
CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
Example
If the essbase.cfg file contains the following settings:
CALCLOCKBLOCKHIGH 500 CALCLOCKBLOCKDEFAULT 200 CALCLOCKBLOCKLOW 50
then you can use the following SET LOCKBLOCK setting commands in a calculation script:
SET LOCKBLOCK HIGH;
means that Essbase can fix up to 500 data blocks when calculating one block.
Support doc is saying to change your config file so those settings can be made available for any calc script to use.
On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact. -
I have an IPhone4 and is updated with version 6.1.3 and I am not able to connect with face time calls. I have checked the date ant time. I used to be able to use face time with no problem. Since the late os upgrace I have not been able to connect with face time.
Read http://support.apple.com/kb/ts3367
-
ALV CHECK CHANGED DATA WITH REUSE_ALV_GRID_DISPLAY
HELLO EVERY-ONE.
I have a question that how to check changed data in ALV. I know we can use CHECK_CHANGE_DATA Method in OO, and how to check it in REUSE_ALV_GRID_DISPLAY <b>without double click</b> ?Try this code , it will give the solution that has been solved with funtion module
REPORT zalvprg1.
TYPE-POOLS: slis.
TABLES: ekko.
DATA : it_list_top_of_page TYPE slis_t_listheader,
it_list_end_of_page TYPE slis_t_listheader,
it_events TYPE slis_t_event,
wa_line TYPE slis_listheader,
wa_event TYPE slis_alv_event.
DATA : it_fieldcat TYPE slis_t_fieldcat_alv ,
wa_fieldcat TYPE slis_fieldcat_alv.
TYPES :BEGIN OF ty_ekko,
ebeln TYPE ebeln,
bukrs TYPE bukrs,
ernam TYPE ernam,
bsart TYPE esart,
waers TYPE waers,
END OF ty_ekko.
TYPES :BEGIN OF ty_ekpo,
ebeln TYPE ebeln,
ebelp TYPE ebelp,
matnr TYPE matnr,
werks TYPE werks,
menge TYPE bstmg,
END OF ty_ekpo.
TYPES :BEGIN OF ty_marc,
matnr TYPE matnr,
werks TYPE werks_d,
tranz TYPE tranz,
herbl TYPE herbl,
END OF ty_marc.
TYPES : BEGIN OF ty_show,
old TYPE i,
new(10) TYPE c,
END OF ty_show.
TYPES : BEGIN OF ty_final,
ebeln TYPE ebeln,
bukrs TYPE bukrs,
ernam TYPE ernam,
bsart TYPE esart,
waers TYPE waers,
matnr TYPE matnr,
werks TYPE werks,
menge TYPE bstmg,
END OF ty_final.
DATA: it_ekko TYPE TABLE OF ty_ekko,
it_ekpo TYPE TABLE OF ty_ekpo,
it_marc TYPE TABLE OF ty_marc,
it_final TYPE TABLE OF ty_final,
it_show TYPE TABLE OF ty_show WITH HEADER LINE,
wa_marc TYPE ty_marc,
wa_ekko TYPE ty_ekko,
wa_ekpo TYPE ty_ekpo,
wa_show TYPE ty_show,
wa_final TYPE ty_final.
SELECT-OPTIONS: so_ebeln FOR ekko-ebeln.
START-OF-SELECTION.
PERFORM data_fetch.
PERFORM alv_display.
END-OF-SELECTION.
*& Form data_fetch
text
--> p1 text
<-- p2 text
FORM data_fetch .
SELECT ebeln
bukrs
ernam
bsart
waers
FROM ekko
INTO TABLE it_ekko
WHERE ebeln IN so_ebeln.
SELECT ebeln
ebelp
matnr
werks
menge
FROM ekpo
INTO TABLE it_ekpo
FOR ALL ENTRIES IN it_ekko
WHERE ebeln = it_ekko-ebeln.
LOOP AT it_ekko INTO wa_ekko.
wa_final-ebeln = wa_ekko-ebeln.
wa_final-bukrs = wa_ekko-bukrs.
wa_final-ernam = wa_ekko-ernam.
wa_final-bsart = wa_ekko-bsart.
wa_final-waers = wa_ekko-waers.
READ TABLE it_ekpo INTO wa_ekpo WITH KEY ebeln = wa_ekko-ebeln.
IF sy-subrc EQ 0.
wa_final-matnr = wa_ekpo-matnr.
wa_final-werks = wa_ekpo-werks.
wa_final-menge = wa_ekpo-menge.
ENDIF.
APPEND wa_final TO it_final.
ENDLOOP.
ENDFORM. " data_fetch
*& Form alv_display
text
--> p1 text
<-- p2 text
FORM alv_display .
REFRESH it_fieldcat.
PERFORM field_cat USING 'EBELN' 'PURCHASE ORDER NO'.
PERFORM field_cat USING 'BUKRS' 'COMPANY CODE'.
PERFORM field_cat USING 'ERNAM' 'USERNAME CREATED'.
PERFORM field_cat USING 'BSART' 'DOCUMENT TYPE'.
PERFORM field_cat USING 'WAERS' 'CURRENCY'.
PERFORM field_cat USING 'MATNR' 'MATERIAL NO'.
PERFORM field_cat USING 'WERKS' 'PLANT '.
PERFORM field_cat USING 'MENGE' 'QUANTITY'.
CLEAR it_list_top_of_page.
PERFORM f009_list_header .
CLEAR it_list_end_of_page.
PERFORM f009_list_footer.
PERFORM f012_grid_function_module TABLES it_final USING it_fieldcat.
ENDFORM. " alv_display
**& Form f009_list_header
text
FORM f009_list_header.
**..... Header detail for ALV
wa_event-name = text-001. "TOP_OF_PAGE
wa_event-form = text-002. "F010_TOP_OF_PAGE
APPEND wa_event TO it_events.
CLEAR wa_event.
CLEAR wa_line.
wa_line-typ = text-003. "S
wa_line-key = text-004. "9 - BLOCKER REPORT
wa_line-info = text-005.
APPEND wa_line TO it_list_top_of_page.
CLEAR wa_line.
ENDFORM. "f009_list_header
*& Form f010_top_of_page
text
FORM f010_top_of_page.
**......The form 'F010_TOP_OF_PAGE' cannot be called directly
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_list_top_of_page.
ENDFORM. "f010_top_of_page
*& Form field_cat
text
-->W_FIELD text
-->W_COL text
FORM field_cat USING w_field
w_col.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = w_field.
wa_fieldcat-seltext_l = w_col.
wa_fieldcat-outputlen = 15.
APPEND wa_fieldcat TO it_fieldcat.
ENDFORM. " field_cat
*& Form f012_grid_function_module
text
FORM f012_grid_function_module TABLES w_tab USING w_fcat TYPE any.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = w_fcat
i_callback_pf_status_set = 'F010_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
it_events = it_events[]
TABLES
t_outtab = w_tab
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc IS NOT INITIAL.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. "f011_grid_function_module
*& Form f009_list_footer
text
FORM f009_list_footer.
**..... Footer detail for ALV
CLEAR wa_event.
CLEAR wa_line.
wa_event-name = text-007. "BOTTOM_OF_PAGE
wa_event-form = text-008. "F010_BOTTOM_OF_PAGE
APPEND wa_event TO it_events.
wa_line-typ = text-009. "S
wa_line-key = text-010. "9 - BLOCKER REPORT
wa_line-info = text-011.
APPEND wa_line TO it_list_end_of_page.
CLEAR wa_line.
ENDFORM. "f009_list_footer
*& Form f010_top_of_page
text
FORM f010_bottom_of_page.
**......The form 'F010_TOP_OF_PAGE' cannot be called directly
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_list_end_of_page.
ENDFORM. "f010_end_of_page
FORM user_command *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
IF rs_selfield-fieldname = 'MATNR'.
SET PARAMETER ID 'MAT' FIELD rs_selfield-value.
SET PARAMETER ID 'WRK' FIELD '1000'. "<- Your plant here
CALL TRANSACTION 'MD04' AND SKIP FIRST SCREEN.
call transaction 'MM02' and skip first screen.
ENDIF.
IF rs_selfield-fieldname = 'WERKS'.
PERFORM disp_marc USING rs_selfield.
ENDIF.
WHEN '&CHANGE'.
IF rs_selfield-fieldname = 'MENGE'.
PERFORM disp_alter USING rs_selfield.
ENDIF.
ENDCASE.
ENDFORM. "callback_ucomm
*& Form f010_pf_status
text
-->RT_EXTAB text
FORM f010_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZS_ALV'.
ENDFORM. "F010_PF_STATUS
*ENDFORM. "dialog
*& Form f002_FIELDCAT
text
-->P_0512 text
-->P_0513 text
-->P_0514 text
FORM f002_fieldcat USING w_field
w_col
w_change .
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = w_field.
wa_fieldcat-seltext_l = w_col.
wa_fieldcat-outputlen = 15.
wa_fieldcat-edit = w_change.
wa_fieldcat-input = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
ENDFORM. " f002_FIELDCAT
*& Form disp_marc
text
-->P_W_SELFIELD text
FORM disp_marc USING rs_selfield TYPE slis_selfield.
SELECT matnr
werks
tranz
FROM marc INTO TABLE it_marc
WHERE werks = rs_selfield-value.
REFRESH it_fieldcat.
PERFORM field_cat USING 'MATNR' 'MATERIAL NUMBER'.
PERFORM field_cat USING 'WERKS' 'PLANT '.
PERFORM field_cat USING 'TRANZ' 'INTER-OPERATION TIME'.
PERFORM field_cat USING 'HERBL' 'STATE OF MANUFACTURE'.
PERFORM f012_grid_function_module TABLES it_marc USING it_fieldcat .
IF sy-subrc NE 0.
MESSAGE 'MATERIAL DETAILS' TYPE 'S'.
ENDIF.
ENDFORM. " disp_marc
*& Form disp_alter
text
-->P_RS_SELFIELD text
FORM disp_alter USING rs_selfield TYPE slis_selfield.
DATA:l_var(10) TYPE c.
REFRESH : it_fieldcat,
it_show.
it_show-old = rs_selfield-value.
CLEAR it_show-new.
APPEND it_show TO it_show.
PERFORM field_cat USING 'OLD' 'OLD QTY (MENGE)'.
PERFORM f002_fieldcat USING 'NEW' 'NEW QTY (MENGE)' 'X'.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'CHANGES IN MATERIAL'
i_tabname = 'IT_SHOW'
it_fieldcat = it_fieldcat
i_callback_program = sy-repid
TABLES
t_outtab = it_show
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
l_var = it_show-new.
READ TABLE it_final INDEX rs_selfield-tabindex INTO wa_final.
wa_final-menge = l_var.
MODIFY it_final INDEX rs_selfield-tabindex FROM wa_final TRANSPORTING menge .
PERFORM alv_display.
ENDFORM. " disp_alter
Reward points for the same
Regards,
Shanmuga perumal.L -
Check Box data NOT been collected consistently by Acrobat XI Pro
Hi folks
I'm having a real problem with Check Box data not being processed consistently by Acrobat XI Pro.
I've got 140 response forms back - and have processed them in one batch or smaller batches of 50 forms. I can see the various check boxes ticked in the pdf view but on some forms that data does not get exported to the csv or xls. For other forms it works fine.
I've tried various exports, even opening one returned pdf form and exporting that alone. All with the same result.
I'm at a loss to the problem.
The original form is at:
http://www.orchardrevival.org.uk/wp-content/uploads/2014/02/Orchard-Inventory-Survey-form- v2-superceded.pdf
Any pointers would be very welcome.
thanks
CrispinThanks for that George.
Corruption: If the file is corrupted, do you know why Acrobat doesn’t report this? There was no indication of an error in this respect.
Method: I have followed your suggestion. Opened ‘BORD0008checkboxissue.pdf’ in Acrobat ProXI. Export as .fdf. Close all files.
Open a blank form in Acrobat Pro XI. Import the fdf file.
Result; The newly filled form is still missing checkbox data. Result file at http://www.orchardrevival.org.uk/?p=798
[ I also exported as xfdf and xml and csv, and looked at these files in a text editor. Neither had the correct checkbox data exported. Therefore I think it is clear that Acrobat Pro XI is not exporting checkbox data for this file to any format]
Does that shed any more light on what might be the problem ?
thanks
Crispin
Background to document: An outline form was created on Word Mac 2008, and then a pdf generated with the Save As pdf in the Word dialogue (which I think may have been an Mac OS based generator).
Then the fillable form was created complete with all 143 fields in Acrobat Pro 8. Then distributed by email. So despite the fillable form being created in Acrobat Pro, the PDF Producer is reported as Mac OSX 10.n.n Quartz PDFContext for all forms. However some of them work, some don’t. Obviously I do not have control over how the forms are filled out there in the wild – even though I’ve asked folk to use Adobe Reader.
I’ve tried processing results with both Acrobat Pro 8 and XI with similar inconsistent results. (a further interesting issue is that the filename stated in the record is incorrect for that record) -
Check duplicate data entry in multi record block,which is a mandatory field
Dear all,
I have a situation where i have to check duplicate data entry(on a particular field,which is a mandatory field,i.e. it cannot be skipped by user without entering value) while data key-in in a Multi Record block.
As for reference I have used a logic,such as
1>In a When-Validate-Record trigger of that block I am assigning the value of that current item in Table type variable(collection type)
as this trigger fire every time as soon as i leave that record,so its assigning the value of that current time.And this process continues
then
2>In a When-Validate-Item trigger of that corresponding item(i.e. the trigger is at item level) has been written,where it compares the value of that current item and the value stored in Table type variable(collection type) of When-Validate-Record trigger.If the current item value is matched with any value stored in Table type variable I am showing a message of ('Duplicate Record') following by raise_form_trigger failure
This code is working fine for checking duplicate value of that multi record field
The problem is that,if user enter the value in that field,and then goes to next field,enter value to that field and then press 'Enter Query 'icon,the bolth Validate trigger fires.As result first when-validate record fires,which stores that value,and then when-validate-item fires,as a result it shows duplicate record message
Please give me a meaningful logic or code for solving this problem
Any other logic to solve this problem is also welcome@Ammad Ahmed
first of all thanks .your logic worked,but still i have some little bit of problem,
now the requirement is a master detail form where both master and detail is multirecord ,where detail cannot have duplicate record,
such as..........
MASTER:--
A code
A1
A2
DETAIL:--
D code
d1
d2 <-valid as for master A1 , detail d1 ,d2 are not duplicate
d2 <--invalid as as for master A1 , detail d2 ,d2 are duplicate
validation rule: A Code –D Code combination is unique. The system will stop users from entering duplicate D Code for a A Code. Appropriate error message will be displayed.*
actually i am facing a typical problem,the same logic i have been applied in detail section ,its working fine when i am inserting new records.problem starts when i query,after query in ' a ' field say 2 records (i.e. which has been earlier saved) has been pasted,now if i insert a new record with the value exactly same with the already present value in the screen(i.e. value populated after query) its not showing duplicate.................could u tell me the reason?and help me out...............its urgent plzzzzzzzzz
Edited by: sushovan on Nov 22, 2010 4:34 AM
Edited by: sushovan on Nov 22, 2010 4:36 AM
Edited by: sushovan on Nov 22, 2010 8:58 AM -
Future Check -In date and not displaying images via IPM search profile
Hi All,
We have configured Oracle IPM and UCM to work together and UCM as the repository and we are using ODC to index data to IPM.
We are not able to see some of the documents from the IPM search field. (only some of the documents)
When we log in to the UCM repository manager we can see future check in date and 'Done' or 'GenWWW' as the Revision status field and 'New' as the Indexer status field.
Is there any way to force to push to 'Release' state or can we change the Check-in date and time?
since we are now in the stage of parallel run, it is urgent to sort this issue immediately........
Because users are not able to see there documents and continue there works......
Thanks for any immediate response..............
Thank You
Edited by: Nir on Mar 20, 2012 4:15 AM
IS THERE ANYONE TO HELP US?????
Edited by: Nir on Mar 21, 2012 1:22 AMHi Aditya,
Those are not releasing as you said. the indexer would not release the content until the said time is reached
Sometimes those are releasing without meeting it's release date.
This ODC date field going to map to a date field in IPM is it? Is it just a date field which is get populated with current date?
Once i checkin a document, it has released as normal.
Thank you,
Edited by: Nir on Apr 15, 2012 8:59 PM
Hi All,
As i mentioned earlier post some documents has current date as the indexed date and future date as the Release date.
Thanks
Edited by: Nir on Apr 15, 2012 9:16 PM -
Check Duplicate data during data key-in Multi Record Block
Dear all,
I have a situation where i have to check duplicate data entry(on a particular field,which is a mandatory field,i.e. it cannot be skipped by user without entering value) while data key-in in a Multi Record block.
As for reference I have used a logic,such as
1>In a When-Validate-Record trigger of that block I am assigning the value of that current item in Table type variable(collection type)
as this trigger fire every time as soon as i leave that record,so its assigning the value of that current time.And this process continues
then
2>In a When-Validate-Item trigger of that corresponding item(i.e. the trigger is at item level) has been written,where it compares the value of that current item and the value stored in Table type variable(collection type) of When-Validate-Record trigger.If the current item value is matched with any value stored in Table type variable I am showing a message of ('Duplicate Record') following by raise_form_trigger failure
This code is working fine for checking duplicate value of that multi record field
The problem here is that suppose if usee gets a message of ('Duplicate Record') and after that without saving the values if user try to query of that block then also when validate item fired where as I am expecting ORACLE default alert message('Do You want to save?'),I want to restrict this When-Validate Item fire during query time..........................while user try to query.
Please give me a meaningful logic or code for solving this problem
Any other logic to solve this problem is also welcomeWhen-Validate-Record trigger
When-Validate-Item triggerThat smells like Oracle Forms...
And the Oracle Forms forum is over here: Forms
Maybe you are looking for
-
My ipad camera is not working why? Help
My ipad camera is not working, why? Please help!!
-
Does apple account sync automatically with the person name and number saved in contact list.
I have a contact saved in my phone only contact number is saved.. Does iPhone automatically synchronizes the email id related to that contact if that contact person is having an apple id??
-
Create table rollback in interbase
Hi, I'm using JDBC interbase driver and I'm unable to rollback a createTable statement. I've tried setting the autocommit property to false but it doesn�t seems to work: con.setAutoCommit(false); stmt.executeUpdate("create table name (name varchar(15
-
Face time not working. I am using iPad with iOS 7.
Hi, I am a regular FT user. I now can't make contact with my daughters, three of them in different locations. The problem began yesterday. They use iOS 7 too.
-
I lost all hopes that somebody will help me with problems with disappearing devices on my network so here is a new question. Does anybody know of network external HD that when plugged into network will be recognized, will not disappear from Finder af