enable authoritative versions of various acq retrieval functions
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Nov 2010 13:05:07 +0000 (13:05 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Nov 2010 13:05:07 +0000 (13:05 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18576 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/EDI.pm
Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm
Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm
Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm
Open-ILS/src/perlmods/OpenILS/Application/Acq/Provider.pm

index df6abef..3fc0883 100644 (file)
@@ -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.  ' .
index 19d3bc5..acdcd31 100644 (file)
@@ -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 => [
index 63f1252..fe40d0a 100644 (file)
@@ -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 => [
index 3f3940b..2232a75 100644 (file)
@@ -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 => [
index 8a4d2e7..3780d93 100644 (file)
@@ -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 => [
index c83dc3a..10d96cb 100644 (file)
@@ -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 => [