Skip to content
+1-888-319-3663

COMMUNITY FORUM

Cash Receipts Apply/Unapply

Daniel asked 4 years ago
In GP, you can enter a cash receipt and either fully apply, partially apply or don’t apply.  But when I add the apply node to the cash receipt node, then the system requires apply information, now I did turn off the required field in the node but the stored procedure for the apply node requires it as a parameter so that is where I get the issue.   But this is not how GP works…
Is the only way to do this is build your own node without the required parameters?  and you have to have node builder?
Answers
Patrick Roth Staff answered 4 years ago
” But when I add the apply node to the cash receipt node, then the system requires apply information”
No it wouldn’t unless you map data into the node.  The same way I typically never map ‘add tax’ information to my SOP integration I don’t have any issues, you wouldn’t have to map this this new node.  But then again, you added it specifically TO map information to.
“now I did turn off the required field in the node but the stored procedure for the apply node requires it as a parameter so that is where I get the issue”
The fields marked as required in SC are coming right from the eConnect SDK.
So you can unmark them as you want in SmartConnect – however the underlying GP stored procedure is still going to work exactly the same either way and force you to enter information if you call it.
“But this is not how GP works…”
Actually it is.  if you are going to call the taRMApply proc then you are going to apply the credit to the debit.  And GP won’t let you apply $0 to an invoice – it doesn’t make any sense.
If you goal is “sometimes I don’t have an apply amount for this cash receipt, I don’t want to apply this”.  Then you need to tell SmartConnect not to try.
You would use a Restriction script to check your ‘apply information’ and if you don’t want to try to have eConnect apply it ($0 or whatever reason you like) then have your Restriction script return false to not use that record/apply.
 

If you would like to submit an answer or comment, please sign in to the eOne portal.