We use a session cookie as anonymous ID for your visit. View our privacy policy to learn more.

Welcome Guest : please login to be able to post Search | Active Topics | Log In | Register

UNPAID Invoices Options · View
Laura Colegrove
Posted: Tuesday, February 21, 2012 6:01:38 PM
Rank: Member

Joined: 2/21/2012
Posts: 4
Hi All

I wonder if anyone could help me please? Using Sage 50 2012 and GCRM contract. I'm trying to find a way of pulling out all UNPAID Sales Invoices. Receipts are made on invoices (rather than account), but can't seem to find what params I need to pass in the URL.

Any help would be really appreciated.

All the best

Laura
Darron Cockram
Posted: Wednesday, February 22, 2012 3:24:04 AM
Rank: Advanced Member

Joined: 10/13/2010
Posts: 117
Can't think of any way you could do this I'm afraid. Whilst the GCRM contract does define a receipts property on the salesInvoice resource kind this property is not currently supported by Sage 50 Accounts (the property is flagged as sme:unsupported="true" if you issue a $schema request).
Laura Colegrove
Posted: Wednesday, February 22, 2012 3:32:46 AM
Rank: Member

Joined: 2/21/2012
Posts: 4
Thanks Darren, I was trying include=receipts etc

Does the core SDO contract support a way of returning unpaid invoices or at least receipts?

Again, many thanks for your reply.
Laura Colegrove
Posted: Wednesday, February 22, 2012 5:00:17 AM
Rank: Member

Joined: 2/21/2012
Posts: 4
Still persevering with the GCRM contract and Sage 50 Accounts.

I have managed to pull a list of Sales Receipts using...
http://127.0.0.1:5493/sdata/accounts50/GCRM/-/TradingAccounts('cust uuid')/Receipts?format=json

Does anyone know how to relate these sales receipts (customer invoice payments) to the invoice they were posted against please?
Darron Cockram
Posted: Wednesday, February 22, 2012 7:50:52 AM
Rank: Advanced Member

Joined: 10/13/2010
Posts: 117
Laura Colegrove wrote:
Does the core SDO contract support a way of returning unpaid invoices or at least receipts?


Afraid not. In fact the SDO contract has never been officially supported and was actually discontinued with the release of Accounts 2012.
Darron Cockram
Posted: Wednesday, February 22, 2012 8:14:19 AM
Rank: Advanced Member

Joined: 10/13/2010
Posts: 117
Laura Colegrove wrote:
Still persevering with the GCRM contract and Sage 50 Accounts.

I have managed to pull a list of Sales Receipts using...
http://127.0.0.1:5493/sdata/accounts50/GCRM/-/TradingAccounts('cust uuid')/Receipts?format=json

Does anyone know how to relate these sales receipts (customer invoice payments) to the invoice they were posted against please?


Sorry, there's nothing on the receipt resource kind that directly relates it back to an invoice either. I can't think of any way to relate the 2 pieces of information together using the current Accounts 50 implementation of the GCRM contract.
Laura Colegrove
Posted: Thursday, February 23, 2012 6:01:52 AM
Rank: Member

Joined: 2/21/2012
Posts: 4
Thanks Darren for your help.

Does any one know when receipts for invoices will be supported through the GCRM contract? Is it on the road-map? Included in Sage 50 2013??
Darron Cockram
Posted: Thursday, February 23, 2012 8:16:01 AM
Rank: Advanced Member

Joined: 10/13/2010
Posts: 117
You could submit it as a wish list item on this page: https://support.sage.co.uk/default.aspx?page=568 but there are no current plans to introduce support for the receipts property on the salesInvoice resource kind in Sage 50 Accounts I'm afraid.
Brian Mcnally
Posted: Tuesday, February 28, 2012 6:14:42 AM
Rank: Member

Joined: 1/1/2012
Posts: 15
Does that mean there's no plans to support posting receipts through the interface also? (Receipts is currently read-only as it's own feed, and using receipts as part of salesinvoice seems to just go in to a blackhole - after much playing with variations on code!)
Darron Cockram
Posted: Wednesday, February 29, 2012 3:28:06 AM
Rank: Advanced Member

Joined: 10/13/2010
Posts: 117
Brian Mcnally wrote:
Does that mean there's no plans to support posting receipts through the interface also? (Receipts is currently read-only as it's own feed, and using receipts as part of salesinvoice seems to just go in to a blackhole - after much playing with variations on code!)

Correct. Unfortunately there are no current plans to enable support for POST/PUT/DELETE operations on the receipts resource kind in the Accounts 50 adapter. Again my suggestion would be to submit it as a request to the wishlist.

Just to clarify, the reason why it goes "in to a black hole" if you include it in the payload when POSTing a salesInvoice is because it is flagged unsupported. Any property flagged as unsupported in the Accounts 50 adapter is simply ignored.

For completeness sake I should point out that there is nothing in GCRM contract that precludes POSTing receipts, it is purely that support for it has not been implemented in the Accounts 50 adapter. However other Sage applications that implement the GCRM contract may choose to provide support. To determine if the particular application you are integrating with provides support for a particular resource kind or property you can request the instance schema (e.g. http://localhost:5493/sdata/Accounts50/GCRM/-/$schema). Anything that is not supported will have the sme:unsupported attribute set to true.

Hope that helps.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS