Hi all;
I have a problem in SAP B1 SDK,
I connected SAP B1 with PHP successfull by using DI API where I interact with Sales order but now I want to add Purchase Quotation in same way, the problem I have is
Fatal error: Uncaught exception 'com_exception' with message 'Unable to lookup `ReqDate': Unknown name. ' in C:\xampp\htdocs\sap.php:59 Stack trace: #0 C:\xampp\htdocs\sap.php(59): unknown() #1 {main} thrown in C:\xampp\htdocs\sap_test.php on line 59
As it seems ReqDate field and all UDF of Purchase Quotation give same error message
The following is my sample codes
$Quota=$mycomp->GetBusinessObject(540000006); $Quota->CardCode="00001"; $Quota->DocDueDate="06/04/2018"; $Quota->DocDate="06/04/2018"; $Quota->TaxDate="06/04/2018"; $Quota->ReqDate="06/04/2018"; //Error message found here (Fatal error: Uncaught exception 'com_exception' with message 'Unable to lookup `ReqDate': Unknown name.......)
And as we know we cannot add Purchase Quotation without Required Date
How can I solve this problem?
Please anyone can help me