Hello everyone! I have this situation. Hope someone will help me.
On Web UI we can see that some TransactionBodyCustomField (display name - maksym_b) was applied to some specific Custom Transaction Type - mbasiuk_test.
(picture 1)
I created a specific record for that Custom Transaction Type:
(picture 2)
On the Web UI everything is good. Now, when I try to get metadata via SOAP request I cannot find any information about mapping maksym_b(field with scriptId = custbody112) to maksym_test(custom transaction type).
Here is my request:
<messages:get xsi:type="messages:GetRequest"> <core:baseRef scriptId="custbody112" type="transactionBodyCustomField" xsi:type="core:CustomizationRef"/> </messages:get>
And here is the response:
<record internalId="69" xsi:type="setupCustom:TransactionBodyCustomField" xmlns:setupCustom="urn:customization_2019_2.setup.webservices.netsuite.com"> <setupCustom:label>maksym_b</setupCustom:label> <setupCustom:owner> ... </setupCustom:owner> <setupCustom:description>Test</setupCustom:description> <setupCustom:storeValue>true</setupCustom:storeValue> <setupCustom:showInList>false</setupCustom:showInList> <setupCustom:globalSearch>false</setupCustom:globalSearch> <setupCustom:isParent>false</setupCustom:isParent> <setupCustom:displayType>_normal</setupCustom:displayType> <setupCustom:isMandatory>false</setupCustom:isMandatory> <setupCustom:checkSpelling>false</setupCustom:checkSpelling> <setupCustom:defaultChecked>false</setupCustom:defaultChecked> <setupCustom:isFormula>false</setupCustom:isFormula> <setupCustom:bodyPurchase>false</setupCustom:bodyPurchase> <setupCustom:bodySale>false</setupCustom:bodySale> <setupCustom:bodyOpportunity>false</setupCustom:bodyOpportunity> <setupCustom:bodyJournal>false</setupCustom:bodyJournal> <setupCustom:bodyExpenseReport>false</setupCustom:bodyExpenseReport> <setupCustom:bodyStore>false</setupCustom:bodyStore> <setupCustom:bodyItemReceipt>false</setupCustom:bodyItemReceipt> <setupCustom:bodyItemReceiptOrder>false</setupCustom:bodyItemReceiptOrder> <setupCustom:bodyItemFulfillment>false</setupCustom:bodyItemFulfillment> <setupCustom:bodyItemFulfillmentOrder>false</setupCustom:bodyItemFulfillmentOrder> <setupCustom:bodyPrintFlag>false</setupCustom:bodyPrintFlag> <setupCustom:bodyPickingTicket>false</setupCustom:bodyPickingTicket> <setupCustom:bodyOtherTransaction>false</setupCustom:bodyOtherTransaction> <setupCustom:bodyPrintPackingSlip>false</setupCustom:bodyPrintPackingSlip> <setupCustom:bodyCustomerPayment>false</setupCustom:bodyCustomerPayment> <setupCustom:bodyVendorPayment>false</setupCustom:bodyVendorPayment> <setupCustom:bodyDeposit>false</setupCustom:bodyDeposit> <setupCustom:bodyPrintStatement>false</setupCustom:bodyPrintStatement> <setupCustom:accessLevel>_edit</setupCustom:accessLevel> <setupCustom:searchLevel>_edit</setupCustom:searchLevel> <setupCustom:roleAccessList> ... </setupCustom:roleAccessList> <setupCustom:fieldType>_freeFormText</setupCustom:fieldType> <setupCustom:scriptId>custbody112</setupCustom:scriptId> </record>
In response, I cannot find any information about custom transaction types (in my case mbasiuk_test).
If I download maksym_b (TransactionBodyCustomField) as XML on Web UI, I can find such line:
<bodycustomtransactions>[scriptid=customtransaction100]</bodycustomtransactions>
Where customtransaction100 is a scriptId for my mbasiuk_test type.
Is this a limitation of a SOAP response? Or should I use another way of retrieving Custom Transaction Type metadata? (if yes, could you please tell me how. I tried to get it, but no luck)
p.s. I can get a record that was created (Picture 2) and I can see the value for custom_b field. But I need to know metadata before getting the record.
Thanks in advance!
Maksym.