Error #12: File does not exist (or already exists) File: FL_Options

SUGGESTED

Hello everyone!

I'm attempting to update records in `PO_ReceiptHeader` and `PO_ReceitDetail` through SAGE 100 SData (via a custom built web app), however I keep running into this error :

```<?xml version="1.0" encoding="utf-8"?>

<sdata:diagnoses xmlns="">schemas.sage.com/.../1" xmlns:xs="">www.w3.org/.../XMLSchema" xmlns:atom="">http://www.w3.org/2005/Atom" xmlns:sdata="">schemas.sage.com/.../1" xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:opensearch="">a9.com/.../" xmlns:sync="">schemas.sage.com/.../1" xmlns:sme="">schemas.sage.com/.../2007" xmlns:http="">schemas.sage.com/.../1">
  <sdata:diagnosis>
    <sdata:severity>error</sdata:severity>
    <sdata:sdataCode>ApplicationDiagnosis</sdata:sdataCode>
    <sdata:applicationCode />
    <sdata:message>Error #12: File does not exist (or already exists) File: FL_Options</sdata:message>
    <sdata:stackTrace />
    <sdata:payloadPath />
  </sdata:diagnosis>
</sdata:diagnoses>```

Here is the payload that produces the error:
```payload <entry xmlns:atom="
">http://www.w3.org/2005/Atom" xmlns:xs="">www.w3.org/.../XMLSchema" xmlns:cf="">www.microsoft.com/.../2005" xmlns="">http://www.w3.org/2005/Atom" xmlns:sdata="">schemas.sage.com/.../1" xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:opensearch="">a9.com/.../" xmlns:sync="">schemas.sage.com/.../1" xmlns:sme="">schemas.sage.com/.../2007" xmlns:http="">schemas.sage.com/.../1"><sdata:payload><PO_ReceiptHeader sdata:uri="sdata/MasApp/MasContract/PLU/PO_ReceiptHeader('G;058650')" xmlns=""><PrepaidFreightAmt>0.00</PrepaidFreightAmt><UDF_RECEIVER_APPROVED>Y</UDF_RECEIVER_APPROVED><UDF_RECEIVER_DATE>2020-05-19</UDF_RECEIVER_DATE><UDF_RECEIVER_NAME>jsexton</UDF_RECEIVER_NAME><UDF_RECEIVER_TIME>1101</UDF_RECEIVER_TIME></PO_ReceiptHeader></sdata:payload></entry>```

I've looked for posts relating specifically to Error 12 and File: FL_Options but had little luck in finding anything.

I'd love some feed back on what I'm doing wrong or what I need to change. Also if you need to see my function call I'd be happy to share that as well. If there is any information missing I do apologize in advance - I'm new around here Slight smile  I'll be happy to provide anything you all might need to help diagnose the problem.

Thank you for any and all help you may be able to provide.


Top Replies