manojsharma
26th June 2008, 12:43
Hi All,
while creating sales order through AFS, I am getting error "customer has overdue invoices". I want to skip this message. Due to this, I am not able to create sales order header
Thanks in advance
manojsharma
26th June 2008, 14:55
Hi All,
Can anybody help me. How to skip warning message while inserting record through AFS in maintain sales order (tdsls4101m000)
Thanks in Advance
mark_h
26th June 2008, 15:11
I believe in this case you would need to modify the source code to skip this error while creating new orders.
manojsharma
26th June 2008, 16:53
Thanks MarK,
But when I create sales order from the front end, it gives warning message "Customer has overdue invoices" and I click on OK and it allow me to create sales order.
My question is that how can I skip this message in AFS without modifying the source code as I dont have source code or is there any workaround for this.
Thanks in advance
mark_h
26th June 2008, 18:04
If it is truly a warning then the session should be able to continue, but if it is an error then the session should stop. Typically on warnings the sessions continue to process, in this case if it is a warning then there might be something else stopping it. Again, typically I just ignore warning messages in my code. My code might look like this- if apierr<>"" and apierr(1;10)<>"Warning...". Without source code I can't really answer this question - mainly because infor could have built a check in that says "if api.mode and warning then " do something to stop creating the header.