From: gmc Date: Tue, 2 Nov 2010 13:05:07 +0000 (+0000) Subject: enable authoritative versions of various acq retrieval functions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=654727b5327bd1da1d4f5e1aba2b82f9acf0a2b0;p=contrib%2FConifer.git enable authoritative versions of various acq retrieval functions Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@18576 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/EDI.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/EDI.pm index df6abefc5e..3fc0883f3c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/EDI.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/EDI.pm @@ -62,6 +62,7 @@ sub add_a_msg { __PACKAGE__->register_method( method => 'retrieve', api_name => 'open-ils.acq.edi.retrieve', + authoritative => 1, signature => { desc => 'Fetch incoming message(s) from EDI accounts. ' . 'Optional arguments to restrict to one vendor and/or a max number of messages. ' . diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm index 19d3bc586d..acdcd31cb8 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm @@ -67,6 +67,7 @@ sub delete_funding_source { __PACKAGE__->register_method( method => 'retrieve_funding_source', api_name => 'open-ils.acq.funding_source.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a new funding_source', params => [ @@ -237,6 +238,7 @@ sub delete_fund { __PACKAGE__->register_method( method => 'retrieve_fund', api_name => 'open-ils.acq.fund.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a new fund', params => [ @@ -345,6 +347,7 @@ sub retrieve_org_funds { __PACKAGE__->register_method( method => 'retrieve_fund_summary', api_name => 'open-ils.acq.fund.summary.retrieve', + authoritative => 1, signature => { desc => 'Returns a summary of credits/debits/encumbrances for a fund', params => [ @@ -520,6 +523,7 @@ sub delete_fund_alloc { __PACKAGE__->register_method( method => 'retrieve_fund_alloc', api_name => 'open-ils.acq.fund_allocation.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a new fund_allocation', params => [ @@ -550,6 +554,7 @@ sub retrieve_fund_alloc { __PACKAGE__->register_method( method => 'retrieve_funding_source_allocations', api_name => 'open-ils.acq.funding_source.allocations.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a new fund_allocation', params => [ diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm index 63f1252cd8..fe40d0a0eb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm @@ -272,6 +272,7 @@ sub find_entry_debits { __PACKAGE__->register_method( method => 'build_invoice_api', api_name => 'open-ils.acq.invoice.retrieve', + authoritative => 1, signature => { desc => q/Creates a new stub invoice/, params => [ diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm index 3f3940b7a3..2232a75b54 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm @@ -726,6 +726,7 @@ sub update_li_edit_time { __PACKAGE__->register_method( method => 'retrieve_lineitem_detail', api_name => 'open-ils.acq.lineitem_detail.retrieve', + authoritative => 1, signature => { desc => q/Updates a lineitem detail/, params => [ @@ -872,6 +873,7 @@ sub set_lineitem_attr { __PACKAGE__->register_method( method => 'get_lineitem_attr_defs', api_name => 'open-ils.acq.lineitem_attr_definition.retrieve.all', + authoritative => 1, signature => { desc => 'Retrieve lineitem attr definitions', params => [ { desc => 'Authentication token', type => 'string' }, ], @@ -965,6 +967,7 @@ sub ranged_line_item_alert_text { __PACKAGE__->register_method( method => "retrieve_lineitem_by_copy_id", api_name => "open-ils.acq.lineitem.retrieve.by_copy_id", + authoritative => 1, signature => { desc => q/Manage lineitem notes/, params => [ diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm index 8a4d2e77c3..3780d933b3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm @@ -88,6 +88,7 @@ sub update_picklist { __PACKAGE__->register_method( method => 'retrieve_picklist', api_name => 'open-ils.acq.picklist.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a picklist', params => [ @@ -149,6 +150,7 @@ sub retrieve_lineitem_count { __PACKAGE__->register_method( method => 'retrieve_picklist_name', api_name => 'open-ils.acq.picklist.name.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a picklist by name. Owner is implied by the caller', params => [ diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm index c83dc3a54a..10d96cbfc5 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm @@ -40,6 +40,7 @@ sub create_provider { __PACKAGE__->register_method( method => 'retrieve_provider', api_name => 'open-ils.acq.provider.retrieve', + authoritative => 1, signature => { desc => 'Retrieves a new provider', params => [